Warning, file /include/libdrm/sis_drm.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 #ifndef __SIS_DRM_H__
0028 #define __SIS_DRM_H__
0029
0030 #include "drm.h"
0031
0032 #if defined(__cplusplus)
0033 extern "C" {
0034 #endif
0035
0036
0037 #define NOT_USED_0_3
0038 #define DRM_SIS_FB_ALLOC 0x04
0039 #define DRM_SIS_FB_FREE 0x05
0040 #define NOT_USED_6_12
0041 #define DRM_SIS_AGP_INIT 0x13
0042 #define DRM_SIS_AGP_ALLOC 0x14
0043 #define DRM_SIS_AGP_FREE 0x15
0044 #define DRM_SIS_FB_INIT 0x16
0045
0046 #define DRM_IOCTL_SIS_FB_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_FB_ALLOC, drm_sis_mem_t)
0047 #define DRM_IOCTL_SIS_FB_FREE DRM_IOW( DRM_COMMAND_BASE + DRM_SIS_FB_FREE, drm_sis_mem_t)
0048 #define DRM_IOCTL_SIS_AGP_INIT DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_AGP_INIT, drm_sis_agp_t)
0049 #define DRM_IOCTL_SIS_AGP_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_AGP_ALLOC, drm_sis_mem_t)
0050 #define DRM_IOCTL_SIS_AGP_FREE DRM_IOW( DRM_COMMAND_BASE + DRM_SIS_AGP_FREE, drm_sis_mem_t)
0051 #define DRM_IOCTL_SIS_FB_INIT DRM_IOW( DRM_COMMAND_BASE + DRM_SIS_FB_INIT, drm_sis_fb_t)
0052
0053
0054
0055
0056
0057
0058 typedef struct {
0059 int context;
0060 unsigned int offset;
0061 unsigned int size;
0062 unsigned long free;
0063 } drm_sis_mem_t;
0064
0065 typedef struct {
0066 unsigned int offset, size;
0067 } drm_sis_agp_t;
0068
0069 typedef struct {
0070 unsigned int offset, size;
0071 } drm_sis_fb_t;
0072
0073 #if defined(__cplusplus)
0074 }
0075 #endif
0076
0077 #endif