[drm:i915_gem_object_unbind] *ERROR* Attempting to unbind pinned buffer

Ruslan Makhmatkhanov cvs-src at yandex.ru
Sat Aug 29 20:17:21 UTC 2015


Hello,

I'm getting tons of this in /var/log/messages:
error: [drm:pid9:i915_gem_object_unbind] *ERROR* Attempting to unbind 
pinned buffer

As far I understand [1], this case is harmless and there is no point to 
print it with DRM_ERROR - DRM_DEBUG is sufficient. Can we please change 
it in our tree like it done in patch attached? Thanks.

PS. In Linux 3.8 [2] this check was changed by removing the warning 
altogether and just returning -EBUSY, so may be we can do just this to 
reduce the diff ;).

[1] https://bugs.freedesktop.org/show_bug.cgi?id=50075
[2] 
http://lxr.free-electrons.com/source/drivers/gpu/drm/i915/i915_gem.c?v=3.8

-- 
Regards,
Ruslan

T.O.S. Of Reality
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i915_gem_object_unbind_silent.diff
Type: text/x-patch
Size: 397 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150829/6dfdeb76/attachment.bin>


More information about the freebsd-current mailing list