1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dsc
Hamza Mahfooz 48dd83c0fb drm/amd/display: drop redundant memset() in get_available_dsc_slices()
get_available_dsc_slices() returns the number of indices set, and all of
the users of get_available_dsc_slices() don't cross the returned bound
when iterating over available_slices[]. So, the memset() in
get_available_dsc_slices() is redundant and can be dropped.

Fixes: 97bda0322b ("drm/amd/display: Add DSC support for Navi (v2)")
Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-06-09 10:38:37 -04:00
..
dc_dsc.c drm/amd/display: drop redundant memset() in get_available_dsc_slices() 2023-06-09 10:38:37 -04:00
dscc_types.h drm/amd/display: add rc_params_override option in dc_dsc_config 2023-01-31 14:00:51 -05:00
Makefile drm/amd/display: move FPU associated DSC code to DML folder 2021-10-28 14:26:14 -04:00
rc_calc.c drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
rc_calc.h drm/amd/display: fixed an error related to 4:2:0/4:2:2 DSC 2021-11-24 14:06:52 -05:00
rc_calc_dpi.c drm/amd/display: add rc_params_override option in dc_dsc_config 2023-01-31 14:00:51 -05:00