Skip to content

Commit c09f6b4

Browse files
Caz Yokoyamajnikula
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 (cherry picked from commit 175c4d9) Signed-off-by: Jani Nikula <[email protected]>
1 parent 9777d8b commit c09f6b4

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
@@ -4000,26 +4000,6 @@ static int gen12_emit_flush_render(struct i915_request *request,
40004000

40014001
*cs++ = preparser_disable(false);
40024002
intel_ring_advance(request, cs);
4003-
4004-
/*
4005-
* Wa_1604544889:tgl
4006-
*/
4007-
if (IS_TGL_REVID(request->i915, TGL_REVID_A0, TGL_REVID_A0)) {
4008-
flags = 0;
4009-
flags |= PIPE_CONTROL_CS_STALL;
4010-
flags |= PIPE_CONTROL_HDC_PIPELINE_FLUSH;
4011-
4012-
flags |= PIPE_CONTROL_STORE_DATA_INDEX;
4013-
flags |= PIPE_CONTROL_QW_WRITE;
4014-
4015-
cs = intel_ring_begin(request, 6);
4016-
if (IS_ERR(cs))
4017-
return PTR_ERR(cs);
4018-
4019-
cs = gen8_emit_pipe_control(cs, flags,
4020-
LRC_PPHWSP_SCRATCH_ADDR);
4021-
intel_ring_advance(request, cs);
4022-
}
40234003
}
40244004

40254005
return 0;

0 commit comments

Comments
 (0)