]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Allow userspace to ask for universal plane list (v2)
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 1 Apr 2014 22:22:42 +0000 (15:22 -0700)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Apr 2014 00:18:29 +0000 (20:18 -0400)
commit5d5c46bd90256f48b9fe5d3ef4cc2c290031541d
tree950dde2a3943854b0910c684689315febabbf817
parent4196e707c790fdf5077ae12d581406aca3fa47f8
drm: Allow userspace to ask for universal plane list (v2)

Userspace clients which wish to receive all DRM planes (primary and
cursor planes in addition to the traditional overlay planes) may set the
DRM_CLIENT_CAP_UNIVERSAL_PLANES capability.

v2: Hide behind drm.universal_planes module option [suggested by
    Daniel Vetter]

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_ioctl.c
drivers/gpu/drm/drm_stub.c
include/drm/drmP.h
include/uapi/drm/drm.h