From 7bdccfd0bb192200ba022c368f85f73e5a989e7a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 6 Nov 2004 21:18:49 +0000 Subject: 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. --- bsd-core/r128_drv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bsd-core/r128_drv.c') 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;*/ -- cgit v1.2.3