diff options
| author | Chris Wilson <[email protected]> | 2017-02-27 12:26:53 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-02-27 13:09:19 +0000 |
| commit | 2f7399af94a2d6f6459373969d266708e6a7fc38 (patch) | |
| tree | 4948bd034d9a8bcbc7d2ba4e043f1d9b87425c5e /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | bf75d59eff679d2e2b7af5c6958a088f8a458f7a (diff) | |
drm/i915: Unwind vma->pages allocation upon failure
If we fail to allocate the ppgtt range after allocating the pages for
the vma, we should unwind the local allocation before reporting back the
failure.
Fixes: ff685975d97f ("drm/i915: Move allocate_va_range to GTT")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions