]> 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)
commitb2fe46fcec257cdbb296859c6486727056d401bd
tree40440a1c75f134fce47ca057d0546882fbcd5cf3
parentaac25b1d486fbdc8455debcf9dad2e30b7aead69
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