Message ID | 1386694657-2409-1-git-send-email-deathsimple@vodafone.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Dec 10, 2013 at 05:57:37PM +0100, Christian König wrote: > From: Christian König <christian.koenig@amd.com> > > Otherwise we end up with a rather strange looking result. > Tested-by: Tom Stellard <thomas.stellard@amd.com> > Signed-off-by: Christian König <christian.koenig@amd.com> > Cc: stable@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@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel
Applied! thanks! Alex On Tue, Dec 10, 2013 at 11:57 AM, Christian König <deathsimple@vodafone.de> wrote: > From: Christian König <christian.koenig@amd.com> > > Otherwise we end up with a rather strange looking result. > > Signed-off-by: Christian König <christian.koenig@amd.com> > Cc: stable@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 >
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;