diff options
author | Maarten Lankhorst <[email protected]> | 2022-01-14 14:23:15 +0100 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2022-01-18 12:00:29 +0100 |
commit | e849f7e708600a9d7567ae22f945b5b01d7f7401 (patch) | |
tree | e16b5e8d48fdbc0e861ef4393adedde1d22963dc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 647bfd26bf054313305ea9c2c4a1c71f3bbfee63 (diff) |
drm/i915: Call i915_gem_evict_vm in vm_fault_gtt to prevent new ENOSPC errors, v2.
Now that we cannot unbind kill the currently locked object directly
because we're removing short term pinning, we may have to unbind the
object from gtt manually, using a i915_gem_evict_vm() call.
Changes since v1:
- Remove -ENOSPC warning, can still happen with concurrent mmaps
where we can't unbind the other mmap because of the lock held.
This fixes the gem_mmap_gtt@cpuset tests.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions