linux-loongson/drivers/gpu/drm/amd/display/dc/mpc
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
..
dcn10 drm/amd/display: Remove unused mpc1_is_mpcc_idle 2025-02-12 21:03:02 -05:00
dcn20
dcn30 drm/amd/display: Disable MPC rate control on ODM pipe update 2024-12-18 12:21:50 -05:00
dcn32 drm/amd/display: prepare for new platform 2025-06-18 12:19:20 -04:00
dcn401 drm/amd/display: Initialize mode_select to 0 2025-06-24 09:55:43 -04:00
Makefile drm/amd/display: DML2.1 changes 2025-06-18 12:19:17 -04:00