]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Drop relocation slowpath
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Mar 2020 16:03:10 +0000 (16:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Mar 2020 20:28:57 +0000 (20:28 +0000)
commit99d6a5c7baee901ef3b0798545e39b0402b1bb75
tree6245a86ed2d71169405e9de46e5a408257f58211
parent8e0044e254fd21fe879ddbf07b8eed9c074e2489
drm/i915/gem: Drop relocation slowpath

Since the relocations are no longer performed under a global
struct_mutex, or any other lock, that is also held by pagefault handlers,
we can relax and allow our fast path to take a fault. As we no longer
need to abort the fast path for lock avoidance, we no longer need the
slow path handling at all.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200311160310.26711-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c