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) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"