Go to the documentation of this file.
20 #ifndef __OMAP_DRM_H__
21 #define __OMAP_DRM_H__
29 #define OMAP_PARAM_CHIPSET_ID 1
36 #define OMAP_BO_SCANOUT 0x00000001
37 #define OMAP_BO_CACHE_MASK 0x00000006
38 #define OMAP_BO_TILED_MASK 0x00000f00
41 #define OMAP_BO_CACHED 0x00000000
42 #define OMAP_BO_WC 0x00000002
43 #define OMAP_BO_UNCACHED 0x00000004
46 #define OMAP_BO_TILED_8 0x00000100
47 #define OMAP_BO_TILED_16 0x00000200
48 #define OMAP_BO_TILED_32 0x00000300
49 #define OMAP_BO_TILED (OMAP_BO_TILED_8 | OMAP_BO_TILED_16 | OMAP_BO_TILED_32)
102 #define DRM_OMAP_GET_PARAM 0x00
103 #define DRM_OMAP_SET_PARAM 0x01
107 #define DRM_OMAP_GEM_NEW 0x03
108 #define DRM_OMAP_GEM_CPU_PREP 0x04
109 #define DRM_OMAP_GEM_CPU_FINI 0x05
110 #define DRM_OMAP_GEM_INFO 0x06
111 #define DRM_OMAP_NUM_IOCTLS 0x07
113 #define DRM_IOCTL_OMAP_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GET_PARAM, struct drm_omap_param)
114 #define DRM_IOCTL_OMAP_SET_PARAM DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_SET_PARAM, struct drm_omap_param)
118 #define DRM_IOCTL_OMAP_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_NEW, struct drm_omap_gem_new)
119 #define DRM_IOCTL_OMAP_GEM_CPU_PREP DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_PREP, struct drm_omap_gem_cpu_prep)
120 #define DRM_IOCTL_OMAP_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini)
121 #define DRM_IOCTL_OMAP_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_INFO, struct drm_omap_gem_info)