Rev 5368 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5368 | Rev 6110 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #ifndef _DRM_H_ |
36 | #ifndef _DRM_H_ |
37 | #define _DRM_H_ |
37 | #define _DRM_H_ |
Line 38... | Line 38... | ||
38 | 38 | ||
Line -... | Line 39... | ||
- | 39 | #include |
|
39 | #include |
40 | |
40 | 41 | #include |
|
41 | typedef int8_t __s8; |
42 | typedef int8_t __s8; |
42 | typedef uint8_t __u8; |
43 | typedef uint8_t __u8; |
43 | typedef int16_t __s16; |
44 | typedef int16_t __s16; |
Line 625... | Line 626... | ||
625 | * if set to 1, the DRM core will expose the full universal plane list |
626 | * if set to 1, the DRM core will expose the full universal plane list |
626 | * (including primary and cursor planes). |
627 | * (including primary and cursor planes). |
627 | */ |
628 | */ |
628 | #define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2 |
629 | #define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2 |
Line -... | Line 630... | ||
- | 630 | ||
- | 631 | /** |
|
- | 632 | * DRM_CLIENT_CAP_ATOMIC |
|
- | 633 | * |
|
- | 634 | * If set to 1, the DRM core will allow atomic modesetting requests. |
|
- | 635 | */ |
|
- | 636 | #define DRM_CLIENT_CAP_ATOMIC 3 |
|
629 | 637 | ||
630 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ |
638 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ |
631 | struct drm_set_client_cap { |
639 | struct drm_set_client_cap { |
632 | __u64 capability; |
640 | __u64 capability; |
633 | __u64 value; |
641 | __u64 value; |
Line 671... | Line 679... | ||
671 | 679 | ||
672 | #define SRV_FBINFO 44 |
680 | #define SRV_FBINFO 44 |
673 | #define SRV_MASK_UPDATE 45 |
681 | #define SRV_MASK_UPDATE 45 |
Line 674... | Line -... | ||
674 | #define SRV_MASK_UPDATE_EX 46 |
- | |
- | 682 | #define SRV_MASK_UPDATE_EX 46 |
|
- | 683 | ||
Line 675... | Line 684... | ||
675 | 684 | #define SRV_I915_GEM_PREAD 47 |
|
Line 676... | Line 685... | ||
676 | 685 | #define SRV_I915_GEM_EXECBUFFER 48 |
|
677 | 686 | ||
Line 827... | Line 836... | ||
827 | #define DRM_CAP_DUMB_PREFERRED_DEPTH 0x3 |
836 | #define DRM_CAP_DUMB_PREFERRED_DEPTH 0x3 |
828 | #define DRM_CAP_DUMB_PREFER_SHADOW 0x4 |
837 | #define DRM_CAP_DUMB_PREFER_SHADOW 0x4 |
829 | #define DRM_CAP_PRIME 0x5 |
838 | #define DRM_CAP_PRIME 0x5 |
830 | #define DRM_CAP_TIMESTAMP_MONOTONIC 0x6 |
839 | #define DRM_CAP_TIMESTAMP_MONOTONIC 0x6 |
831 | #define DRM_CAP_ASYNC_PAGE_FLIP 0x7 |
840 | #define DRM_CAP_ASYNC_PAGE_FLIP 0x7 |
- | 841 | #define DRM_CAP_ADDFB2_MODIFIERS 0x10 |
|
Line 832... | Line 842... | ||
832 | 842 | ||
833 | #define DRM_PRIME_CAP_IMPORT 0x1 |
843 | #define DRM_PRIME_CAP_IMPORT 0x1 |
Line 834... | Line 844... | ||
834 | #define DRM_PRIME_CAP_EXPORT 0x2 |
844 | #define DRM_PRIME_CAP_EXPORT 0x2 |