Last change
on this file since 17563 was 17237, checked in by vboxsync, 16 years ago |
Additions/x11/x11include: blast! Removed keywords from new X.Org header files
|
-
Property svn:eol-style
set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 |
|
---|
2 | #ifndef __SIS_DRM_H__
|
---|
3 | #define __SIS_DRM_H__
|
---|
4 |
|
---|
5 | /* SiS specific ioctls */
|
---|
6 | #define NOT_USED_0_3
|
---|
7 | #define DRM_SIS_FB_ALLOC 0x04
|
---|
8 | #define DRM_SIS_FB_FREE 0x05
|
---|
9 | #define NOT_USED_6_12
|
---|
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
|
---|
14 |
|
---|
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)
|
---|
21 | /*
|
---|
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)
|
---|
25 | */
|
---|
26 |
|
---|
27 | typedef struct {
|
---|
28 | int context;
|
---|
29 | unsigned int offset;
|
---|
30 | unsigned int size;
|
---|
31 | unsigned long free;
|
---|
32 | } drm_sis_mem_t;
|
---|
33 |
|
---|
34 | typedef struct {
|
---|
35 | unsigned int offset, size;
|
---|
36 | } drm_sis_agp_t;
|
---|
37 |
|
---|
38 | typedef struct {
|
---|
39 | unsigned int offset, size;
|
---|
40 | } drm_sis_fb_t;
|
---|
41 |
|
---|
42 | #endif /* __SIS_DRM_H__ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.