lkml.org 
[lkml]   [2011]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [027/101] drm/radeon/kms: fix typo in r100_blit_copy
Date
Please don't apply.  This ended up getting reverted upstream.

> -----Original Message-----
> From: Greg KH [mailto:gregkh@suse.de]
> Sent: Wednesday, November 02, 2011 6:26 PM
> To: linux-kernel@vger.kernel.org; stable@vger.kernel.org
> Cc: torvalds@linux-foundation.org; akpm@linux-foundation.org;
> alan@lxorguk.ukuu.org.uk; Deucher, Alexander; Dave Airlie
> Subject: [027/101] drm/radeon/kms: fix typo in r100_blit_copy
>
> 2.6.33-longterm review patch. If anyone has any objections, please let us
> know.
>
> ------------------
>
> From: Alex Deucher <alexander.deucher@amd.com>
>
> commit 18b4fada275dd2b6dd9db904ddf70fe39e272222 upstream.
>
> cur_pages is the number of pages per loop iteration.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
>
> ---
> drivers/gpu/drm/radeon/r100.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- a/drivers/gpu/drm/radeon/r100.c
> +++ b/drivers/gpu/drm/radeon/r100.c
> @@ -496,8 +496,8 @@ int r100_copy_blit(struct radeon_device
> radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
> radeon_ring_write(rdev, 0);
> radeon_ring_write(rdev, (0x1fff) | (0x1fff << 16));
> - radeon_ring_write(rdev, num_pages);
> - radeon_ring_write(rdev, num_pages);
> + radeon_ring_write(rdev, cur_pages);
> + radeon_ring_write(rdev, cur_pages);
> radeon_ring_write(rdev, cur_pages | (stride_pixels << 16));
> }
> radeon_ring_write(rdev, PACKET0(RADEON_DSTCACHE_CTLSTAT,
> 0));
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-11-03 14:05    [from the cache]
©2003-2011 Jasper Spaans