]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:46:56 +0000 (07:46 +0200)
commit128d261c7203edc1b5c6ff63fe8cefdf83ee3ef5
tree1cff19e3fbf96dc91da97a76e0167548702ea9cb
parenta4be735fe0f8537731ef0840ebfad0b70d44064b
drm/amd/display: Force full update in gpu reset

commit 67fe574651c73fe5cc176e35f28f2ec1ba498d14 upstream.

[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>
(cherry picked from commit 2ba8619b9a378ad218ad6c2e2ccaee8f531e08de)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c