<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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);">
Acked-by: Alex Deucher <alexander.deucher@amd.com><br>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Nicholas Kazlauskas <nicholas.kazlauskas@amd.com><br>
<b>Sent:</b> Friday, May 31, 2019 12:05 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> Wentland, Harry; Kazlauskas, Nicholas<br>
<b>Subject:</b> [PATCH] drm/amd/display: Add back missing hw translate init for DCN1_01</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">[Why]<br>
DCN_VERSION_1_01 is no longer handled in the dal_hw_translate_init<br>
switch since it was inadvertently dropped in the patch that removed the<br>
unnecessary DCN1_01 guards.<br>
<br>
This caused numerous regressions on DCN1_01 when loading the driver.<br>
<br>
[How]<br>
Add it back.<br>
<br>
Cc: Harry Wentland <harry.wentland@amd.com><br>
Fixes: 97df424fe7a7 ("drm/amd/display: Drop DCN1_01 guards")<br>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com><br>
---<br>
 drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c<br>
index 77615146b96e..1f9833dc8cfe 100644<br>
--- a/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c<br>
+++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c<br>
@@ -81,6 +81,7 @@ bool dal_hw_translate_init(<br>
                 return true;<br>
 #if defined(CONFIG_DRM_AMD_DC_DCN1_0)<br>
         case DCN_VERSION_1_0:<br>
+       case DCN_VERSION_1_01:<br>
                 dal_hw_translate_dcn10_init(translate);<br>
                 return true;<br>
 #endif<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a></div>
</span></font></div>
</body>
</html>