summaryrefslogtreecommitdiff
path: root/bsd-core/r128_drv.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-11-06 21:18:49 +0000
committerEric Anholt <anholt@freebsd.org>2004-11-06 21:18:49 +0000
commit7bdccfd0bb192200ba022c368f85f73e5a989e7a (patch)
treebdad7b43f516aeaab1d790136f35f0bf2d32cae0 /bsd-core/r128_drv.c
parentae7a1713139f1eacec9cc1629cacef0394e270cc (diff)
Get r128 basically working: Hook up the driver's dma ioctl, use the proper
offset into the driver ioctl array, and don't make the ctx bitmap conditional.
Diffstat (limited to 'bsd-core/r128_drv.c')
-rw-r--r--bsd-core/r128_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-core/r128_drv.c b/bsd-core/r128_drv.c
index f8139ea2..da0ab1f1 100644
--- a/bsd-core/r128_drv.c
+++ b/bsd-core/r128_drv.c
@@ -54,6 +54,7 @@ static void r128_configure(drm_device_t *dev)
dev->irq_postinstall = r128_driver_irq_postinstall;
dev->irq_uninstall = r128_driver_irq_uninstall;
dev->irq_handler = r128_driver_irq_handler;
+ dev->dma_ioctl = r128_cce_buffers;
/* XXX dev->reclaim_buffers = drm_core_reclaim_buffers;*/
/* XXX dev->get_map_ofs = drm_core_get_map_ofs;
dev->get_reg_ofs = drm_core_get_reg_ofs;*/