drm/i915/execlists: Pull the render flush into breadcrumb emission
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Dec 2018 15:31:13 +0000 (15:31 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Dec 2018 16:36:55 +0000 (16:36 +0000)
commit6a6237293d0c02e0902b29a86e3e353e21f7bea6
tree5f734b64daf73bc3c11450f1a0bfc8341d4e595d
parent95898ed6856eaa06331feeab75ec5f5a59af08b0
drm/i915/execlists: Pull the render flush into breadcrumb emission

In preparation for removing the manual EMIT_FLUSH prior to emitting the
breadcrumb implement the flush inline with writing the breadcrumb for
execlists. Using one command to both flush and write the breadcrumb is
naturally a tiny bit faster than splitting it into two.

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/20181228153114.4948-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_guc_submission.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.h