]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: Reset dGPU if suspend got aborted
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 14 Feb 2024 12:25:54 +0000 (17:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:23:41 +0000 (11:23 +0200)
commit368d52bcb2f0939318d1492e3283ddfb02ac7719
treef3d4f1ef25abc7ceb27212616ccf4c7ec28d530e
parent7da638ccb7b6a19d7798bef3cacee74e12c2bc80
drm/amdgpu: Reset dGPU if suspend got aborted

commit 8b2be55f4d6c1099d7f629b0ed7535a5be788c83 upstream.

For SOC21 ASICs, there is an issue in re-enabling PM features if a
suspend got aborted. In such cases, reset the device during resume
phase. This is a workaround till a proper solution is finalized.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/soc21.c