aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-03-30 14:37:10 +0100
committerChris Wilson <[email protected]>2020-03-30 20:08:13 +0100
commit0f1dd02295f35dcdcbaafcbcbbec0753884ab974 (patch)
tree96213812c940c0a0141ad6052eddb7b7490571d1 /tools/perf/scripts/python/exported-sql-viewer.py
parentd7d50f801d445f9f17221573c2eda9f7b23fb891 (diff)
drm/i915/gem: Split eb_vma into its own allocation
Use a separate array allocation for the execbuf vma, so that we can track their lifetime independently from the copy of the user arguments. With luck, this has a secondary benefit of splitting the malloc size to within reason and avoid vmalloc. The downside is that we might require two separate vmallocs -- but much less likely. In the process, this prevents a memory leak on the ww_mutex error unwind. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1390 Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions