Commit 42beefc0093725ec0f8cea340cc54c36ccaceea0
1 parent
3788f48a0f
Exists in
master
and in
7 other branches
drm/r128: fix r128 ioremaps to use ioremap_wc.
This should allow r128 to start working again since PAT changes. taken from F-11 kernel. Signed-off-by: Dave Airlie <airlied@redhat.com>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
drivers/gpu/drm/r128/r128_cce.c
... | ... | @@ -511,9 +511,9 @@ |
511 | 511 | |
512 | 512 | #if __OS_HAS_AGP |
513 | 513 | if (!dev_priv->is_pci) { |
514 | - drm_core_ioremap(dev_priv->cce_ring, dev); | |
515 | - drm_core_ioremap(dev_priv->ring_rptr, dev); | |
516 | - drm_core_ioremap(dev->agp_buffer_map, dev); | |
514 | + drm_core_ioremap_wc(dev_priv->cce_ring, dev); | |
515 | + drm_core_ioremap_wc(dev_priv->ring_rptr, dev); | |
516 | + drm_core_ioremap_wc(dev->agp_buffer_map, dev); | |
517 | 517 | if (!dev_priv->cce_ring->handle || |
518 | 518 | !dev_priv->ring_rptr->handle || |
519 | 519 | !dev->agp_buffer_map->handle) { |