diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-07-09 17:54:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-24 17:29:57 -0400 |
commit | a03ebf116303e5d13ba9a2b65726b106cb1e96f6 (patch) | |
tree | e95c0b6ff03346e0f3238f24812b9369c1a63d1c /drivers/gpu/drm/amd/amdgpu/soc24.c | |
parent | 627a24f5f25d689682f395f3df1411273be4436b (diff) |
drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell
We seem to have a case where SDMA will sometimes miss a doorbell
if GFX is entering the powergating state when the doorbell comes in.
To workaround this, we can update the wptr via MMIO, however,
this is only safe because we disallow gfxoff in begin_ring() for
SDMA 5.2 and then allow it again in end_ring().
Enable this workaround while we are root causing the issue with
the HW team.
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/3440
Tested-by: Friedrich Vock <friedrich.vock@gmx.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
(cherry picked from commit f2ac52634963fc38e4935e11077b6f7854e5d700)
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc24.c')
0 files changed, 0 insertions, 0 deletions