Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 07:43:02 +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-head@freebsd.org
Subject:   svn commit: r289109 - head/sys/dev/drm2/i915
Message-ID:  <201510100743.t9A7h2OI000544@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Sat Oct 10 07:43:02 2015
New Revision: 289109
URL: https://svnweb.freebsd.org/changeset/base/289109

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 after:	1 week

Modified:
  head/sys/dev/drm2/i915/i915_gem.c

Modified: head/sys/dev/drm2/i915/i915_gem.c
==============================================================================
--- head/sys/dev/drm2/i915/i915_gem.c	Sat Oct 10 06:43:44 2015	(r289108)
+++ head/sys/dev/drm2/i915/i915_gem.c	Sat Oct 10 07:43:02 2015	(r289109)
@@ -2527,10 +2527,8 @@ i915_gem_object_unbind(struct drm_i915_g
 	if (obj->gtt_space == NULL)
 		return 0;
 
-	if (obj->pin_count) {
-		DRM_ERROR("Attempting to unbind pinned buffer\n");
+	if (obj->pin_count)
 		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?201510100743.t9A7h2OI000544>