From 01a14789edce0ce1cae0f3fd4328833399fae56d Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Fri, 16 Feb 2001 05:24:06 +0000 Subject: - Clean up the way customization of the templates is done. - Fix old-style DMA for gamma driver (please test). - Pull out IRQ handling into drm_dma.h (please test on i810, gamma). - Lots of general cleanups, remove compiler warnings etc. --- linux/mga_drv.h | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'linux/mga_drv.h') diff --git a/linux/mga_drv.h b/linux/mga_drv.h index 7a5a1dcc..be7298df 100644 --- a/linux/mga_drv.h +++ b/linux/mga_drv.h @@ -102,18 +102,6 @@ typedef struct drm_mga_private { drm_map_t *agp_textures; } drm_mga_private_t; - /* mga_drv.c */ -extern int mga_version( struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg ); -extern int mga_open( struct inode *inode, struct file *filp ); -extern int mga_release( struct inode *inode, struct file *filp ); -extern int mga_ioctl( struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg ); -extern int mga_lock( struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg ); -extern int mga_unlock( struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg ); - /* mga_dma.c */ extern int mga_dma_init( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); @@ -121,8 +109,6 @@ extern int mga_dma_flush( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); extern int mga_dma_reset( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); -extern int mga_control( struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg ); extern int mga_dma_buffers( struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg ); @@ -136,7 +122,8 @@ extern void mga_do_dma_flush( drm_mga_private_t *dev_priv ); extern void mga_do_dma_wrap_start( drm_mga_private_t *dev_priv ); extern void mga_do_dma_wrap_end( drm_mga_private_t *dev_priv ); -extern int mga_irq_uninstall( drm_device_t *dev ); +extern int mga_freelist_put( drm_device_t *dev, drm_buf_t *buf ); + /* mga_state.c */ extern int mga_dma_clear( struct inode *inode, struct file *filp, -- cgit v1.2.3