diff options
Diffstat (limited to 'bsd/sis/sis_drm.h')
-rw-r--r-- | bsd/sis/sis_drm.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bsd/sis/sis_drm.h b/bsd/sis/sis_drm.h new file mode 100644 index 00000000..db11cf63 --- /dev/null +++ b/bsd/sis/sis_drm.h @@ -0,0 +1,30 @@ + +#ifndef _sis_drm_public_h_ +#define _sis_drm_public_h_ + +typedef struct { + int context; + unsigned int offset; + unsigned int size; + unsigned int free; +} drm_sis_mem_t; + +typedef struct { + unsigned int offset, size; +} drm_sis_agp_t; + +typedef struct { + unsigned int left, right; +} drm_sis_flip_t; + +#if defined(__KERNEL__) || defined(_KERNEL) + +int sis_fb_alloc(DRM_OS_IOCTL); +int sis_fb_free(DRM_OS_IOCTL); +int sisp_agp_init(DRM_OS_IOCTL); +int sisp_agp_alloc(DRM_OS_IOCTL); +int sisp_agp_free(DRM_OS_IOCTL); + +#endif + +#endif |