<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Yes, that's the case.</div>
<div>It has RCC related silicon issues in gen12-lp. </div>
<div>Followings are two consecutive GPU hangs we found in SG1 and DG1 linux which have no media compressible render target.</div>
<div><font size="2"><span style="font-size:10pt;">1. <a href="https://hsdes.intel.com/appstore/article/"><font face="Helvetica Neue" color="#0056B3"><u>HSD-1508524297</u></font></a> [SG1][DG1] GPU hang in PIPECONTROL in running 120 ways of Android container
with running pocket story HD apk. </span></font></div>
<div><font face="Wingdings" size="2"><span style="font-size:11pt;">à</span></font> The solution is disable RHWO optimization in default. </div>
<div>2. <a href="https://hsdes.intel.com/appstore/article/"><font color="#0563C1"><u>hsd-1508734716</u></font></a> [DG1][Linux] GPU hang in PIPECONTROL(IPEHR:0x7a000004) with (PSS, RCPFE, RCC, WMFE) not done in running Monkey test </div>
<div><font face="Wingdings" size="2"><span style="font-size:11pt;">à</span></font> The solution is keeping RHWO optimization in when Render Target Resolve type is PARTIAL or FULL. The change will be in mesa code.</div>
<div> </div>
<div>SV and RCC design team have further study and give the root cause explain the bug-eco HSD of <a href="https://hsdes.intel.com/appstore/article/"><font color="#0563C1"><u>1508744258 - Hang due to deadlock created by RHWO scenario with RHWO optimization
enabled</u></font></a>.</div>
<div><font face="Times New Roman"> </font></div>
<div>BTW, recently, Windows team found similar GPU hangs in custom’s TGL platform and need “disable RHWO” as the WA solution. So it’s a general issues in Gen12 (TGL and DG1). </div>
<ul style="margin:0;padding-left:72pt;">
<font face="Times New Roman">
<li><a href="https://hsdes.intel.com/appstore/article/"><font face="Calibri" color="#0563C1"><u>14012336472 - [HP-TDC_IEC/HarryPotter]SIO1880260 Simple Solitaire UI show garbage when playing the game by finger.</u></font></a><font face="Calibri"> </font></li><li><a href="https://hsdes.intel.com/appstore/article/"><font face="Calibri" color="#0563C1"><u>18014955083 - [TGL] Sporadic pixel shader hang when alpha blending is enabled </u></font></a><font face="Calibri"> (SV sighting)</font></li></font>
</ul>
<div><font face="Times New Roman"> </font></div>
<div>Thanks</div>
<div>Han Zhen</div>
<a name="_MailEndCompose"></a>
<div> </div>
<div>-----Original Message-----<br>
From: De Marchi, Lucas <lucas.demarchi@intel.com> <br>
Sent: Wednesday, March 3, 2021 9:07 AM<br>
To: intel-gfx@lists.freedesktop.org<br>
Cc: Han, Zhen <zhen.han@intel.com>; Liu, Jianjun <jianjun.liu@intel.com>; Liu, Chuansheng <chuansheng.liu@intel.com>; Sripada, Radhakrishna <radhakrishna.sripada@intel.com><br>
Subject: [PATCH 4/4] drm/i915/dg1: WA GPU hang at RCC</div>
<div><font face="Times New Roman"> </font></div>
<div>From: Zhen Han <<a href="mailto:zhen.han@intel.com">zhen.han@intel.com</a>></div>
<div> </div>
<div>GPU hangs at RCC. According to Wa_14012131227 we shouldn't have a hang due to RHWO, but that is what we are observing, even without media compressible render target. Feedback from HW engineers is to leave RHWO disabled.</div>
<div> </div>
<div>Cc: Jianjun Liu <<a href="mailto:Jianjun.liu@intel.com">Jianjun.liu@intel.com</a>></div>
<div>Cc: Chuansheng Liu <<a href="mailto:chuansheng.liu@intel.com">chuansheng.liu@intel.com</a>></div>
<div>Cc: Radhakrishna Sripada <<a href="mailto:radhakrishna.sripada@intel.com">radhakrishna.sripada@intel.com</a>></div>
<div>Signed-off-by: Zhen Han <<a href="mailto:zhen.han@intel.com">zhen.han@intel.com</a>></div>
<div>Signed-off-by: Lucas De Marchi <<a href="mailto:lucas.demarchi@intel.com">lucas.demarchi@intel.com</a>></div>
<div>---</div>
<div> drivers/gpu/drm/i915/gt/intel_workarounds.c | 11 +++++++++++</div>
<div> 1 file changed, 11 insertions(+)</div>
<div> </div>
<div>diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c b/drivers/gpu/drm/i915/gt/intel_workarounds.c</div>
<div>index e678fa8d2ab9..5235fb70a69a 100644</div>
<div>--- a/drivers/gpu/drm/i915/gt/intel_workarounds.c</div>
<div>+++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c</div>
<div>@@ -739,6 +739,17 @@ static void dg1_ctx_workarounds_init(struct intel_engine_cs *engine,</div>
<div> FF_MODE2,</div>
<div> FF_MODE2_GS_TIMER_MASK,</div>
<div> FF_MODE2_GS_TIMER_224, 0);</div>
<div>+</div>
<div>+ /*</div>
<div>+ * Wa_14012131227</div>
<div>+ *</div>
<div>+ * Although the WA is described as causing corruption when using media</div>
<div>+ * compressible render target, leaving RHWO enabled is also causing</div>
<div>+ * gpu hang when using multiple concurrent render and media workloads.</div>
<div>+ * Disable it completely for now.</div>
<div>+ */</div>
<div>+ wa_masked_en(wal, GEN7_COMMON_SLICE_CHICKEN1,</div>
<div>+ GEN9_RHWO_OPTIMIZATION_DISABLE);</div>
<div> }</div>
<div> </div>
<div> static void</div>
<div>--</div>
<div>2.30.1</div>
<div><font face="Times New Roman"> </font></div>
<div><font face="Times New Roman"> </font></div>
</span></font>
</body>
</html>