diff options
author | Eric Anholt <eric@anholt.net> | 2009-02-03 15:10:21 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-02-08 06:38:23 -0500 |
commit | 122ee2a63bc49d21f402f6b6d2208306cdcc98c1 (patch) | |
tree | 754391a5df9749173316d9fd6382e4bd9af9e554 | |
parent | 565dcd4635f4f8c0ac4dee38a5625bc325799b1e (diff) |
drm/i915: Quiet the message on get/setparam ioctl with an unknown value.
Getting an unknown get/setparam used to be more significant back when they
didn't change much. However, now that we're in the git world we're using
them instead of a monotonic version number to signal feature availability,
so clients ask about unknown params on older kernels more often.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index cc0adb428cee..0ded483d9ac7 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c | |||
@@ -735,7 +735,7 @@ static int i915_getparam(struct drm_device *dev, void *data, | |||
735 | value = dev_priv->num_fence_regs - dev_priv->fence_reg_start; | 735 | value = dev_priv->num_fence_regs - dev_priv->fence_reg_start; |
736 | break; | 736 | break; |
737 | default: | 737 | default: |
738 | DRM_ERROR("Unknown parameter %d\n", param->param); | 738 | DRM_DEBUG("Unknown parameter %d\n", param->param); |
739 | return -EINVAL; | 739 | return -EINVAL; |
740 | } | 740 | } |
741 | 741 | ||
@@ -775,7 +775,7 @@ static int i915_setparam(struct drm_device *dev, void *data, | |||
775 | dev_priv->fence_reg_start = param->value; | 775 | dev_priv->fence_reg_start = param->value; |
776 | break; | 776 | break; |
777 | default: | 777 | default: |
778 | DRM_ERROR("unknown parameter %d\n", param->param); | 778 | DRM_DEBUG("unknown parameter %d\n", param->param); |
779 | return -EINVAL; | 779 | return -EINVAL; |
780 | } | 780 | } |
781 | 781 | ||