From: =?utf-8?q?Michel_D=C3=A4nzer?= Date: Mon, 8 Jan 2007 09:38:34 +0000 (+1100) Subject: i915: Fix a DRM_ERROR that should be DRM_DEBUG. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=eac681b3aec226c83f52d307254d88393aab5eb9;p=openwrt%2Fstaging%2Fblogic.git i915: Fix a DRM_ERROR that should be DRM_DEBUG. 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 --- diff --git a/drivers/char/drm/i915_irq.c b/drivers/char/drm/i915_irq.c index e2c4b3a41b1e..78c1ae28f17c 100644 --- a/drivers/char/drm/i915_irq.c +++ b/drivers/char/drm/i915_irq.c @@ -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); }