VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/libdrm-1.0.5/sis_drm.h@ 17232

最後變更 在這個檔案從17232是 17232,由 vboxsync 提交於 16 年 前

Additions/x11/x11include: added header files needed for DRI support in vboxvideo

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.3 KB
 
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
27typedef struct {
28 int context;
29 unsigned int offset;
30 unsigned int size;
31 unsigned long free;
32} drm_sis_mem_t;
33
34typedef struct {
35 unsigned int offset, size;
36} drm_sis_agp_t;
37
38typedef struct {
39 unsigned int offset, size;
40} drm_sis_fb_t;
41
42#endif /* __SIS_DRM_H__ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette