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

From: Ruslan Makhmatkhanov <cvs-src_at_yandex.ru>
Date: Sat, 29 Aug 2015 23:15:53 +0300
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

Received on Sat Aug 29 2015 - 18:17:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC