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/drmP.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bsd-core/drmP.h') diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h index 00c84ef7..3d96406c 100644 --- a/bsd-core/drmP.h +++ b/bsd-core/drmP.h @@ -607,6 +607,7 @@ struct drm_device { int (*postsetup)(struct drm_device *); void (*open_helper)(struct drm_device *, drm_file_t *); void (*release)(struct drm_device *, void *filp); + int (*dma_ioctl)(DRM_IOCTL_ARGS); void (*dma_ready)(struct drm_device *); int (*dma_quiescent)(struct drm_device *); int (*dma_flush_block_and_flush)(struct drm_device *, int context, @@ -646,7 +647,6 @@ struct drm_device { unsigned use_irq :1; unsigned use_vbl_irq :1; unsigned use_mtrr :1; - unsigned use_ctxbitmap :1; /* End of driver-config section */ char *unique; /* Unique identifier: e.g., busid */ @@ -882,6 +882,9 @@ int drm_markbufs(DRM_IOCTL_ARGS); int drm_freebufs(DRM_IOCTL_ARGS); int drm_mapbufs(DRM_IOCTL_ARGS); +/* DMA support (drm_dma.c) */ +int drm_dma(DRM_IOCTL_ARGS); + /* IRQ support (drm_irq.c) */ int drm_control(DRM_IOCTL_ARGS); int drm_wait_vblank(DRM_IOCTL_ARGS); -- cgit v1.2.3