summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2025-09-11 00:02:34 +0300
committerJohn Harrison <John.C.Harrison@Intel.com>2025-09-15 19:53:25 +0300
commit537773db91c2765898eee0521d5f03acae5a545f (patch)
tree1568016a66508d405ceb445563a97bb6c7b3fa01 /tools/perf/scripts/python
parentacf01c79f0684e3cbaa8e6326b970d7a7381c2ee (diff)
downloadlinux-537773db91c2765898eee0521d5f03acae5a545f.tar.xz
drm/xe: Allow freeing of a managed bo
If a bo is created via xe_managed_bo_create_pin_map() then it cannot be freed by the driver using xe_bo_unpin_map_no_vm(), or indeed any other existing function. The DRM layer will still have a pointer stashed away for later freeing, causing a invalid memory access on driver unload. So add a helper for releasing the DRM action as well. v2: Drop 'xe' parameter (review feedbak from Michal W) Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Link: https://lore.kernel.org/r/20250910210237.603576-4-John.C.Harrison@Intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions