]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Trim the flush for the legacy request emission
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 08:07:05 +0000 (09:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 09:20:51 +0000 (10:20 +0100)
commit933668eccfaebfed2e233d22c309622e9a5521b1
tree6153dd4fa4983c1cf37a6dc2e7dc87a82e01e86e
parent644dca665a7195ae663eb3efa58ac3a1441714cf
drm/i915: Trim the flush for the legacy request emission

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

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-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c