Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eac681b3 authored by Michel Dänzer's avatar Michel Dänzer Committed by Dave Airlie
Browse files

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: default avatarDave Airlie <airlied@linux.ie>
parent bf81b464
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -500,7 +500,7 @@ int i915_vblank_swap(DRM_IOCTL_ARGS)


	if (!drm_get_drawable_info(dev, swap.drawable)) {
	if (!drm_get_drawable_info(dev, swap.drawable)) {
		spin_unlock_irqrestore(&dev->drw_lock, irqflags);
		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);
		return DRM_ERR(EINVAL);
	}
	}