FreeBSD/Linux Kernel Cross Reference
sys/dev/drm/sis_drm.h
1 /*
2 * $FreeBSD$
3 */
4
5 #ifndef __SIS_DRM_H__
6 #define __SIS_DRM_H__
7
8 /* SiS specific ioctls */
9 #define DRM_IOCTL_SIS_FB_ALLOC DRM_IOWR(0x44, drm_sis_mem_t)
10 #define DRM_IOCTL_SIS_FB_FREE DRM_IOW( 0x45, drm_sis_mem_t)
11 #define DRM_IOCTL_SIS_AGP_INIT DRM_IOWR(0x53, drm_sis_agp_t)
12 #define DRM_IOCTL_SIS_AGP_ALLOC DRM_IOWR(0x54, drm_sis_mem_t)
13 #define DRM_IOCTL_SIS_AGP_FREE DRM_IOW( 0x55, drm_sis_mem_t)
14 #define DRM_IOCTL_SIS_FB_INIT DRM_IOW( 0x56, drm_sis_fb_t)
15 /*
16 #define DRM_IOCTL_SIS_FLIP DRM_IOW( 0x48, drm_sis_flip_t)
17 #define DRM_IOCTL_SIS_FLIP_INIT DRM_IO( 0x49)
18 #define DRM_IOCTL_SIS_FLIP_FINAL DRM_IO( 0x50)
19 */
20
21 typedef struct {
22 int context;
23 unsigned int offset;
24 unsigned int size;
25 unsigned long free;
26 } drm_sis_mem_t;
27
28 typedef struct {
29 unsigned int offset, size;
30 } drm_sis_agp_t;
31
32 typedef struct {
33 unsigned int offset, size;
34 } drm_sis_fb_t;
35
36 #endif /* __SIS_DRM_H__ */
Cache object: 623bd8c617c8d89932fafb621e59dd39
|