diff options
author | Chris Wilson <[email protected]> | 2020-10-19 09:34:44 +0100 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2020-10-21 08:32:25 -0400 |
commit | b8cff311a42df4f15d6432583573d828b5c7b12a (patch) | |
tree | 0f7ea3b1af036c97bb76ecfcc5d8f31390d08b4e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4a9bb58aba6db4eba2a8b3aa1edc415c94a669a8 (diff) |
drm/i915/gt: Onion unwind for scratch page allocation failure
In switching to using objects for our ppGTT scratch pages, care was not
taken to avoid trying to unref NULL objects on failure. And for gen6
ppGTT, it appears we forgot entirely to unwind after a partial allocation
failure.
Fixes: 89351925a477 ("drm/i915/gt: Switch to object allocations for page directories")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit fa812ce96a46efc27cae4dcad866aaee9cb25d28)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions