]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/gt: Add breadcrumb retire to physical engine
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Dec 2019 22:13:44 +0000 (22:13 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Dec 2019 23:24:48 +0000 (23:24 +0000)
commit7d1ff0d9faf66f630c104a6ca6b8a3c6091ba3a3
tree6386432f2d324d9bd579b4d414feeeb4143578d9
parentf7f1538c3f7c03eca66a85a6e847108e18ef88bf
drm/i915/gt: Add breadcrumb retire to physical engine

Avoid adding the retire workers to the virtual engine so that we don't
end up in the unenviable situation of trying to free the virtual engine
while its worker remains active.

Fixes: dc93c9b69315 ("drm/i915/gt: Schedule request retirement when signaler idles")
Closes: https://gitlab.freedesktop.org/drm/intel/issues/867
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191219221344.161523-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
drivers/gpu/drm/i915/gt/intel_lrc.c