summaryrefslogtreecommitdiff
path: root/linux-core/i830_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-02-01 10:33:51 +0000
committerDave Airlie <airlied@linux.ie>2005-02-01 10:33:51 +0000
commit62e0a58ecf03fe85de6e671fe2fc7f613ba39b37 (patch)
treef91f014377c83b1ccb25db8c21c5b27c77e5c074 /linux-core/i830_drv.h
parent8d4c731aa1e0936d8187ad77b5c779a79e22566d (diff)
update i830 similiar to the kernel, add statics
Diffstat (limited to 'linux-core/i830_drv.h')
-rw-r--r--linux-core/i830_drv.h39
1 files changed, 2 insertions, 37 deletions
diff --git a/linux-core/i830_drv.h b/linux-core/i830_drv.h
index 553f8d48..47f498e3 100644
--- a/linux-core/i830_drv.h
+++ b/linux-core/i830_drv.h
@@ -120,50 +120,14 @@ typedef struct drm_i830_private {
} drm_i830_private_t;
- /* i830_dma.c */
-extern int i830_dma_schedule(drm_device_t * dev, int locked);
-extern int i830_getbuf(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-extern int i830_dma_init(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-extern int i830_dma_cleanup(drm_device_t * dev);
-extern int i830_flush_ioctl(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
+/* i830_dma.c */
extern void i830_reclaim_buffers(drm_device_t *dev, struct file *filp);
-extern int i830_getage(struct inode *inode, struct file *filp, unsigned int cmd,
- unsigned long arg);
-extern int i830_copybuf(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-extern int i830_docopy(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-
-extern void i830_dma_quiescent(drm_device_t * dev);
-
-extern int i830_dma_vertex(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-
-extern int i830_swap_bufs(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-
-extern int i830_clear_bufs(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-
-extern int i830_flip_bufs(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-
-extern int i830_getparam(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
-
-extern int i830_setparam(struct inode *inode, struct file *filp,
- unsigned int cmd, unsigned long arg);
/* i830_irq.c */
extern int i830_irq_emit(struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg);
extern int i830_irq_wait(struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg);
-extern int i830_wait_irq(drm_device_t * dev, int irq_nr);
-extern int i830_emit_irq(drm_device_t * dev);
extern irqreturn_t i830_driver_irq_handler(DRM_IRQ_ARGS);
extern void i830_driver_irq_preinstall(drm_device_t * dev);
@@ -172,6 +136,7 @@ extern void i830_driver_irq_uninstall(drm_device_t * dev);
extern void i830_driver_pretakedown(drm_device_t * dev);
extern void i830_driver_release(drm_device_t * dev, struct file *filp);
extern int i830_driver_dma_quiescent(drm_device_t * dev);
+extern void i830_driver_prerelease(drm_device_t * dev, DRMFILE filp);
#define I830_BASE(reg) ((unsigned long) \
dev_priv->mmio_map->handle)