diff options
author | Dave Airlie <airlied@redhat.com> | 2014-04-01 20:31:43 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-04-01 22:09:09 -0400 |
commit | 2844ea3f252331cc0ecf3ae74f6226db2f580f8a (patch) | |
tree | 8e221e499662c0e768505b5fe24b9c574e92cf33 /include/uapi/drm | |
parent | e3d6ddb35f6221859b6054879d186e13a3af351e (diff) | |
parent | 6efa1f2f5417e628572a75e667a9d8c63d21bd17 (diff) |
Merge branch 'primary-plane' of git://people.freedesktop.org/~robclark/linux into drm-next
Here's the latest iteration of the universal planes work, which I believe is
finally ready for merging. Aside from the minor driver patches to use the
new drm_for_each_legacy_plane() macro for plane loops, these should all have
an r-b from Rob Clark now.
Actual userspace-visibility is currently hidden behind a
drm.universal_planes module parameter so that we can do some experimental
testing of this before flipping it on universally.
* 'primary-plane' of git://people.freedesktop.org/~robclark/linux:
drm/doc: Update plane documentation and add plane helper library
drm: Allow userspace to ask for universal plane list (v2)
drm: Remove unused drm_crtc->fb
drm: Replace crtc fb with primary plane fb (v3)
drm/msm: Switch to universal plane API's
drm: Add drm_crtc_init_with_planes() (v2)
drm: Add plane type property (v2)
drm: Add drm_universal_plane_init()
drm: Add primary plane helpers (v3)
drm: Make drm_crtc_check_viewport non-static
drm/shmobile: Restrict plane loops to only operate on legacy planes
drm/i915: Restrict plane loops to only operate on overlay planes (v2)
drm/exynos: Restrict plane loops to only operate on overlay planes (v2)
drm: Add support for multiple plane types (v2)
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index ec6b259a879c..9abbeb924cbb 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h | |||
@@ -646,6 +646,14 @@ struct drm_get_cap { | |||
646 | */ | 646 | */ |
647 | #define DRM_CLIENT_CAP_STEREO_3D 1 | 647 | #define DRM_CLIENT_CAP_STEREO_3D 1 |
648 | 648 | ||
649 | /** | ||
650 | * DRM_CLIENT_CAP_UNIVERSAL_PLANES | ||
651 | * | ||
652 | * If set to 1, the DRM core will expose all planes (overlay, primary, and | ||
653 | * cursor) to userspace. | ||
654 | */ | ||
655 | #define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2 | ||
656 | |||
649 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ | 657 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ |
650 | struct drm_set_client_cap { | 658 | struct drm_set_client_cap { |
651 | __u64 capability; | 659 | __u64 capability; |