RE: [PATCH 2/2] drm/amdgpu: reset gpu for s3 suspend abort case

2024-02-02 Thread Deucher, Alexander
[Public] > -Original Message- > From: Liang, Prike > Sent: Thursday, February 1, 2024 3:58 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Sharma, Deepak > ; Liang, Prike > Subject: [PATCH 2/2] drm/amdgpu: reset gpu for s3 suspend abort case > &

[PATCH 2/2] drm/amdgpu: reset gpu for s3 suspend abort case

2024-02-01 Thread Prike Liang
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 --- drivers/gpu/drm/amd/amdgpu/soc15.c | 22 +++