[PATCH] drm/radeon: fix typo in cik_copy_dma

Alex Deucher alexdeucher at gmail.com
Tue Dec 10 11:28:46 PST 2013


Applied!  thanks!

Alex

On Tue, Dec 10, 2013 at 11:57 AM, Christian König
<deathsimple at vodafone.de> wrote:
> From: Christian König <christian.koenig at amd.com>
>
> Otherwise we end up with a rather strange looking result.
>
> 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
>


More information about the dri-devel mailing list