projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3788f48
)
drm/r128: fix r128 ioremaps to use ioremap_wc.
author
Dave Airlie
<airlied@redhat.com>
Tue, 5 May 2009 23:04:52 +0000
(09:04 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 5 May 2009 23:04:52 +0000
(09:04 +1000)
This should allow r128 to start working again since PAT changes.
taken from F-11 kernel.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/r128/r128_cce.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/r128/r128_cce.c
b/drivers/gpu/drm/r128/r128_cce.c
index
32de4ce
..
077c045
100644
(file)
--- a/
drivers/gpu/drm/r128/r128_cce.c
+++ b/
drivers/gpu/drm/r128/r128_cce.c
@@
-511,9
+511,9
@@
static int r128_do_init_cce(struct drm_device * dev, drm_r128_init_t * init)
#if __OS_HAS_AGP
if (!dev_priv->is_pci) {
- drm_core_ioremap(dev_priv->cce_ring, dev);
- drm_core_ioremap(dev_priv->ring_rptr, dev);
- drm_core_ioremap(dev->agp_buffer_map, dev);
+ drm_core_ioremap
_wc
(dev_priv->cce_ring, dev);
+ drm_core_ioremap
_wc
(dev_priv->ring_rptr, dev);
+ drm_core_ioremap
_wc
(dev->agp_buffer_map, dev);
if (!dev_priv->cce_ring->handle ||
!dev_priv->ring_rptr->handle ||
!dev->agp_buffer_map->handle) {