drm/amd/display: Force full update in gpu reset
authorRoman Li <Roman.Li@amd.com>
Wed, 26 Mar 2025 14:33:51 +0000 (10:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 15:27:56 +0000 (11:27 -0400)
commit2ba8619b9a378ad218ad6c2e2ccaee8f531e08de
tree55508ee5179f82b61f1ae2f2a996b3ea67a28ece
parentd91bc901398741d317d9b55c59ca949d4bc7394b
drm/amd/display: Force full update in gpu reset

[Why]
While system undergoing gpu reset always do full update
to sync the dc state before and after reset.

[How]
Return true in should_reset_plane() if gpu reset detected

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c