74,6 → 74,7 |
/* Dithering mode options */ |
#define DRM_MODE_DITHERING_OFF 0 |
#define DRM_MODE_DITHERING_ON 1 |
#define DRM_MODE_DITHERING_AUTO 2 |
|
/* Dirty info options */ |
#define DRM_MODE_DIRTY_OFF 0 |
276,7 → 277,7 |
#define DRM_MODE_CURSOR_MOVE (1<<1) |
|
/* |
* depending on the value in flags diffrent members are used. |
* depending on the value in flags different members are used. |
* |
* CURSOR_BO uses |
* crtc |
343,4 → 344,33 |
__u64 user_data; |
}; |
|
/* create a dumb scanout buffer */ |
struct drm_mode_create_dumb { |
uint32_t height; |
uint32_t width; |
uint32_t bpp; |
uint32_t flags; |
/* handle, pitch, size will be returned */ |
uint32_t handle; |
uint32_t pitch; |
uint64_t size; |
}; |
|
/* set up for mmap of a dumb scanout buffer */ |
struct drm_mode_map_dumb { |
/** Handle for the object being mapped. */ |
__u32 handle; |
__u32 pad; |
/** |
* Fake offset to use for subsequent mmap call |
* |
* This is a fixed-size type for 32/64 compatibility. |
*/ |
__u64 offset; |
}; |
|
struct drm_mode_destroy_dumb { |
uint32_t handle; |
}; |
|
#endif |