aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
-rw-r--r--drivers/gpu/drm/i915/i915_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index f187250e60c6..9092f5464c24 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -817,6 +817,8 @@ i915_request_alloc(struct intel_engine_cs *engine, struct i915_gem_context *ctx)
817 /* Keep a second pin for the dual retirement along engine and ring */ 817 /* Keep a second pin for the dual retirement along engine and ring */
818 __intel_context_pin(ce); 818 __intel_context_pin(ce);
819 819
820 rq->infix = rq->ring->emit; /* end of header; start of user payload */
821
820 /* Check that we didn't interrupt ourselves with a new request */ 822 /* Check that we didn't interrupt ourselves with a new request */
821 GEM_BUG_ON(rq->timeline->seqno != rq->fence.seqno); 823 GEM_BUG_ON(rq->timeline->seqno != rq->fence.seqno);
822 return rq; 824 return rq;