Commit 6236de0e authored by Linus Torvalds's avatar Linus Torvalds

DRI CVS merge: move more gamma-only functions away from

generic dri files and into gamma driver files.
parent 8feb324f
...@@ -735,12 +735,6 @@ extern int DRM(lock_transfer)(drm_device_t *dev, ...@@ -735,12 +735,6 @@ extern int DRM(lock_transfer)(drm_device_t *dev,
extern int DRM(lock_free)(drm_device_t *dev, extern int DRM(lock_free)(drm_device_t *dev,
__volatile__ unsigned int *lock, __volatile__ unsigned int *lock,
unsigned int context); unsigned int context);
extern int DRM(finish)(struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg);
extern int DRM(flush_unblock)(drm_device_t *dev, int context,
drm_lock_flags_t flags);
extern int DRM(flush_block_and_flush)(drm_device_t *dev, int context,
drm_lock_flags_t flags);
extern int DRM(notifier)(void *priv); extern int DRM(notifier)(void *priv);
/* Buffer management support (drm_bufs.h) */ /* Buffer management support (drm_bufs.h) */
......
...@@ -49,6 +49,7 @@ extern int gamma_dma_init( struct inode *inode, struct file *filp, ...@@ -49,6 +49,7 @@ extern int gamma_dma_init( struct inode *inode, struct file *filp,
extern int gamma_dma_copy( struct inode *inode, struct file *filp, extern int gamma_dma_copy( struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg ); unsigned int cmd, unsigned long arg );
extern int gamma_do_cleanup_dma( drm_device_t *dev );
extern void gamma_dma_ready(drm_device_t *dev); extern void gamma_dma_ready(drm_device_t *dev);
extern void gamma_dma_quiescent_single(drm_device_t *dev); extern void gamma_dma_quiescent_single(drm_device_t *dev);
extern void gamma_dma_quiescent_dual(drm_device_t *dev); extern void gamma_dma_quiescent_dual(drm_device_t *dev);
...@@ -60,6 +61,15 @@ extern int gamma_dma(struct inode *inode, struct file *filp, ...@@ -60,6 +61,15 @@ extern int gamma_dma(struct inode *inode, struct file *filp,
extern int gamma_find_devices(void); extern int gamma_find_devices(void);
extern int gamma_found(void); extern int gamma_found(void);
/* Gamma-specific code pulled from drm_fops.h:
*/
extern int DRM(finish)(struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg);
extern int DRM(flush_unblock)(drm_device_t *dev, int context,
drm_lock_flags_t flags);
extern int DRM(flush_block_and_flush)(drm_device_t *dev, int context,
drm_lock_flags_t flags);
/* Gamma-specific code pulled from drm_dma.h: /* Gamma-specific code pulled from drm_dma.h:
*/ */
extern void DRM(clear_next_buffer)(drm_device_t *dev); extern void DRM(clear_next_buffer)(drm_device_t *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment