]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Tue, 28 Sep 2021 18:40:27 +0000 (14:40 -0400)
commite23acb922fb68be8cf3855973f01c6a415a5bfd7
tree40440a1c75f134fce47ca057d0546882fbcd5cf3
parentf25ca4f7a6068ef839c73926fb03d3d01daa62f8
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c