From: Christian König Date: Tue, 10 Dec 2013 16:57:37 +0000 (+0100) Subject: drm/radeon: fix typo in cik_copy_dma X-Git-Tag: Ubuntu-5.0.0-8.9~12370^2~5^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1b3abef830db98c11d7f916a483abaf2501f3323;p=mirror_ubuntu-disco-kernel.git drm/radeon: fix typo in cik_copy_dma Otherwise we end up with a rather strange looking result. Signed-off-by: Christian König Tested-by: Tom Stellard Cc: stable@vger.kernel.org Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c index 0300727a4f70..d08b83c6267b 100644 --- a/drivers/gpu/drm/radeon/cik_sdma.c +++ b/drivers/gpu/drm/radeon/cik_sdma.c @@ -458,7 +458,7 @@ int cik_copy_dma(struct radeon_device *rdev, radeon_ring_write(ring, 0); /* src/dst endian swap */ radeon_ring_write(ring, src_offset & 0xffffffff); radeon_ring_write(ring, upper_32_bits(src_offset) & 0xffffffff); - radeon_ring_write(ring, dst_offset & 0xfffffffc); + radeon_ring_write(ring, dst_offset & 0xffffffff); radeon_ring_write(ring, upper_32_bits(dst_offset) & 0xffffffff); src_offset += cur_size_in_bytes; dst_offset += cur_size_in_bytes;