diff options
| author | Chris Wilson <[email protected]> | 2020-03-03 20:43:45 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-03-03 21:52:51 +0000 |
| commit | 003d8b9143a69f0d6b08cc85893eabdf95b231e8 (patch) | |
| tree | e4442928b1bdaf488cc1439554a97aa64e5b5865 /drivers/gpu/drm/drm_dp_mst_topology.c | |
| parent | drm/i915/gem: Extract transient execbuf flags from i915_vma (diff) | |
| download | kernel-003d8b9143a69f0d6b08cc85893eabdf95b231e8.tar.gz kernel-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 <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions
