]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Lift opportunistic process_csb to before engine lock
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Jun 2020 22:11:13 +0000 (23:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 13 Jun 2020 09:15:54 +0000 (10:15 +0100)
commit972dae63d3b17035a986ef947d577997500f8e3e
tree1009e96435c9cd6272b15140fd630843f1997b6b
parentf0a741326bd6fb0afaf41a55ca0a3ef78abef5ce
drm/i915/execlists: Lift opportunistic process_csb to before engine lock

Since the process_csb() does not require us to hold the
engine->active.lock, we can move the opportunistic flush before
direction submission to outside of the lock.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200612221113.9129-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c