Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2016 21:56:49 +0000 (UTC)
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293857 - stable/10/sys/dev/drm2/i915
Message-ID:  <201601132156.u0DLunQs020854@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Wed Jan 13 21:56:48 2016
New Revision: 293857
URL: https://svnweb.freebsd.org/changeset/base/293857

Log:
  drm/i915: Remove "Attempting to unbind pinned buffer" message
  
  This error message is removed in later versions of Linux and currently,
  it spams users.
  
  PR:		200712
  MFC of:		r289109

Modified:
  stable/10/sys/dev/drm2/i915/i915_gem.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/drm2/i915/i915_gem.c
==============================================================================
--- stable/10/sys/dev/drm2/i915/i915_gem.c	Wed Jan 13 21:50:08 2016	(r293856)
+++ stable/10/sys/dev/drm2/i915/i915_gem.c	Wed Jan 13 21:56:48 2016	(r293857)
@@ -2771,10 +2771,8 @@ i915_gem_object_unbind(struct drm_i915_g
 	ret = 0;
 	if (obj->gtt_space == NULL)
 		return (0);
-	if (obj->pin_count != 0) {
-		DRM_ERROR("Attempting to unbind pinned buffer\n");
+	if (obj->pin_count != 0)
 		return (-EINVAL);
-	}
 
 	ret = i915_gem_object_finish_gpu(obj);
 	if (ret == -ERESTARTSYS || ret == -EINTR)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601132156.u0DLunQs020854>