Commit bf11893c authored by Alex Deucher's avatar Alex Deucher Committed by Kamal Mostafa

drm/radeon: fix count in cik_sdma_ring_test()

commit 7e95cfb0 upstream.

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>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 6108750f
......@@ -526,7 +526,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