]> 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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 03:12:44 +0000 (23:12 -0400)
commit8b2be55f4d6c1099d7f629b0ed7535a5be788c83
treee9363eec9673fc91271077ff01ca48640decc266
parent0f1bbcc2bab25d5fb2dfb1ee3e08131437690d3d
drm/amdgpu: Reset dGPU if suspend got aborted

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
drivers/gpu/drm/amd/amdgpu/soc21.c