]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: rework resume handling for display (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Nov 2024 18:59:09 +0000 (13:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:47 +0000 (19:51 +0100)
commitd897650c5897b3d858ca97ab77d10041e8e34231
tree6ac8a9e5e271f1777fe8744acfa094d411097fbd
parente1896f381d27466c26cb44b4450eae05cd59dfd0
drm/amdgpu: rework resume handling for display (v2)

commit 73dae652dcac776296890da215ee7dec357a1032 upstream.

Split resume into a 3rd step to handle displays when DCC is
enabled on DCN 4.0.1.  Move display after the buffer funcs
have been re-enabled so that the GPU will do the move and
properly set the DCC metadata for DCN.

v2: fix fence irq resume ordering

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.11.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c