diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-06-26 21:06:31 +0000 |
|---|---|---|
| committer | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-06-29 15:22:43 -0700 |
| commit | e459a3bdeb117be496d7f229e2ea1f6c9fe4080b (patch) | |
| tree | 5ae10a6b0513a409d790625a4b9f33dfcb06b69c /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | ed382e3b07fae51a09d7290485bff0592f6b168b (diff) | |
drm/xe/hw_engine: Fix double-free of managed BO in error path
The error path in hw_engine_init() explicitly frees a BO allocated
with xe_managed_bo_create_pin_map() via xe_bo_unpin_map_no_vm().
Since the managed BO already has a devm cleanup action registered,
this causes a double-free when devm unwinds during probe failure.
Remove the explicit free and let devm handle it, consistent with
all other xe_managed_bo_create_pin_map() callers.
Fixes: 0e1a47fcabc8 ("drm/xe: Add a helper for DRM device-lifetime BO create")
Assisted-by: Claude:claude-opus-4.6
Reviewed-by: Zongyao Bai <zongyao.bai@intel.com>
Link: https://patch.msgid.link/20260626210631.3887291-1-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
