<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">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Reviewed-by: Alex Deucher <alexander.deucher@amd.com><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> Roman.Li@amd.com <Roman.Li@amd.com><br>
<b>Sent:</b> Tuesday, November 3, 2020 6:12 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>; Deucher, Alexander <Alexander.Deucher@amd.com>; Quan, Evan <Evan.Quan@amd.com>; Siqueira, Rodrigo <Rodrigo.Siqueira@amd.com>; Pillai, Aurabindo <Aurabindo.Pillai@amd.com><br>
<b>Cc:</b> Li, Roman <Roman.Li@amd.com><br>
<b>Subject:</b> [PATCH] drm/amd/display: fix psr panel lightup</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">From: Roman Li <roman.li@amd.com><br>
<br>
[Why]<br>
The change for correct asic type check<br>
caused a psr regression due to incorrect<br>
chip family id for Raven.<br>
<br>
[How]<br>
Use correct family id.<br>
<br>
Signed-off-by: Roman Li <roman.li@amd.com><br>
---<br>
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c<br>
index 6b8bc8dde6ea..09b51fca3d44 100644<br>
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c<br>
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c<br>
@@ -2740,7 +2740,7 @@ bool dc_link_setup_psr(struct dc_link *link,<br>
 <br>
 #if defined(CONFIG_DRM_AMD_DC_DCN)<br>
         /*skip power down the single pipe since it blocks the cstate*/<br>
-       if ((link->ctx->asic_id.chip_family == FAMILY_AI) &&<br>
+       if ((link->ctx->asic_id.chip_family == FAMILY_RV) &&<br>
              ASICREV_IS_RAVEN(link->ctx->asic_id.hw_internal_rev))<br>
                 psr_context->psr_level.bits.SKIP_CRTC_DISABLE = true;<br>
 #endif<br>
-- <br>
2.17.1<br>
<br>
</div>
</span></font></div>
</body>
</html>