diff options
| -rw-r--r-- | drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/drivers/gpu/drm/i915/gt/gen8_engine_cs.c b/drivers/gpu/drm/i915/gt/gen8_engine_cs.c index 460c9225a50f..6210b38a2d38 100644 --- a/drivers/gpu/drm/i915/gt/gen8_engine_cs.c +++ b/drivers/gpu/drm/i915/gt/gen8_engine_cs.c @@ -214,7 +214,11 @@ int gen12_emit_flush_rcs(struct i915_request *rq, u32 mode)  {  	struct intel_engine_cs *engine = rq->engine; -	if (mode & EMIT_FLUSH) { +	/* +	 * On Aux CCS platforms the invalidation of the Aux +	 * table requires quiescing memory traffic beforehand +	 */ +	if (mode & EMIT_FLUSH || gen12_needs_ccs_aux_inv(engine)) {  		u32 flags = 0;  		int err;  		u32 *cs; | 
