lkml.org 
[lkml]   [2009]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 29/87] drm/r128: fix r128 ioremaps to use ioremap_wc.
    2.6.29-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Dave Airlie <airlied@redhat.com>

    commit 42beefc0093725ec0f8cea340cc54c36ccaceea0 upstream.

    This should allow r128 to start working again since PAT changes.

    taken from F-11 kernel.

    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/gpu/drm/r128/r128_cce.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    --- 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_d

    #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) {



    \
     
     \ /
      Last update: 2009-06-09 12:27    [W:0.019 / U:119.288 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site