diff options
| author | 2018-12-07 09:02:11 +0000 | |
|---|---|---|
| committer | 2018-12-07 12:12:50 +0000 | |
| commit | 5f5800a765de8414f6fb213c4ad4a1cf529e131d (patch) | |
| tree | 10321191c337968106174d39a5684faefe547d8c /drivers/gpu/drm/i915/i915_request.c | |
| parent | drm/i915/icl: Forcibly evict stale csb entries (diff) | |
| download | wireguard-linux-5f5800a765de8414f6fb213c4ad4a1cf529e131d.tar.xz wireguard-linux-5f5800a765de8414f6fb213c4ad4a1cf529e131d.zip | |
drm/i915: Push EMIT_INVALIDATE at request start to backends
Move the common engine->emit_flush(EMIT_INVALIDATE) back to the backends
(where it was once previously) as we seek to specialise it in future
patches.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181207090213.14352-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
| -rw-r--r-- | drivers/gpu/drm/i915/i915_request.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c index ca95ab2f4cfa..8ab8e8e6a086 100644 --- a/drivers/gpu/drm/i915/i915_request.c +++ b/drivers/gpu/drm/i915/i915_request.c @@ -719,11 +719,6 @@ i915_request_alloc(struct intel_engine_cs *engine, struct i915_gem_context *ctx) */ rq->head = rq->ring->emit; - /* Unconditionally invalidate GPU caches and TLBs. */ - ret = engine->emit_flush(rq, EMIT_INVALIDATE); - if (ret) - goto err_unwind; - ret = engine->request_alloc(rq); if (ret) goto err_unwind; |
