]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Flush ongoing retires during wait_for_idle
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Jan 2020 23:16:04 +0000 (23:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Jan 2020 00:33:07 +0000 (00:33 +0000)
commitf3898142323f8e3251fcb1041a4a709ec25785c4
treeacc500ac757525b88df02defdd76aee3bf634686
parent0ba971d28e5f144e7a4981ad2b355b16772bab65
drm/i915/gt: Flush ongoing retires during wait_for_idle

Synchronise with any background retires and parking we may have spawned,
so that all requests are accounted for.

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/20200102231604.1669010-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt_requests.c
drivers/gpu/drm/i915/intel_wakeref.c
drivers/gpu/drm/i915/intel_wakeref.h