diff options
author | 2021-03-23 16:49:53 +0100 | |
---|---|---|
committer | 2021-03-24 11:41:18 +0100 | |
commit | 237647f4dde94dc17324973a2428b01ed5afa545 (patch) | |
tree | a7bfb765c6a8242be48a134e110a25d52a2086f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Move cmd parser pinning to execbuffer (diff) | |
download | linux-dev-237647f4dde94dc17324973a2428b01ed5afa545.tar.xz linux-dev-237647f4dde94dc17324973a2428b01ed5afa545.zip |
drm/i915: Add missing -EDEADLK handling to execbuf pinning, v2.
i915_vma_pin may fail with -EDEADLK when we start locking page tables,
so ensure we handle this correctly.
Changes since v1:
- Drop -EDEADLK todo, this commit handles it.
- Change eb_pin_vma from sort-of-bool + -EDEADLK to a proper int. (Matt)
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210323155059.628690-5-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions