]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Retire directly for mmap-offset shrinking
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Oct 2019 13:40:05 +0000 (14:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Oct 2019 14:39:25 +0000 (15:39 +0100)
commitf6ce2876bd9bc85676b5b33fa949d3ec8e4d4312
tree62aa06065d70110a6f6b65efa6f936ca896e024d
parente7db72f1bd527641f4a79bb0571c9a94de05101b
drm/i915/gem: Retire directly for mmap-offset shrinking

Now that we can retire without taking struct_mutex, we can do so to
handle shrinking the mmap-offset space after an allocation failure.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004134015.13204-11-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_mman.c