diff options
author | Christian König <christian.koenig@amd.com> | 2013-12-10 17:57:37 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-12-12 12:22:05 -0500 |
commit | 1b3abef830db98c11d7f916a483abaf2501f3323 (patch) | |
tree | 4296e5e65f9dce302fc88a4ee1dfe9ead5732fba | |
parent | 7819678faec569f90c243d877c6f948dfb03f3a9 (diff) | |
download | op-kernel-dev-1b3abef830db98c11d7f916a483abaf2501f3323.zip op-kernel-dev-1b3abef830db98c11d7f916a483abaf2501f3323.tar.gz |
drm/radeon: fix typo in cik_copy_dma
Otherwise we end up with a rather strange looking result.
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/radeon/cik_sdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c index 0300727..d08b83c 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; |