]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/lrc: Skip no-op per-bb buffer on gen9
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 21 Sep 2017 13:54:44 +0000 (14:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Sep 2017 09:21:45 +0000 (10:21 +0100)
commita069075e3d16dc5332015c111ddffe1a711d97dd
tree59de12fbea11b2cb0c781c4be53f3296e589d136
parentf3194c44ce605e71dbed686177de3c6d3526e043
drm/i915/lrc: Skip no-op per-bb buffer on gen9

Since we inherited the context image setup from gen8 which needed a
per-bb workaround (for GPGPU), we are submitting an empty per-bb buffer
on gen9. Now that we can skip adding the buffer to the context image,
remove the dangling per-bb. This slightly improves execution latency,
most notably on an idle engine.

References: https://bugs.freedesktop.org/show_bug.cgi?id=87725
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170921135444.27330-2-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/intel_lrc.c