<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#008000;margin:15pt;" align="Left">
[Public]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
DCN 3.1.6 needs it, but I don't know if yellow carp needs it. I think this is only applicable to kernel 5.18.
<a id="OWAAM829909" class="t0qjo mention ms-bgc-nlr ms-fcl-b" href="mailto:Nicholas.Kazlauskas@amd.com">
@Kazlauskas, Nicholas</a> can you verify?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Alex</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> VURDIGERENATARAJ, CHANDAN <CHANDAN.VURDIGERENATARAJ@amd.com><br>
<b>Sent:</b> Wednesday, May 18, 2022 8:36 AM<br>
<b>To:</b> Sasha Levin <sashal@kernel.org>; linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>; stable@vger.kernel.org <stable@vger.kernel.org><br>
<b>Cc:</b> Yang, Eric <Eric.Yang2@amd.com>; haonan.wang2@amd.com <haonan.wang2@amd.com>; Li, Sun peng (Leo) <Sunpeng.Li@amd.com>; Pan, Xinhui <Xinhui.Pan@amd.com>; Siqueira, Rodrigo <Rodrigo.Siqueira@amd.com>; amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>;
Koenig, Christian <Christian.Koenig@amd.com>; airlied@linux.ie <airlied@linux.ie>; dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org>; daniel@ffwll.ch <daniel@ffwll.ch>; wyatt.wood@amd.com <wyatt.wood@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>;
mikita.lipski@amd.com <mikita.lipski@amd.com>; Wentland, Harry <Harry.Wentland@amd.com>; Kazlauskas, Nicholas <Nicholas.Kazlauskas@amd.com>; Kotarac, Pavle <Pavle.Kotarac@amd.com><br>
<b>Subject:</b> RE: [PATCH AUTOSEL 5.17 13/23] drm/amd/display: undo clearing of z10 related function pointers</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
<br>
Is S0i3 verified for DCN 3.1.6 with this?<br>
<br>
BR,<br>
Chandan V N<br>
<br>
>From: Eric Yang <Eric.Yang2@amd.com><br>
><br>
>[ Upstream commit 9b9bd3f640640f94272a461b2dfe558f91b322c5 ]<br>
><br>
> [Why]<br>
>Z10 and S0i3 have some shared path. Previous code clean up , incorrectly removed these pointers, which breaks s0i3 restore<br>
><br>
> [How]<br>
>Do not clear the function pointers based on Z10 disable.<br>
><br>
>Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com><br>
>Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com><br>
>Signed-off-by: Eric Yang <Eric.Yang2@amd.com><br>
>Signed-off-by: Alex Deucher <alexander.deucher@amd.com><br>
>Signed-off-by: Sasha Levin <sashal@kernel.org><br>
>---<br>
> drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c | 5 -----<br>
> 1 file changed, 5 deletions(-)<br>
><br>
>diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c<br>
>index d7559e5a99ce..e708f07fe75a 100644<br>
>--- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c<br>
>+++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c<br>
>@@ -153,9 +153,4 @@ void dcn31_hw_sequencer_construct(struct dc *dc)<br>
> dc->hwss.init_hw = dcn20_fpga_init_hw;<br>
> dc->hwseq->funcs.init_pipes = NULL;<br>
> }<br>
>- if (dc->debug.disable_z10) {<br>
>- /*hw not support z10 or sw disable it*/<br>
>- dc->hwss.z10_restore = NULL;<br>
>- dc->hwss.z10_save_init = NULL;<br>
>- }<br>
> }<br>
>--<br>
>2.35.1<br>
><br>
</div>
</span></font></div>
</div>
</body>
</html>