]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Move the late flush_submission in retire to the end
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Apr 2020 12:53:56 +0000 (13:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Apr 2020 15:56:23 +0000 (16:56 +0100)
commit6e0e0757b3e2b5474e0f981576534881db2867d0
tree1fcdfcad8bc2ed96fdbc816e32180cb5f1b0b873
parent3b207444c6edaabfdf298787fd35320770d7d52c
drm/i915/gt: Move the late flush_submission in retire to the end

Avoid flushing the submission queue (of others) under the client's
timeline lock, but instead move it to the end so that we may catch more.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/1066
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200420125356.26614-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_gt_requests.c