Rev 5272 | Rev 6934 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5272 | Rev 6082 | ||
---|---|---|---|
Line 628... | Line 628... | ||
628 | * drivers are free to attach another meaning on top, eg. i915 returns the |
628 | * drivers are free to attach another meaning on top, eg. i915 returns the |
629 | * maximum plane size. |
629 | * maximum plane size. |
630 | */ |
630 | */ |
631 | #define DRM_CAP_CURSOR_WIDTH 0x8 |
631 | #define DRM_CAP_CURSOR_WIDTH 0x8 |
632 | #define DRM_CAP_CURSOR_HEIGHT 0x9 |
632 | #define DRM_CAP_CURSOR_HEIGHT 0x9 |
- | 633 | #define DRM_CAP_ADDFB2_MODIFIERS 0x10 |
|
Line 633... | Line 634... | ||
633 | 634 | ||
634 | /** DRM_IOCTL_GET_CAP ioctl argument type */ |
635 | /** DRM_IOCTL_GET_CAP ioctl argument type */ |
635 | struct drm_get_cap { |
636 | struct drm_get_cap { |
636 | __u64 capability; |
637 | __u64 capability; |
Line 652... | Line 653... | ||
652 | * If set to 1, the DRM core will expose all planes (overlay, primary, and |
653 | * If set to 1, the DRM core will expose all planes (overlay, primary, and |
653 | * cursor) to userspace. |
654 | * cursor) to userspace. |
654 | */ |
655 | */ |
655 | #define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2 |
656 | #define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2 |
Line -... | Line 657... | ||
- | 657 | ||
- | 658 | /** |
|
- | 659 | * DRM_CLIENT_CAP_ATOMIC |
|
- | 660 | * |
|
- | 661 | * If set to 1, the DRM core will expose atomic properties to userspace |
|
- | 662 | */ |
|
- | 663 | #define DRM_CLIENT_CAP_ATOMIC 3 |
|
656 | 664 | ||
657 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ |
665 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ |
658 | struct drm_set_client_cap { |
666 | struct drm_set_client_cap { |
659 | __u64 capability; |
667 | __u64 capability; |
660 | __u64 value; |
668 | __u64 value; |
Line 775... | Line 783... | ||
775 | #define DRM_IOCTL_MODE_SETPLANE DRM_IOWR(0xB7, struct drm_mode_set_plane) |
783 | #define DRM_IOCTL_MODE_SETPLANE DRM_IOWR(0xB7, struct drm_mode_set_plane) |
776 | #define DRM_IOCTL_MODE_ADDFB2 DRM_IOWR(0xB8, struct drm_mode_fb_cmd2) |
784 | #define DRM_IOCTL_MODE_ADDFB2 DRM_IOWR(0xB8, struct drm_mode_fb_cmd2) |
777 | #define DRM_IOCTL_MODE_OBJ_GETPROPERTIES DRM_IOWR(0xB9, struct drm_mode_obj_get_properties) |
785 | #define DRM_IOCTL_MODE_OBJ_GETPROPERTIES DRM_IOWR(0xB9, struct drm_mode_obj_get_properties) |
778 | #define DRM_IOCTL_MODE_OBJ_SETPROPERTY DRM_IOWR(0xBA, struct drm_mode_obj_set_property) |
786 | #define DRM_IOCTL_MODE_OBJ_SETPROPERTY DRM_IOWR(0xBA, struct drm_mode_obj_set_property) |
779 | #define DRM_IOCTL_MODE_CURSOR2 DRM_IOWR(0xBB, struct drm_mode_cursor2) |
787 | #define DRM_IOCTL_MODE_CURSOR2 DRM_IOWR(0xBB, struct drm_mode_cursor2) |
- | 788 | #define DRM_IOCTL_MODE_ATOMIC DRM_IOWR(0xBC, struct drm_mode_atomic) |
|
- | 789 | #define DRM_IOCTL_MODE_CREATEPROPBLOB DRM_IOWR(0xBD, struct drm_mode_create_blob) |
|
- | 790 | #define DRM_IOCTL_MODE_DESTROYPROPBLOB DRM_IOWR(0xBE, struct drm_mode_destroy_blob) |
|
Line 780... | Line 791... | ||
780 | 791 | ||
781 | /** |
792 | /** |
782 | * Device specific ioctls should only be in their respective headers |
793 | * Device specific ioctls should only be in their respective headers |
783 | * The device specific ioctl range is from 0x40 to 0x9f. |
794 | * The device specific ioctl range is from 0x40 to 0x9f. |