5 /* SiS specific ioctls */
7 #define DRM_SIS_FB_ALLOC 0x04
8 #define DRM_SIS_FB_FREE 0x05
10 #define DRM_SIS_AGP_INIT 0x13
11 #define DRM_SIS_AGP_ALLOC 0x14
12 #define DRM_SIS_AGP_FREE 0x15
13 #define DRM_SIS_FB_INIT 0x16
15 #define DRM_IOCTL_SIS_FB_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_FB_ALLOC, drm_sis_mem_t)
16 #define DRM_IOCTL_SIS_FB_FREE DRM_IOW( DRM_COMMAND_BASE + DRM_SIS_FB_FREE, drm_sis_mem_t)
17 #define DRM_IOCTL_SIS_AGP_INIT DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_AGP_INIT, drm_sis_agp_t)
18 #define DRM_IOCTL_SIS_AGP_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_AGP_ALLOC, drm_sis_mem_t)
19 #define DRM_IOCTL_SIS_AGP_FREE DRM_IOW( DRM_COMMAND_BASE + DRM_SIS_AGP_FREE, drm_sis_mem_t)
20 #define DRM_IOCTL_SIS_FB_INIT DRM_IOW( DRM_COMMAND_BASE + DRM_SIS_FB_INIT, drm_sis_fb_t)
22 #define DRM_IOCTL_SIS_FLIP DRM_IOW( 0x48, drm_sis_flip_t)
23 #define DRM_IOCTL_SIS_FLIP_INIT DRM_IO( 0x49)
24 #define DRM_IOCTL_SIS_FLIP_FINAL DRM_IO( 0x50)
35 unsigned int offset
, size
;
39 unsigned int offset
, size
;
42 #endif /* __SIS_DRM_H__ */