]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Make fence revocation unequivocal
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Apr 2020 21:01:04 +0000 (22:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Apr 2020 22:34:17 +0000 (23:34 +0100)
commitcde7a44017b348f752bfa93754dabde990daa2f4
tree24bb1feefc61a27a9df610080cb136b258f1f9f9
parent6ce307a0925a87716c8b749f26739315bad6cd36
drm/i915/gt: Make fence revocation unequivocal

If we must revoke the fence because the VMA is no longer present, or
because the fence no longer applies, ensure that we do and convert it
into an error if we try but cannot.

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/20200401210104.15907-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/i915/i915_vma.h