drm: Remove command line guard for render nodes (v2)
Subsystems (2)
PATCH 1/1 drm: Remove command line guard for render nodes (v2)
Render nodes are ready to leave the experimental state so drop the kernel command line parameter which was hiding them by default. I swore we had already enabled these by default, that appears to not be the case.
v2: remove rnodes parameter description
--- drivers/gpu/drm/drm_stub.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/gpu/drm/drm_stub.c +1 -6
@@ -37,9 +37,6 @@unsigned int drm_debug =0 ;/* 1 to enable debug output */ EXPORT_SYMBOL (drm_debug); -unsigned int drm_rnodes =0 ;/* 1 to enable experimental render nodes API */ -EXPORT_SYMBOL (drm_rnodes); -/* 1 to allow user space to request universal planes (experimental) */ unsigned int drm_universal_planes =0 ;EXPORT_SYMBOL (drm_universal_planes);
@@ -60,13 +57,11 @@ MODULE_AUTHOR(CORE_AUTHOR);MODULE_DESCRIPTION (CORE_DESC );MODULE_LICENSE ("GPL and additional rights" );MODULE_PARM_DESC (debug,"Enable debug output" ); -MODULE_PARM_DESC (rnodes,"Enable experimental render nodes API" );MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs]" );MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]" );MODULE_PARM_DESC (timestamp_monotonic,"Use monotonic timestamps" );module_param_named (debug, drm_debug, int,0600 ); -module_param_named (rnodes, drm_rnodes, int,0600 );module_param_named (universal_planes, drm_universal_planes, int,0600 );module_param_named (vblankoffdelay, drm_vblank_offdelay, int,0600 );module_param_named (timestamp_precision_usec, drm_timestamp_precision, int,0600 );
@@ -588,7 +583,7 @@ struct drm_device *drm_dev_alloc(struct drm_driver *driver, goto err_minors; } -if (drm_core_check_feature (dev,DRIVER_RENDER ) && drm_rnodes) { +if (drm_core_check_feature (dev,DRIVER_RENDER )) { ret =drm_minor_alloc (dev,DRM_MINOR_RENDER );if (ret) goto err_minors;
Signature · 1 line
1.8.3.1
Hi
Quoted 8 lines · Alex Deucher
Render nodes are ready to leave the experimental state so drop the kernel command line parameter which was hiding them by default. I swore we had already enabled these by default, that appears to not be the case.
v2: remove rnodes parameter description
Signed-off-by Alex Deucher <[email protected]>
For completeness:
You still missed the line in drmP.h. I have it queued in my -next branch [1].
Thanks
David
Quoted 48 lines
--- drivers/gpu/drm/drm_stub.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)drivers/gpu/drm/drm_stub.c +1
-7@@ -37,9 +37,6 @@unsigned int drm_debug =0 ;/* 1 to enable debug output */ EXPORT_SYMBOL (drm_debug); -unsigned int drm_rnodes =0 ;/* 1 to enable experimental render nodes API */ -EXPORT_SYMBOL (drm_rnodes); -/* 1 to allow user space to request universal planes (experimental) */ unsigned int drm_universal_planes =0 ;EXPORT_SYMBOL (drm_universal_planes);@@ -60,13 +57,11 @@ MODULE_AUTHOR(CORE_AUTHOR);MODULE_DESCRIPTION (CORE_DESC );MODULE_LICENSE ("GPL and additional rights" );MODULE_PARM_DESC (debug,"Enable debug output" ); -MODULE_PARM_DESC (rnodes,"Enable experimental render nodes API" );MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs]" );MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]" );MODULE_PARM_DESC (timestamp_monotonic,"Use monotonic timestamps" );module_param_named (debug, drm_debug, int,0600 ); -module_param_named (rnodes, drm_rnodes, int,0600 );module_param_named (universal_planes, drm_universal_planes, int,0600 );module_param_named (vblankoffdelay, drm_vblank_offdelay, int,0600 );module_param_named (timestamp_precision_usec, drm_timestamp_precision, int,0600 );@@ -588,7 +583,7 @@ struct drm_device *drm_dev_alloc(struct drm_driver *driver, goto err_minors; } -if (drm_core_check_feature (dev,DRIVER_RENDER ) && drm_rnodes) { +if (drm_core_check_feature (dev,DRIVER_RENDER )) { ret =drm_minor_alloc (dev,DRM_MINOR_RENDER );if (ret) goto err_minors; --1.8.3.1
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · David Herrmann
Hi
Quoted 5 lines · Alex Deucher
Render nodes are ready to leave the experimental state so drop the kernel command line parameter which was hiding them by default. I swore we had already enabled these by default, that appears to not be the case.
Quoted 7 lines
Quoted 3 lines
v2: remove rnodes parameter description
Signed-off-by Alex Deucher <[email protected]>For completeness:
You still missed the line indrmP.h. I have it queued in my -next branch [1].
Thanks! Feel free to add my Acked-by.
Alex
Quoted 53 lines
Thanks
DavidQuoted 48 lines
--- drivers/gpu/drm/drm_stub.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)drivers/gpu/drm/drm_stub.c +1
-7@@ -37,9 +37,6 @@unsigned int drm_debug =0 ;/* 1 to enable debug output */ EXPORT_SYMBOL (drm_debug); -unsigned int drm_rnodes =0 ;/* 1 to enable experimental render nodes API */ -EXPORT_SYMBOL (drm_rnodes); -/* 1 to allow user space to request universal planes (experimental) */ unsigned int drm_universal_planes =0 ;EXPORT_SYMBOL (drm_universal_planes);@@ -60,13 +57,11 @@ MODULE_AUTHOR(CORE_AUTHOR);MODULE_DESCRIPTION (CORE_DESC );MODULE_LICENSE ("GPL and additional rights" );MODULE_PARM_DESC (debug,"Enable debug output" ); -MODULE_PARM_DESC (rnodes,"Enable experimental render nodes API" );MODULE_PARM_DESC (vblankoffdelay,"Delay until vblank irq auto-disable [msecs]" );MODULE_PARM_DESC (timestamp_precision_usec,"Max. error on timestamps [usecs]" );MODULE_PARM_DESC (timestamp_monotonic,"Use monotonic timestamps" );module_param_named (debug, drm_debug, int,0600 ); -module_param_named (rnodes, drm_rnodes, int,0600 );module_param_named (universal_planes, drm_universal_planes, int,0600 );module_param_named (vblankoffdelay, drm_vblank_offdelay, int,0600 );module_param_named (timestamp_precision_usec, drm_timestamp_precision, int,0600 );@@ -588,7 +583,7 @@ struct drm_device *drm_dev_alloc(struct drm_driver *driver, goto err_minors; } -if (drm_core_check_feature (dev,DRIVER_RENDER ) && drm_rnodes) { +if (drm_core_check_feature (dev,DRIVER_RENDER )) { ret =drm_minor_alloc (dev,DRM_MINOR_RENDER );if (ret) goto err_minors; --1.8.3.1
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi
Quoted 11 lines · Alex Deucher
Quoted 10 lines · David Herrmann
Hi
Quoted 7 lines · Alex Deucher
Render nodes are ready to leave the experimental state so drop the kernel command line parameter which was hiding them by default. I swore we had already enabled these by default, that appears to not be the case.
v2: remove rnodes parameter description
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Alex Deucher <[email protected]>For completeness:
You still missed the line indrmP.h. I have it queued in my -next branch [1].Thanks! Feel free to add my Acked-by.
Added! Thanks!
David