Skip to content

Commit 8b72ce1

Browse files
fooishbarairlied
authored andcommitted
drm: Always enable atomic API
Now that the interface has been proven by a port of Weston (using all atomic features including TEST_ONLY), remove the module parameter guarding the atomic API from being exposed, and let it run free in the wild. Signed-off-by: Daniel Stone <daniels@collabora.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent fa2f97d commit 8b72ce1

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

drivers/gpu/drm/drm_drv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,11 @@ MODULE_AUTHOR(CORE_AUTHOR);
4646
MODULE_DESCRIPTION(CORE_DESC);
4747
MODULE_LICENSE("GPL and additional rights");
4848
MODULE_PARM_DESC(debug, "Enable debug output");
49-
MODULE_PARM_DESC(atomic, "Enable experimental atomic KMS API");
5049
MODULE_PARM_DESC(vblankoffdelay, "Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately)");
5150
MODULE_PARM_DESC(timestamp_precision_usec, "Max. error on timestamps [usecs]");
5251
MODULE_PARM_DESC(timestamp_monotonic, "Use monotonic timestamps");
5352

5453
module_param_named(debug, drm_debug, int, 0600);
55-
module_param_named_unsafe(atomic, drm_atomic, bool, 0600);
5654

5755
static DEFINE_SPINLOCK(drm_minor_lock);
5856
static struct idr drm_minors_idr;

drivers/gpu/drm/drm_ioctl.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,6 @@ drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
350350
file_priv->universal_planes = req->value;
351351
break;
352352
case DRM_CLIENT_CAP_ATOMIC:
353-
/* for now, hide behind experimental drm.atomic moduleparam */
354-
if (!drm_atomic)
355-
return -EINVAL;
356353
if (!drm_core_check_feature(dev, DRIVER_ATOMIC))
357354
return -EINVAL;
358355
if (req->value > 1)

0 commit comments

Comments
 (0)