commit | 93be8788e648817d62fda33e2998eb6ca6ebf3a3 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Jan 02 10:31:22 2013 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Jan 07 10:30:53 2013 +0100 |
tree | 0c30130bb74ea0f3d784a2b6ee14668285a426e7 | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed [diff] |
drm/i915; Only increment the user-pin-count after successfully pinning the bo 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@chris-wilson.co.uk> Cc: stable@vger.kernel.org Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>