aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2024-08-15 16:05:39 -0700
committerLucas De Marchi <[email protected]>2024-08-16 09:15:04 -0700
commit2e5d47fe7839298fa096970e184aac9bf82c3bd3 (patch)
tree2b6528633322bc4e90782f518040c8a2b8b96c1a /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3396900aa273903639a1792afa4d23dc09bec291 (diff)
drm/xe/uc: Use managed bo for HuC and GSC objects
Drmm actions are not the right ones to clean up BOs and we should use devm instead. However, we can also instead just allocate the objects using the managed_bo function, which will internally register the correct cleanup call and therefore allows us to simplify the code. While at it, switch to drmm_kzalloc for the GSC proxy allocation to further simplify the cleanup. Cc: John Harrison <[email protected]> Cc: Alan Previn <[email protected]> Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions