]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: always reset the asic in suspend (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Nov 2021 16:25:30 +0000 (11:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Dec 2021 17:16:34 +0000 (12:16 -0500)
commit76ac5f78bc49d348cd2cdc60d0c29333814e852d
tree26d6a9cec0b96af8b1d466649aa7fa17a5af248d
parent0bd592e1ef2ddc2a10c752d68af258e0cc0ed87e
drm/amdgpu: always reset the asic in suspend (v2)

If the platform suspend happens to fail and the power rail
is not turned off, the GPU will be in an unknown state on
resume, so reset the asic so that it will be in a known
good state on resume even if the platform suspend failed.

v2: handle s0ix

Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c