Back to index

libdrm  2.4.37
Classes | Defines | Enumerations
omap_drm.h File Reference
#include "drm.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  drm_omap_param
struct  drm_omap_get_base
union  omap_gem_size
struct  drm_omap_gem_new
struct  drm_omap_gem_cpu_prep
struct  drm_omap_gem_cpu_fini
struct  drm_omap_gem_info
struct  omap_gem_size.tiled

Defines

#define OMAP_PARAM_CHIPSET_ID   1 /* ie. 0x3430, 0x4430, etc */
#define OMAP_BO_SCANOUT   0x00000001 /* scanout capable (phys contiguous) */
#define OMAP_BO_CACHE_MASK   0x00000006 /* cache type mask, see cache modes */
#define OMAP_BO_TILED_MASK   0x00000f00 /* tiled mapping mask, see tiled modes */
#define OMAP_BO_CACHED   0x00000000 /* default */
#define OMAP_BO_WC   0x00000002 /* write-combine */
#define OMAP_BO_UNCACHED   0x00000004 /* strongly-ordered (uncached) */
#define OMAP_BO_TILED_8   0x00000100
#define OMAP_BO_TILED_16   0x00000200
#define OMAP_BO_TILED_32   0x00000300
#define OMAP_BO_TILED   (OMAP_BO_TILED_8 | OMAP_BO_TILED_16 | OMAP_BO_TILED_32)
#define DRM_OMAP_GET_PARAM   0x00
#define DRM_OMAP_SET_PARAM   0x01
#define DRM_OMAP_GET_BASE   0x02
#define DRM_OMAP_GEM_NEW   0x03
#define DRM_OMAP_GEM_CPU_PREP   0x04
#define DRM_OMAP_GEM_CPU_FINI   0x05
#define DRM_OMAP_GEM_INFO   0x06
#define DRM_OMAP_NUM_IOCTLS   0x07
#define DRM_IOCTL_OMAP_GET_PARAM   DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GET_PARAM, struct drm_omap_param)
#define DRM_IOCTL_OMAP_SET_PARAM   DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_SET_PARAM, struct drm_omap_param)
#define DRM_IOCTL_OMAP_GET_BASE   DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GET_BASE, struct drm_omap_get_base)
#define DRM_IOCTL_OMAP_GEM_NEW   DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_NEW, struct drm_omap_gem_new)
#define DRM_IOCTL_OMAP_GEM_CPU_PREP   DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_PREP, struct drm_omap_gem_cpu_prep)
#define DRM_IOCTL_OMAP_GEM_CPU_FINI   DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini)
#define DRM_IOCTL_OMAP_GEM_INFO   DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_INFO, struct drm_omap_gem_info)

Enumerations

enum  omap_gem_op { OMAP_GEM_READ = 0x01, OMAP_GEM_WRITE = 0x02 }

Class Documentation

struct drm_omap_param

Definition at line 40 of file omap_drm.h.

Class Members
uint64_t param
uint64_t value
struct drm_omap_get_base

Definition at line 45 of file omap_drm.h.

Class Members
uint32_t __pad
uint32_t ioctl_base
char plugin_name
union omap_gem_size

Definition at line 66 of file omap_drm.h.

Class Members
uint32_t bytes
struct omap_gem_size tiled
struct drm_omap_gem_new

Definition at line 74 of file omap_drm.h.

Class Members
uint32_t __pad
uint32_t flags
uint32_t handle
struct drm_omap_gem_cpu_prep

Definition at line 87 of file omap_drm.h.

Class Members
uint32_t handle
uint32_t op
struct drm_omap_gem_cpu_fini

Definition at line 92 of file omap_drm.h.

Class Members
uint32_t __pad
uint32_t handle
uint32_t nregions
uint32_t op
struct drm_omap_gem_info

Definition at line 103 of file omap_drm.h.

Class Members
uint32_t __pad
uint32_t handle
uint64_t offset
uint32_t pad
uint32_t size
struct omap_gem_size.tiled

Definition at line 68 of file omap_drm.h.

Class Members
uint16_t height
uint16_t width

Define Documentation

Definition at line 131 of file omap_drm.h.

Definition at line 130 of file omap_drm.h.

Definition at line 132 of file omap_drm.h.

Definition at line 129 of file omap_drm.h.

Definition at line 128 of file omap_drm.h.

Definition at line 126 of file omap_drm.h.

Definition at line 127 of file omap_drm.h.

#define DRM_OMAP_GEM_CPU_FINI   0x05

Definition at line 122 of file omap_drm.h.

#define DRM_OMAP_GEM_CPU_PREP   0x04

Definition at line 121 of file omap_drm.h.

#define DRM_OMAP_GEM_INFO   0x06

Definition at line 123 of file omap_drm.h.

#define DRM_OMAP_GEM_NEW   0x03

Definition at line 120 of file omap_drm.h.

#define DRM_OMAP_GET_BASE   0x02

Definition at line 119 of file omap_drm.h.

#define DRM_OMAP_GET_PARAM   0x00

Definition at line 117 of file omap_drm.h.

#define DRM_OMAP_NUM_IOCTLS   0x07

Definition at line 124 of file omap_drm.h.

#define DRM_OMAP_SET_PARAM   0x01

Definition at line 118 of file omap_drm.h.

#define OMAP_BO_CACHE_MASK   0x00000006 /* cache type mask, see cache modes */

Definition at line 52 of file omap_drm.h.

#define OMAP_BO_CACHED   0x00000000 /* default */

Definition at line 56 of file omap_drm.h.

#define OMAP_BO_SCANOUT   0x00000001 /* scanout capable (phys contiguous) */

Definition at line 51 of file omap_drm.h.

Definition at line 64 of file omap_drm.h.

#define OMAP_BO_TILED_16   0x00000200

Definition at line 62 of file omap_drm.h.

#define OMAP_BO_TILED_32   0x00000300

Definition at line 63 of file omap_drm.h.

#define OMAP_BO_TILED_8   0x00000100

Definition at line 61 of file omap_drm.h.

#define OMAP_BO_TILED_MASK   0x00000f00 /* tiled mapping mask, see tiled modes */

Definition at line 53 of file omap_drm.h.

#define OMAP_BO_UNCACHED   0x00000004 /* strongly-ordered (uncached) */

Definition at line 58 of file omap_drm.h.

#define OMAP_BO_WC   0x00000002 /* write-combine */

Definition at line 57 of file omap_drm.h.

#define OMAP_PARAM_CHIPSET_ID   1 /* ie. 0x3430, 0x4430, etc */

Definition at line 38 of file omap_drm.h.


Enumeration Type Documentation

Enumerator:
OMAP_GEM_READ 
OMAP_GEM_WRITE 

Definition at line 82 of file omap_drm.h.

                 {
       OMAP_GEM_READ = 0x01,
       OMAP_GEM_WRITE = 0x02,
};