Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon: fix count in cik_sdma_ring_test()

Should be 5 rather than 4.

Noticed-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christian König <christian.koenig@amd.com>

authored by

Alex Deucher and committed by
Christian König
7e95cfb0 ad47b8fa

+1 -1
+1 -1
drivers/gpu/drm/radeon/cik_sdma.c
··· 597 597 tmp = 0xCAFEDEAD; 598 598 writel(tmp, ptr); 599 599 600 - r = radeon_ring_lock(rdev, ring, 4); 600 + r = radeon_ring_lock(rdev, ring, 5); 601 601 if (r) { 602 602 DRM_ERROR("radeon: dma failed to lock ring %d (%d).\n", ring->idx, r); 603 603 return r;