drm/vmwgfx: Remove getparam error message
Subsystems (4)
PATCH 1/1 drm/vmwgfx: Remove getparam error message
The mesa winsys sometimes uses unimplemented parameter requests to check for features. Remove the error message to avoid bloating the kernel log.
Cc <[email protected]>
Signed-off-by Thomas Hellstrom <[email protected]>
Reviewed-by Brian Paul <[email protected]>
Reviewed-by Sinclair Yeh <[email protected]>
--- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c +0 -2
@@ -114,8 +114,6 @@ int vmw_getparam_ioctl(struct drm_device *dev, void *data, param->value = dev_priv->has_dx;break ;default : -DRM_ERROR ("Illegal vmwgfx get param request: %d\n" , - param->param);return -EINVAL ; }
Signature · 6 lines
2.5.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Thomas,
2017-03-28 Thomas Hellstrom <[email protected]>:
Quoted 17 lines
The mesa winsys sometimes uses unimplemented parameter requests to check for features. Remove the error message to avoid bloating the kernel log.
Cc <[email protected]>Signed-off-by Thomas Hellstrom <[email protected]>Reviewed-by Brian Paul <[email protected]>Reviewed-by Sinclair Yeh <[email protected]>--- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 2 -- 1 file changed, 2 deletions(-)drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c +0
-0
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c int vmw_getparam_ioctl(struct drm_device *dev, void *data, · line 118
Quoted 5 lines
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c +0
-2@@ -114,8 +114,6 @@ int vmw_getparam_ioctl(struct drm_device *dev, void *data, param->value = dev_priv->has_dx;break ;default : -DRM_ERROR ("Illegal vmwgfx get param request: %d\n" , - param->param);
How about turning it into a debug message instead? Do you think it will be useful?
Gustavo
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel