summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2001-05-17 15:20:40 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2001-05-17 15:20:40 +0000
commit18ce40c9d31c166b49e6689c260eb1ddb3cc08c9 (patch)
treeeaa3e05a5aaf5afb387caa765a914aa9d844ad6c /shared-core/drm.h
parent9c775d0b2f303389c24aea5e8abc1473f0cf93e8 (diff)
Make the SiS module work again. At least glxinfo reports it's working, yet
trying to run the simple apps return 'out of video memory'
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index b011e336..3def97f7 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -466,6 +466,11 @@ typedef struct drm_scatter_gather {
#ifdef CONFIG_DRM_SIS
/* SiS specific ioctls */
+#define SIS_IOCTL_FB_ALLOC DRM_IOWR(0x44, drm_sis_mem_t)
+#define SIS_IOCTL_FB_FREE DRM_IOW( 0x45, drm_sis_mem_t)
+#define SIS_IOCTL_AGP_INIT DRM_IOWR(0x53, drm_sis_agp_t)
+#define SIS_IOCTL_AGP_ALLOC DRM_IOWR(0x54, drm_sis_mem_t)
+#define SIS_IOCTL_AGP_FREE DRM_IOW( 0x55, drm_sis_mem_t)
#define SIS_IOCTL_FLIP DRM_IOW( 0x48, drm_sis_flip_t)
#define SIS_IOCTL_FLIP_INIT DRM_IO( 0x49)
#define SIS_IOCTL_FLIP_FINAL DRM_IO( 0x50)