Skip to content

Commit 175c4d9

Browse files
Caz Yokoyamazehortigoza
authored andcommitted
Revert "drm/i915/tgl: Add extra hdc flush workaround"
This reverts commit 36a6b5d. The commit takes care Wa_1604544889 which was fixed on a0 stepping based on a0 replan. So no SW workaround is required on any stepping now. Reviewed-by: Matt Roper <[email protected]> Signed-off-by: Caz Yokoyama <[email protected]> Signed-off-by: José Roberto de Souza <[email protected]> Fixes: 36a6b5d ("drm/i915/tgl: Add extra hdc flush workaround") Link: https://patchwork.freedesktop.org/patch/msgid/1c751032ce79c80c5485cae315f1a9904ce07cac.1583359940.git.caz.yokoyama@intel.com
1 parent 22ca8a4 commit 175c4d9

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

drivers/gpu/drm/i915/gt/intel_lrc.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4165,26 +4165,6 @@ static int gen12_emit_flush_render(struct i915_request *request,
41654165

41664166
*cs++ = preparser_disable(false);
41674167
intel_ring_advance(request, cs);
4168-
4169-
/*
4170-
* Wa_1604544889:tgl
4171-
*/
4172-
if (IS_TGL_REVID(request->i915, TGL_REVID_A0, TGL_REVID_A0)) {
4173-
flags = 0;
4174-
flags |= PIPE_CONTROL_CS_STALL;
4175-
flags |= PIPE_CONTROL_HDC_PIPELINE_FLUSH;
4176-
4177-
flags |= PIPE_CONTROL_STORE_DATA_INDEX;
4178-
flags |= PIPE_CONTROL_QW_WRITE;
4179-
4180-
cs = intel_ring_begin(request, 6);
4181-
if (IS_ERR(cs))
4182-
return PTR_ERR(cs);
4183-
4184-
cs = gen8_emit_pipe_control(cs, flags,
4185-
LRC_PPHWSP_SCRATCH_ADDR);
4186-
intel_ring_advance(request, cs);
4187-
}
41884168
}
41894169

41904170
return 0;

0 commit comments

Comments
 (0)