drm/amdgpu: force exit gfxoff on sdma resume for rmb s0ix
authorPrike Liang <Prike.Liang@amd.com>
Wed, 25 Aug 2021 05:36:38 +0000 (13:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Oct 2021 19:22:57 +0000 (15:22 -0400)
commite5d59cfa330523e47cba62a496864acc3948fc27
tree4dc895fa7e77f9f1cb4ed2a68310eee637dd91f2
parent3f68c01be9a2227de1e190317fe34a6fb835a094
drm/amdgpu: force exit gfxoff on sdma resume for rmb s0ix

In the s2idle stress test sdma resume fail occasionally,in the
failed case GPU is in the gfxoff state.This issue may introduce
by firmware miss handle doorbell S/R and now temporary fix the issue
by forcing exit gfxoff for sdma resume.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c