drm/amd/display: Fix uninitialized variables in dcn401 and dml21
authorAlex Hung <alex.hung@amd.com>
Thu, 25 Apr 2024 20:39:11 +0000 (14:39 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 May 2024 13:06:47 +0000 (09:06 -0400)
commit9243e0e206bbf8799add08cc66f807cbe085c9d2
treefb622f29ec596f366dee8b38ee7abb4dd40ba7c4
parentb3f4ee8e4a168b78a3ca8341e18a50c620ed7344
drm/amd/display: Fix uninitialized variables in dcn401 and dml21

This fixes 12 UNINIT issues reported by Coverity.

Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn401/dcn401_mpc.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c