Subversion Repositories Kolibri OS

Rev

Rev 5022 | Rev 5368 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5022 Rev 5068
Line 425... Line 425...
425
 
425
 
426
/**
426
/**
427
 * DRM_IOCTL_UPDATE_DRAW ioctl argument type.
427
 * DRM_IOCTL_UPDATE_DRAW ioctl argument type.
428
 */
428
 */
429
typedef enum {
429
typedef enum {
430
	DRM_DRAWABLE_CLIPRECTS,
430
	DRM_DRAWABLE_CLIPRECTS
Line 431... Line 431...
431
} drm_drawable_info_type_t;
431
} drm_drawable_info_type_t;
432
 
432
 
433
struct drm_update_draw {
433
struct drm_update_draw {
Line 457... Line 457...
457
};
457
};
Line 458... Line 458...
458
 
458
 
459
enum drm_vblank_seq_type {
459
enum drm_vblank_seq_type {
460
	_DRM_VBLANK_ABSOLUTE = 0x0,	/**< Wait for specific vblank sequence number */
460
	_DRM_VBLANK_ABSOLUTE = 0x0,	/**< Wait for specific vblank sequence number */
461
	_DRM_VBLANK_RELATIVE = 0x1,	/**< Wait for given number of vblanks */
-
 
462
	/* bits 1-6 are reserved for high crtcs */
-
 
463
	_DRM_VBLANK_HIGH_CRTC_MASK = 0x0000003e,
461
	_DRM_VBLANK_RELATIVE = 0x1,	/**< Wait for given number of vblanks */
464
	_DRM_VBLANK_EVENT = 0x4000000,   /**< Send event instead of blocking */
462
	_DRM_VBLANK_EVENT = 0x4000000,   /**< Send event instead of blocking */
465
	_DRM_VBLANK_FLIP = 0x8000000,   /**< Scheduled buffer swap should flip */
463
	_DRM_VBLANK_FLIP = 0x8000000,   /**< Scheduled buffer swap should flip */
466
	_DRM_VBLANK_NEXTONMISS = 0x10000000,	/**< If missed, wait for next vblank */
464
	_DRM_VBLANK_NEXTONMISS = 0x10000000,	/**< If missed, wait for next vblank */
467
	_DRM_VBLANK_SECONDARY = 0x20000000,	/**< Secondary display controller */
465
	_DRM_VBLANK_SECONDARY = 0x20000000,	/**< Secondary display controller */
468
	_DRM_VBLANK_SIGNAL = 0x40000000	/**< Send signal instead of blocking, unsupported */
466
	_DRM_VBLANK_SIGNAL = 0x40000000	/**< Send signal instead of blocking, unsupported */
469
};
-
 
Line 470... Line 467...
470
#define _DRM_VBLANK_HIGH_CRTC_SHIFT 1
467
};
471
 
468
 
472
#define _DRM_VBLANK_TYPES_MASK (_DRM_VBLANK_ABSOLUTE | _DRM_VBLANK_RELATIVE)
469
#define _DRM_VBLANK_TYPES_MASK (_DRM_VBLANK_ABSOLUTE | _DRM_VBLANK_RELATIVE)
Line 620... Line 617...
620
 * monitor by advertising the supported 3D layouts in the flags of struct
617
 * monitor by advertising the supported 3D layouts in the flags of struct
621
 * drm_mode_modeinfo.
618
 * drm_mode_modeinfo.
622
 */
619
 */
623
#define DRM_CLIENT_CAP_STEREO_3D	1
620
#define DRM_CLIENT_CAP_STEREO_3D	1
Line -... Line 621...
-
 
621
 
-
 
622
/**
-
 
623
 * DRM_CLIENT_CAP_UNIVERSAL_PLANES
-
 
624
 *
-
 
625
 * if set to 1, the DRM core will expose the full universal plane list
-
 
626
 * (including primary and cursor planes).
-
 
627
 */
-
 
628
#define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2
624
 
629
 
625
/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
630
/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
626
struct drm_set_client_cap {
631
struct drm_set_client_cap {
627
	__u64 capability;
632
	__u64 capability;
628
	__u64 value;
633
	__u64 value;