diff options
author | Mika Kuoppala <[email protected]> | 2023-12-05 16:41:42 +0200 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:45:28 -0500 |
commit | 06d5ae90579e774934552ca023c4bbc56e8253f4 (patch) | |
tree | daafcef546774dcc1f32d7f98cfa016f9a51d362 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 5a92da34ddb4ec75a037d4a956afa993876c67d4 (diff) |
drm/xe/vm: Avoid asid lookup if none allocated
The destroy path can and will get called for incomplete
vm objects on error paths, where the asid is not yet allocated.
This leads to lookup fail and assert triggered.
Fix this by not asserting of asid existence if vm never
got assigned one.
Cc: Ohad Sharabi <[email protected]>
Cc: Thomas Hellström <[email protected]>
Cc: Matthew Auld <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions