summaryrefslogtreecommitdiff
path: root/linux/r128_cce.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2001-09-25 09:32:16 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2001-09-25 09:32:16 +0000
commitca820fca877faf4776be142417795a5945c606e6 (patch)
tree3b43fba2476fcbd4f81fa26b400549ad1df766f7 /linux/r128_cce.c
parent390440c9399a3c01811f3b37c2628d6e905656e8 (diff)
merge with 2.4.10 kernel
Diffstat (limited to 'linux/r128_cce.c')
-rw-r--r--linux/r128_cce.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/linux/r128_cce.c b/linux/r128_cce.c
index a78a9e69..ef11a497 100644
--- a/linux/r128_cce.c
+++ b/linux/r128_cce.c
@@ -350,20 +350,11 @@ static void r128_cce_init_ring_buffer( drm_device_t *dev,
tmp_ofs = dev_priv->ring_rptr->offset - dev->sg->handle;
page_ofs = tmp_ofs >> PAGE_SHIFT;
-#if defined(__alpha__)
R128_WRITE( R128_PM4_BUFFER_DL_RPTR_ADDR,
entry->busaddr[page_ofs]);
DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
entry->busaddr[page_ofs],
entry->handle + tmp_ofs );
-#else
- R128_WRITE( R128_PM4_BUFFER_DL_RPTR_ADDR,
- page_to_bus(entry->pagelist[page_ofs]));
-
- DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
- page_to_bus(entry->pagelist[page_ofs]),
- entry->handle + tmp_ofs );
-#endif
}
/* Set watermark control */