drm/amdgpu/sdma5.2: limit wptr workaround to sdma 5.2.1
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Aug 2024 14:28:24 +0000 (10:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Aug 2024 02:51:37 +0000 (22:51 -0400)
commite3e4bf58bad1576ac732a1429f53e3d4bfb82b4b
tree01b4bc0eec8247787132940abb640c3862fb6a68
parent0b43312902d165c4c8429cd49e8c91479f52b7c4
drm/amdgpu/sdma5.2: limit wptr workaround to sdma 5.2.1

The workaround seems to cause stability issues on other
SDMA 5.2.x IPs.

Fixes: a03ebf116303 ("drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3556
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2dc3851ef7d9c5439ea8e9623fc36878f3b40649)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c