Commit 7e95cfb0 authored by Alex Deucher's avatar Alex Deucher Committed by Christian König

drm/radeon: fix count in cik_sdma_ring_test()

Should be 5 rather than 4.
Noticed-by: default avatarMathias Fröhlich <Mathias.Froehlich@gmx.net>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
parent ad47b8fa
......@@ -597,7 +597,7 @@ int cik_sdma_ring_test(struct radeon_device *rdev,
tmp = 0xCAFEDEAD;
writel(tmp, ptr);
r = radeon_ring_lock(rdev, ring, 4);
r = radeon_ring_lock(rdev, ring, 5);
if (r) {
DRM_ERROR("radeon: dma failed to lock ring %d (%d).\n", ring->idx, r);
return r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment