diff options
author | 2020-03-03 20:43:45 +0000 | |
---|---|---|
committer | 2020-03-03 21:52:51 +0000 | |
commit | 003d8b9143a69f0d6b08cc85893eabdf95b231e8 (patch) | |
tree | e4442928b1bdaf488cc1439554a97aa64e5b5865 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/i915/gem: Extract transient execbuf flags from i915_vma (diff) | |
download | linux-dev-003d8b9143a69f0d6b08cc85893eabdf95b231e8.tar.xz linux-dev-003d8b9143a69f0d6b08cc85893eabdf95b231e8.zip |
drm/i915/gem: Only call eb_lookup_vma once during execbuf ioctl
As we no longer stash anything inside i915_vma under the exclusive
protection of struct_mutex, we do not need to revoke the i915_vma
stashes before dropping struct_mutex to handle pagefaults. Knowing that
we must drop the struct_mutex while keeping the eb->vma around, means
that we are required to hold onto to the object reference until we have
marked the vma as active.
Fixes: 155ab8836caa ("drm/i915: Move object close under its own lock")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200303204345.1859734-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions