1
0
Files
linux/drivers
David Miller b07fa022ec drm: radeon: Fix ring_rptr accesses.
The memory behind ring_rptr can either be in ioremapped memory
or a vmalloc() normal kernel memory buffer.

However, the code unconditionally uses DRM_{READ,WRITE}32() (and thus
readl() and writel()) to access it.

Basically, if RADEON_IS_AGP then it's ioremap()'d memory else it's
vmalloc'd memory.

Adjust all of the ring_rptr access code as needed.

While we're here, kill the 'scratch' pointer in drm_radeon_private.
It's only used in the one place where it is initialized.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-03-13 14:24:00 +10:00
..
2009-02-18 17:41:38 -08:00
2009-03-10 15:55:10 -07:00
2009-02-18 15:37:56 -08:00
2009-03-13 14:24:00 +10:00
2009-03-05 16:10:58 +01:00
2009-02-26 10:32:31 -08:00
2009-03-04 00:57:25 -07:00
2009-02-27 16:26:22 -08:00
2009-02-18 15:37:56 -08:00