File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -3253,6 +3253,26 @@ static int gen12_emit_flush_render(struct i915_request *request,
3253
3253
3254
3254
* cs ++ = preparser_disable (false);
3255
3255
intel_ring_advance (request , cs );
3256
+
3257
+ /*
3258
+ * Wa_1604544889:tgl
3259
+ */
3260
+ if (IS_TGL_REVID (request -> i915 , TGL_REVID_A0 , TGL_REVID_A0 )) {
3261
+ flags = 0 ;
3262
+ flags |= PIPE_CONTROL_CS_STALL ;
3263
+ flags |= PIPE_CONTROL_HDC_PIPELINE_FLUSH ;
3264
+
3265
+ flags |= PIPE_CONTROL_STORE_DATA_INDEX ;
3266
+ flags |= PIPE_CONTROL_QW_WRITE ;
3267
+
3268
+ cs = intel_ring_begin (request , 6 );
3269
+ if (IS_ERR (cs ))
3270
+ return PTR_ERR (cs );
3271
+
3272
+ cs = gen8_emit_pipe_control (cs , flags ,
3273
+ LRC_PPHWSP_SCRATCH_ADDR );
3274
+ intel_ring_advance (request , cs );
3275
+ }
3256
3276
}
3257
3277
3258
3278
return 0 ;
You can’t perform that action at this time.
0 commit comments