diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-02 10:31:22 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-07 16:02:11 -0700 |
commit | 5fbe150df29254ba07b42834d582689c80a00f08 (patch) | |
tree | 031716a68f635c17e9cda54f9c69bbce6b376f29 /lib/timerqueue.c | |
parent | c87e58bd2c711816335bb869f747ce25e0ce66ea (diff) |
drm/i915; Only increment the user-pin-count after successfully pinning the bo
commit 93be8788e648817d62fda33e2998eb6ca6ebf3a3 upstream.
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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions