]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: reset gpu for s3 suspend abort case
authorPrike Liang <Prike.Liang@amd.com>
Wed, 17 Jan 2024 05:39:37 +0000 (13:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:34:56 +0000 (13:34 +0100)
commit61c0a633bdc644b064f0c9fe6412df247b2fbcca
tree45f043481fe0cb864ff06c9b5b5f13049dfb2da5
parent7a3a0b0c7f4720cbac79d991ebb3ab1cd2cd065a
drm/amdgpu: reset gpu for s3 suspend abort case

[ Upstream commit 6ef82ac664bb9568ca3956e0d9c9c478e25077ff ]

In the s3 suspend abort case some type of gfx9 power
rail not turn off from FCH side and this will put the
GPU in an unknown power status, so let's reset the gpu
to a known good power state before reinitialize gpu
device.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/soc15.c