diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-02-25 01:34:49 +0000 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2026-02-26 14:13:27 -0800 |
| commit | a235e7d0098337c3f2d1e8f3610c719a589e115f (patch) | |
| tree | a06d9d9c13a452d93ff61bdbfcfa1194277b8cb4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9941b3ca10977a583a6e78707023066fd9cd6311 (diff) | |
drm/xe/configfs: Free ctx_restore_mid_bb in release
ctx_restore_mid_bb memory is allocated in wa_bb_store(), but
xe_config_device_release() only frees ctx_restore_post_bb.
Free ctx_restore_mid_bb[0].cs as well to avoid leaking the allocation
when the configfs device is removed.
Fixes: b30d5de3d40c ("drm/xe/configfs: Add mid context restore bb")
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Link: https://patch.msgid.link/20260225013448.3547687-2-shuicheng.lin@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
