diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-07-31 09:50:15 +0100 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2020-09-07 13:29:19 +0300 |
commit | af5c6fcf403288e8656143549881c3eb716cae53 (patch) | |
tree | 8a12a03af03dd1becd50589b590b2dfff7123e2b /drivers/gpu/drm/i915/i915_cmd_parser.c | |
parent | 9ff33bbcda259a7d1d4df8c977b32cf431972387 (diff) |
drm/i915: Provide a fastpath for waiting on vma bindings
Before we can execute a request, we must wait for all of its vma to be
bound. This is a frequent operation for which we can optimise away a
few atomic operations (notably a cmpxchg) in lieu of the RCU protection.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Thomas Hellström <thomas.hellstrom@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200731085015.32368-7-chris@chris-wilson.co.uk
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_cmd_parser.c')
0 files changed, 0 insertions, 0 deletions