From: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx> Avoid possible cs hang with semaphores by disabling lite restore. References: 921f0c47f228 ("drm/i915: Revert "drm/i915/tgl: Wa_1607138340"") Signed-off-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx> Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> Cc: Tony Ye <tony.ye@xxxxxxxxx> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> --- Let's give this another spin. The hangs are still occuring on tgl-b0. --- drivers/gpu/drm/i915/gt/intel_lrc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c index f1067806e8d8..80dae2f298ba 100644 --- a/drivers/gpu/drm/i915/gt/intel_lrc.c +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c @@ -1504,6 +1504,10 @@ static u64 execlists_update_context(struct i915_request *rq) */ wmb(); + /* Wa_1607138340:tgl */ + if (IS_TGL_REVID(rq->engine->i915, TGL_REVID_A0, TGL_REVID_B0)) + desc |= CTX_DESC_FORCE_RESTORE; + ce->lrc.desc &= ~CTX_DESC_FORCE_RESTORE; return desc; } -- 2.20.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx