[PATCH] drm/radeon: fix typo in cik_copy_dma
Tom Stellard
tom at stellard.net
Tue Dec 10 09:12:37 PST 2013
On Tue, Dec 10, 2013 at 05:57:37PM +0100, Christian König wrote:
> From: Christian König <christian.koenig at amd.com>
>
> Otherwise we end up with a rather strange looking result.
>
Tested-by: Tom Stellard <thomas.stellard at amd.com>
> Signed-off-by: Christian König <christian.koenig at amd.com>
> Cc: stable at vger.kernel.org
> ---
> drivers/gpu/drm/radeon/cik_sdma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
> --
> 1.8.1.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the dri-devel
mailing list