Commit 830e5bcc authored by Christian König's avatar Christian König Committed by Greg Kroah-Hartman

drm/radeon: fix typo in cik_copy_dma

commit 1b3abef8 upstream.

Otherwise we end up with a rather strange looking result.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Tested-by: default avatarTom Stellard <thomas.stellard@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 866b62d1
......@@ -468,7 +468,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;
......
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