diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-21 14:37:09 +0100 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-03-21 17:07:53 +0100 |
commit | f3e08e98bf408a44182b0e3e946521a0e9b5482f (patch) | |
tree | 2d0a0cf14e5c0e28e330f5e7e3bd69fd6a51f718 /tools/perf/scripts/python | |
parent | 7c53ff050ba88bb37eed3e17f2bb8ec592d83302 (diff) |
drm/xe: Simplify pinned bo iteration
Introduce and use a helper to iterate over the various pinned bo lists.
There are a couple of slight functional changes:
1) GGTT maps are now performed with the bo locked.
2) If the per-bo callback fails, keep the bo on the original list.
v2:
- Skip unrelated change in xe_bo.c
Cc: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250321133709.75327-1-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions