diff options
author | Jonathan Cavitt <[email protected]> | 2023-09-26 11:30:28 +0200 |
---|---|---|
committer | Nirmoy Das <[email protected]> | 2023-09-30 12:35:43 +0200 |
commit | 0951dce656e2b3c4c9a5096cd2cedb39a5d6e637 (patch) | |
tree | ed63d290f3a81058814bbf733ecf070fbbeeda24 /scripts/gdb/linux/utils.py | |
parent | 37d62359b15e1f8374e5f8ba9e5fe03408faf864 (diff) |
drm/i915/gem: Make i915_gem_shrinker multi-gt aware
Where applicable, use for_each_gt instead of to_gt in the
i915_gem_shrinker functions to make them apply to more than just the
primary GT. Specifically, this ensure i915_gem_shrink_all retires all
requests across all GTs, and this makes i915_gem_shrinker_vmap unmap
VMAs from all GTs.
v2: Pass correct GT to intel_gt_retire_requests(Andrzej).
v3: Remove unnecessary braces(Andi)
v4: Undo v3 to fix build failure.
Signed-off-by: Jonathan Cavitt <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions