blob: 039b589c3cd7d98194193e589a0e0f9b239320d4 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __SIS_DRM_H__
20#define __SIS_DRM_H__
Christopher Ferris106b3a82016-08-24 12:15:38 -070021#include "drm.h"
22#ifdef __cplusplus
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#endif
Ben Cheng655a7c02013-10-16 16:09:24 -070025#define NOT_USED_0_3
26#define DRM_SIS_FB_ALLOC 0x04
Ben Cheng655a7c02013-10-16 16:09:24 -070027#define DRM_SIS_FB_FREE 0x05
Christopher Ferris106b3a82016-08-24 12:15:38 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070029#define NOT_USED_6_12
30#define DRM_SIS_AGP_INIT 0x13
31#define DRM_SIS_AGP_ALLOC 0x14
Ben Cheng655a7c02013-10-16 16:09:24 -070032#define DRM_SIS_AGP_FREE 0x15
Christopher Ferris106b3a82016-08-24 12:15:38 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070034#define DRM_SIS_FB_INIT 0x16
35#define DRM_IOCTL_SIS_FB_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_FB_ALLOC, drm_sis_mem_t)
Tao Baod7db5942015-01-28 10:07:51 -080036#define DRM_IOCTL_SIS_FB_FREE DRM_IOW(DRM_COMMAND_BASE + DRM_SIS_FB_FREE, drm_sis_mem_t)
Ben Cheng655a7c02013-10-16 16:09:24 -070037#define DRM_IOCTL_SIS_AGP_INIT DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_AGP_INIT, drm_sis_agp_t)
Christopher Ferris106b3a82016-08-24 12:15:38 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070039#define DRM_IOCTL_SIS_AGP_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_SIS_AGP_ALLOC, drm_sis_mem_t)
Tao Baod7db5942015-01-28 10:07:51 -080040#define DRM_IOCTL_SIS_AGP_FREE DRM_IOW(DRM_COMMAND_BASE + DRM_SIS_AGP_FREE, drm_sis_mem_t)
41#define DRM_IOCTL_SIS_FB_INIT DRM_IOW(DRM_COMMAND_BASE + DRM_SIS_FB_INIT, drm_sis_fb_t)
Ben Cheng655a7c02013-10-16 16:09:24 -070042typedef struct {
Christopher Ferris106b3a82016-08-24 12:15:38 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 int context;
45 unsigned long offset;
46 unsigned long size;
Tao Baod7db5942015-01-28 10:07:51 -080047 unsigned long free;
Christopher Ferris106b3a82016-08-24 12:15:38 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070049} drm_sis_mem_t;
50typedef struct {
Tao Baod7db5942015-01-28 10:07:51 -080051 unsigned long offset, size;
Ben Cheng655a7c02013-10-16 16:09:24 -070052} drm_sis_agp_t;
Christopher Ferris106b3a82016-08-24 12:15:38 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070054typedef struct {
Tao Baod7db5942015-01-28 10:07:51 -080055 unsigned long offset, size;
Ben Cheng655a7c02013-10-16 16:09:24 -070056} drm_sis_fb_t;
Christopher Ferris106b3a82016-08-24 12:15:38 -070057#ifdef __cplusplus
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070059#endif
Christopher Ferris106b3a82016-08-24 12:15:38 -070060#endif