diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2014-07-07 11:19:57 -0700 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-08 11:56:21 +1000 |
commit | c7dbc6c9ae5c3baa3be755a228a349374d043b5b (patch) | |
tree | 419c7739839b881e5e0dfc8f71ee0fc48c4a9698 /drivers/gpu/drm/drm_ioctl.c | |
parent | ad7f8a1f9ced7f049f9b66d588723f243a7034cd (diff) | |
download | blackbird-op-linux-c7dbc6c9ae5c3baa3be755a228a349374d043b5b.tar.gz blackbird-op-linux-c7dbc6c9ae5c3baa3be755a228a349374d043b5b.zip |
drm: Remove command line guard for universal planes
Universal planes are ready to leave 'experimental' state so drop the
kernel command line parameter that we've been hiding them behind.
Userspace clients that wish to receive universal planes will still need
to opt-in by setting the appropriate capability bit, so this should have
no impact on existing userspace.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_ioctl.c')
-rw-r--r-- | drivers/gpu/drm/drm_ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 69c61f392e66..ad66f961170e 100644 --- a/drivers/gpu/drm/drm_ioctl.c +++ b/drivers/gpu/drm/drm_ioctl.c @@ -342,8 +342,6 @@ drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv) file_priv->stereo_allowed = req->value; break; case DRM_CLIENT_CAP_UNIVERSAL_PLANES: - if (!drm_universal_planes) - return -EINVAL; if (req->value > 1) return -EINVAL; file_priv->universal_planes = req->value; |