diff options
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/drm_drv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 4f41377b0b80..d51213464672 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c | |||
@@ -40,15 +40,19 @@ | |||
40 | unsigned int drm_debug = 0; /* 1 to enable debug output */ | 40 | unsigned int drm_debug = 0; /* 1 to enable debug output */ |
41 | EXPORT_SYMBOL(drm_debug); | 41 | EXPORT_SYMBOL(drm_debug); |
42 | 42 | ||
43 | bool drm_atomic = 0; | ||
44 | |||
43 | MODULE_AUTHOR(CORE_AUTHOR); | 45 | MODULE_AUTHOR(CORE_AUTHOR); |
44 | MODULE_DESCRIPTION(CORE_DESC); | 46 | MODULE_DESCRIPTION(CORE_DESC); |
45 | MODULE_LICENSE("GPL and additional rights"); | 47 | MODULE_LICENSE("GPL and additional rights"); |
46 | MODULE_PARM_DESC(debug, "Enable debug output"); | 48 | MODULE_PARM_DESC(debug, "Enable debug output"); |
49 | MODULE_PARM_DESC(atomic, "Enable experimental atomic KMS API"); | ||
47 | MODULE_PARM_DESC(vblankoffdelay, "Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately)"); | 50 | MODULE_PARM_DESC(vblankoffdelay, "Delay until vblank irq auto-disable [msecs] (0: never disable, <0: disable immediately)"); |
48 | MODULE_PARM_DESC(timestamp_precision_usec, "Max. error on timestamps [usecs]"); | 51 | MODULE_PARM_DESC(timestamp_precision_usec, "Max. error on timestamps [usecs]"); |
49 | MODULE_PARM_DESC(timestamp_monotonic, "Use monotonic timestamps"); | 52 | MODULE_PARM_DESC(timestamp_monotonic, "Use monotonic timestamps"); |
50 | 53 | ||
51 | module_param_named(debug, drm_debug, int, 0600); | 54 | module_param_named(debug, drm_debug, int, 0600); |
55 | module_param_named_unsafe(atomic, drm_atomic, bool, 0600); | ||
52 | 56 | ||
53 | static DEFINE_SPINLOCK(drm_minor_lock); | 57 | static DEFINE_SPINLOCK(drm_minor_lock); |
54 | static struct idr drm_minors_idr; | 58 | static struct idr drm_minors_idr; |