linux-loongson/drivers/gpu/drm/amd/display/dc/mpc/dcn401
Alex Hung 592ddac93f drm/amd/display: Initialize mode_select to 0
[WHAT]
mode_select was supposed to be initialized in mpc_read_gamut_remap but
is not set in default case. This can cause indeterminate
behaviors.

This is reported as an UNINIT error by Coverity.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-06-24 09:55:43 -04:00
..
dcn401_mpc.c drm/amd/display: Initialize mode_select to 0 2025-06-24 09:55:43 -04:00
dcn401_mpc.h drm/amd/display: Add HW change required mpc gamut remap 2025-06-18 12:19:16 -04:00