]> 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)
commit107be48783f890404db22d1ad3472261c8f6a2c4
tree1fcdfcad8bc2ed96fdbc816e32180cb5f1b0b873
parent4431115c0e9168e3328408f7cd781f9a8a119d2e
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