drm/amd/display: Fix Coverity change for visual confirm
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Thu, 19 Sep 2024 19:19:29 +0000 (15:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:23:23 +0000 (11:23 -0400)
commit74a55071dd9c1f75abc942bda964cab3684c780c
treeb34a4b8f944a9629cd9b0f82c2456a55effcbcc6
parentdf60dcf5b58a642e531609d0d673bb63a11ed06e
drm/amd/display: Fix Coverity change for visual confirm

[Why && How]
Previous change for Coverity has caused regression on visual confirm
so fix it by reverting the part that affects visual confirm.

Reviewed-by: Chris Park <chris.park@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c