[Intel-gfx] [PATCH] drm/i915; Only increment the user-pin-count after successfully pinning the bo

Daniel Vetter daniel at ffwll.ch
Sun Jan 6 18:27:59 CET 2013


On Wed, Jan 02, 2013 at 10:31:22AM +0000, Chris Wilson wrote:
> As along the error path we do not correct the user pin-count for the
> failure, we may end up with userspace believing that it has a pinned
> object at offset 0 (when interrupted by a signal for example).
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: stable at vger.kernel.org

pin_vs_interrupt in i-g-t? In any case, applied to -fixes, thanks for the
patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list