]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Push the GPU cancellation to the backend
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Feb 2020 23:51:35 +0000 (23:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 22 Feb 2020 10:20:12 +0000 (10:20 +0000)
commit0cf83d6b2ff07804f82376975a92bf2c54794889
tree51a2f844967097ae7d66a2fd58a3cd5a3209be3a
parent3c79439daab780100146a8c28f2eab0581f2ff2e
drm/i915/gt: Push the GPU cancellation to the backend

Upon unregistering the user interface, we mark the GPU as wedged to
ensure we push no new work to the GPU, and to flush all current work
from the GPU. Move this call to the GT backend.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200221235135.2883006-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/i915_drv.c