aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-10-15 10:39:15 +0100
committerChris Wilson <[email protected]>2019-10-15 11:46:40 +0100
commit56184a20a80037c39fccc78b683cf593a2db4c5f (patch)
treeec56d8129bb995a12a69cf8addf375c803ed28b5 /tools/perf/scripts/python/event_analyzing_sample.py
parentfa41d6ee904266fa8739cafa6ec038c3a8e435b7 (diff)
drm/i915: Drop obj.page_pin_count after a failed vma->set_pages()
Before we attempt to set_pages on the vma, we claim a obj.pages_pin_count for it. If we subsequently fail to set the pages on the vma, we need to drop our pinning before returning the error. Reported-by: Matthew Auld <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions