-
- Downloads
drm/i915/gt: Flush other retirees inside intel_gt_retire_requests()
Our goal in wait_for_idle (intel_gt_retire_requests) is to the current workload *and* their idle barriers. This requires us to notice the late arrival of those, which is done by inspecting the list of active timelines. However, if a concurrent retirer is running that new timeline may not be added until after we drop the lock -- so flush concurrent retirers before we take the lock and inspect the list. Closes: https://gitlab.freedesktop.org/drm/intel/issues/878 Signed-off-by:Chris Wilson <chris@chris-wilson.co.uk> Acked-by:
Andi Shyti <andi.shyti@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191223211008.2371613-1-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/gt/intel_engine.h 1 addition, 1 deletiondrivers/gpu/drm/i915/gt/intel_engine.h
- drivers/gpu/drm/i915/gt/intel_engine_cs.c 1 addition, 5 deletionsdrivers/gpu/drm/i915/gt/intel_engine_cs.c
- drivers/gpu/drm/i915/gt/intel_gt_requests.c 5 additions, 11 deletionsdrivers/gpu/drm/i915/gt/intel_gt_requests.c
Please register or sign in to comment