drm/i915: Trim the flush for the execlists request emission
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 08:07:06 +0000 (09:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 09:20:51 +0000 (10:20 +0100)
commit0e93cdd4a94c16f646ad7d10ed5d0ca64e8de424
tree51a65acf4057ff501ddd26a38f4c33ed65a88f80
parenta0442461f2caa406ce77261214ec3217fe3cac22
drm/i915: Trim the flush for the execlists request emission

At the start of request emission, we flush some space for the request,
estimating the typical size for the request body. The common tail is now
much larger than the typical body, so we can shrink the flush
substantially.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461917226-9132-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c