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

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Sat, 29 Aug 2015 18:01:29 -0700
On Sat, Aug 29, 2015 at 1:15 PM, Ruslan Makhmatkhanov <cvs-src_at_yandex.ru>
wrote:

> 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
>

Big +1.

I've reported this in the (distant) past. It fills my logs, often with
thousands of these messages. It makes it hard to find any REAL messages in
the middle. (OK. "grep -v" works.) It is just a annoyance to have to deal
with these.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman_at_gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Received on Sat Aug 29 2015 - 23:01:31 UTC

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