]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/gen12: Flush L3
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 6 May 2020 14:47:33 +0000 (17:47 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 May 2020 06:44:41 +0000 (07:44 +0100)
Flush TDL,L3 and EUs

Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200506144734.29297-3-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/gt/intel_lrc.c

index 78f879ed4aa79e2076bf9f4821214d1ea6ae8204..e1235d5048372a72aeeb60e4c1f13cf4bf429943 100644 (file)
@@ -4547,6 +4547,7 @@ static int gen12_emit_flush_render(struct i915_request *request,
                u32 *cs;
 
                flags |= PIPE_CONTROL_TILE_CACHE_FLUSH;
+               flags |= PIPE_CONTROL_FLUSH_L3;
                flags |= PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH;
                flags |= PIPE_CONTROL_DEPTH_CACHE_FLUSH;
                /* Wa_1409600907:tgl */
@@ -4758,6 +4759,7 @@ gen12_emit_fini_breadcrumb_rcs(struct i915_request *request, u32 *cs)
                                       PIPE_CONTROL0_HDC_PIPELINE_FLUSH,
                                       PIPE_CONTROL_CS_STALL |
                                       PIPE_CONTROL_TILE_CACHE_FLUSH |
+                                      PIPE_CONTROL_FLUSH_L3 |
                                       PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH |
                                       PIPE_CONTROL_DEPTH_CACHE_FLUSH |
                                       /* Wa_1409600907:tgl */