]> git.baikalelectronics.ru Git - 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)
commitd6213d5925ffa4513bf84c93751d839546252ff0
tree6386432f2d324d9bd579b4d414feeeb4143578d9
parent2d5f1114cd5e6b51b8696d2b753ca5310a7af61a
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: 27418a6c19a0 ("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