diff options
author | Chris Wilson <[email protected]> | 2022-09-15 16:26:51 -0700 |
---|---|---|
committer | Matt Roper <[email protected]> | 2022-09-16 07:56:59 -0700 |
commit | 78a033433a5ae4fee85511ee075bc9a48312c79e (patch) | |
tree | d23fa0d5f3e230ad1d761d823268c2c25828b3b2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8adc718881e0a70127f8843dd70e69a80de39352 (diff) |
drm/i915/gt: Cleanup partial engine discovery failures
If we abort driver initialisation in the middle of gt/engine discovery,
some engines will be fully setup and some not. Those incompletely setup
engines only have 'engine->release == NULL' and so will leak any of the
common objects allocated.
v2:
- Drop the destroy_pinned_context() helper for now. It's not really
worth it with just a single callsite at the moment. (Janusz)
Signed-off-by: Chris Wilson <[email protected]>
Cc: Janusz Krzysztofik <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: Janusz Krzysztofik <[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