i915: Fix a DRM_ERROR that should be DRM_DEBUG.
author=?utf-8?q?Michel_D=C3=A4nzer?= <michel@tungstengraphics.com>
Mon, 8 Jan 2007 09:38:34 +0000 (20:38 +1100)
committerDave Airlie <airlied@linux.ie>
Mon, 8 Jan 2007 09:38:34 +0000 (20:38 +1100)
It would clutter up the kernel output in a situation which is legitimate before
X.org 7.2 and handled correctly by the 3D driver.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/i915_irq.c

index e2c4b3a41b1e33bb64d7c379c21e4873de9fcbf0..78c1ae28f17cd65f1441609359aea708f7149394 100644 (file)
@@ -500,7 +500,7 @@ int i915_vblank_swap(DRM_IOCTL_ARGS)
 
        if (!drm_get_drawable_info(dev, swap.drawable)) {
                spin_unlock_irqrestore(&dev->drw_lock, irqflags);
-               DRM_ERROR("Invalid drawable ID %d\n", swap.drawable);
+               DRM_DEBUG("Invalid drawable ID %d\n", swap.drawable);
                return DRM_ERR(EINVAL);
        }