svn commit: r289109 - head/sys/dev/drm2/i915
Jean-Sébastien Pédron
dumbbell at FreeBSD.org
Sat Oct 10 07:43:03 UTC 2015
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)
More information about the svn-src-all
mailing list