fix pitch compile error
authorDave Airlie <airlied@linux.ie>
Sat, 7 Jun 2003 01:44:15 +0000 (01:44 +0000)
committerDave Airlie <airlied@linux.ie>
Sat, 7 Jun 2003 01:44:15 +0000 (01:44 +0000)
linux-core/i810_dma.c
linux/i810_dma.c

index 8042b7f..ab5e551 100644 (file)
@@ -830,8 +830,8 @@ static void i810_dma_dispatch_vertex(drm_device_t *dev,
 static void i810_dma_dispatch_flip( drm_device_t *dev )
 {
         drm_i810_private_t *dev_priv = dev->dev_private;
-       RING_LOCALS;
        int pitch = dev_priv->pitch;
+       RING_LOCALS;
 
        DRM_DEBUG( "%s: page=%d pfCurrentPage=%d\n", 
                __FUNCTION__, 
index 8042b7f..ab5e551 100644 (file)
@@ -830,8 +830,8 @@ static void i810_dma_dispatch_vertex(drm_device_t *dev,
 static void i810_dma_dispatch_flip( drm_device_t *dev )
 {
         drm_i810_private_t *dev_priv = dev->dev_private;
-       RING_LOCALS;
        int pitch = dev_priv->pitch;
+       RING_LOCALS;
 
        DRM_DEBUG( "%s: page=%d pfCurrentPage=%d\n", 
                __FUNCTION__,