drm/i915: Add flag to i915_add_request() to skip the cache flush
authorJohn Harrison <John.C.Harrison@Intel.com>
Fri, 29 May 2015 16:43:34 +0000 (17:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jun 2015 12:02:04 +0000 (14:02 +0200)
commit5b4a60c2768434a8c6d5f803a2410245334b8bf7
tree93e2ec13ed7f786615ff37db867f7bf9ed8aa189
parent8a8edb59172983a7c4aa46ab35b5a23a49c729c5
drm/i915: Add flag to i915_add_request() to skip the cache flush

In order to explcitly track all GPU work (and completely remove the outstanding
lazy request), it is necessary to add extra i915_add_request() calls to various
places. Some of these do not need the implicit cache flush done as part of the
standard batch buffer submission process.

This patch adds a flag to _add_request() to specify whether the flush is
required or not.

For: VIZ-5115
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Tomas Elf <tomas.elf@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_gem_render_state.c
drivers/gpu/drm/i915/intel_lrc.c
This page took 0.025187 seconds and 5 git commands to generate.