BUG: pin_count exceeded in i915_gem_object_pin

Arnd Bergmann arnd at arndb.de
Mon Oct 18 00:44:23 PDT 2010

On Monday 18 October 2010, Chris Wilson wrote:
> On Sun, 17 Oct 2010 20:06:37 +0200, Arnd Bergmann <arnd at arndb.de> wrote:
> > This happened when I killed Xorg as root after plugging in a different screen.
> > kdm usually restarts immediately, so I don't know if this was the dying Xorg
> > or the new one.
> The new BUG_ON() has spotted that we are leaking pinned fb. I haven't
> gotten to the bottom of this entirely yet, in theory this should be fixed
> with the unpin fb added when disabling the connector in -next. I am not
> totally convinced that explains everything in this case though:
> https://bugs.freedesktop.org/show_bug.cgi?id=29857

Well, this was using -next from friday, which should already include that
fix, right?

It sounds to me that there is another unpin missing in the close path
for the file descriptor.


More information about the dri-devel mailing list