[PATCH 5/5] ctx-flags

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 13 10:45:07 UTC 2018


---
 drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index ef3c76425843..06a1b61bee42 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -1584,7 +1584,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;
 	}
 
-- 
2.17.1



More information about the Intel-gfx-trybot mailing list