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)
commitb8aa223341a9bfc68285c47474f5150225504584
tree59de12fbea11b2cb0c781c4be53f3296e589d136
parent604a8f6f1e33ed53529a117baec92d28e746a601
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