summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2003-06-07 01:44:15 +0000
committerDave Airlie <airlied@linux.ie>2003-06-07 01:44:15 +0000
commitf723f743c55156039525a5f49dfe6e0fd141c8df (patch)
tree978846f2f0a704bf347bc41d7155b7a1705eb0ed
parent8eaa2d245077d5e949679e48897b57f8dc505a25 (diff)
fix pitch compile error
-rw-r--r--linux-core/i810_dma.c2
-rw-r--r--linux/i810_dma.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c
index 8042b7fc..ab5e5514 100644
--- a/linux-core/i810_dma.c
+++ b/linux-core/i810_dma.c
@@ -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__,
diff --git a/linux/i810_dma.c b/linux/i810_dma.c
index 8042b7fc..ab5e5514 100644
--- a/linux/i810_dma.c
+++ b/linux/i810_dma.c
@@ -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__,