| From 53e16798b0864464c5444a204e1bb93ae246c429 Mon Sep 17 00:00:00 2001 |
| From: Thomas Hellstrom <thellstrom@vmware.com> |
| Date: Mon, 27 Mar 2017 13:06:05 +0200 |
| Subject: drm/vmwgfx: Remove getparam error message |
| |
| From: Thomas Hellstrom <thellstrom@vmware.com> |
| |
| commit 53e16798b0864464c5444a204e1bb93ae246c429 upstream. |
| |
| The mesa winsys sometimes uses unimplemented parameter requests to |
| check for features. Remove the error message to avoid bloating the |
| kernel log. |
| |
| Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> |
| Reviewed-by: Brian Paul <brianp@vmware.com> |
| Reviewed-by: Sinclair Yeh <syeh@vmware.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 2 -- |
| 1 file changed, 2 deletions(-) |
| |
| --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c |
| +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c |
| @@ -114,8 +114,6 @@ int vmw_getparam_ioctl(struct drm_device |
| param->value = dev_priv->has_dx; |
| break; |
| default: |
| - DRM_ERROR("Illegal vmwgfx get param request: %d\n", |
| - param->param); |
| return -EINVAL; |
| } |
| |