Message ID | 20180613145901.29306-1-chris@chris-wilson.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index dda671e0a680..4a9f44c61edd 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c @@ -1556,7 +1556,7 @@ static inline int mi_set_context(struct i915_request *rq, u32 flags) *cs++ = MI_SET_CONTEXT; *cs++ = i915_ggtt_offset(to_intel_context(i915->kernel_context, engine)->state) | - MI_MM_SPACE_GTT | + flags | MI_RESTORE_INHIBIT; }
Provide the extended state (or resource streamer bits for Haswell) flags when doing a forced restore of the current context by temporarily loading the kernel context. Fixes: 1fc719d13ac0 ("drm/i915/ringbuffer: Brute force context restore") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Cc: Matthew Auld <matthew.william.auld@gmail.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> --- drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)