diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2024-12-20 20:41:54 +0100 |
---|---|---|
committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-01-19 00:11:56 +0100 |
commit | 9cd3f4efc870463f17f6c29114c61fb6bfcaa291 (patch) | |
tree | c31491c35abeb5e347536f4cb344c4a67b6aec96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 13265fe7426ec9ba5aa86baab913417ca361e8a4 (diff) |
drm/xe/sa: Always call drm_suballoc_manager_fini()
After successful call to drm_suballoc_manager_init() we should
make sure to call drm_suballoc_manager_fini() as it may include
some cleanup code even if we didn't start using it for real.
As we can abort init() early due to kvzalloc() failure, we should
either explicitly call drm_suballoc_manager_fini() or, even better,
postpone drm_suballoc_manager_init() once we finish all other
preparation steps, so we can rely on fini() that will do cleanup.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220194205.995-2-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions