i915: Fix a DRM_ERROR that should be DRM_DEBUG.
authorMichel Dänzer <michel@tungstengraphics.com>
Tue, 2 Jan 2007 09:05:48 +0000 (10:05 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Tue, 2 Jan 2007 09:05:48 +0000 (10:05 +0100)
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.

shared-core/i915_irq.c

index a9bbf97..9772365 100644 (file)
@@ -532,7 +532,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);
        }