diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-22 11:31:55 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-22 11:31:55 +0000 |
commit | a1780925fb461c736bae7e51de0d3a1e909548f2 (patch) | |
tree | dbe412015c1e5fa32a8e2d44fade26c9bf0e6407 /linux/gamma_drv.h | |
parent | 056762a9104997569b09416c35d9a0bfef175e1f (diff) |
Move a chunk of gamma-specific code out of drm_dma.h. Remove unused
'DRM_FLAG_NOCTX' option.
Diffstat (limited to 'linux/gamma_drv.h')
-rw-r--r-- | linux/gamma_drv.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/gamma_drv.h b/linux/gamma_drv.h index 2f7d3588..2509ffbb 100644 --- a/linux/gamma_drv.h +++ b/linux/gamma_drv.h @@ -59,6 +59,16 @@ extern int gamma_dma(struct inode *inode, struct file *filp, extern int gamma_find_devices(void); extern int gamma_found(void); +/* Gamma-specific code pulled from drm_dma.h: + */ +extern void DRM(clear_next_buffer)(drm_device_t *dev); +extern int DRM(select_queue)(drm_device_t *dev, + void (*wrapper)(unsigned long)); +extern int DRM(dma_enqueue)(struct file *filp, drm_dma_t *dma); +extern int DRM(dma_get_buffers)(struct file *filp, drm_dma_t *dma); + + + #define GLINT_DRI_BUF_COUNT 256 #define GAMMA_OFF(reg) \ |