<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:#0000FF;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
[AMD Official Use Only - General]<br>
</p>
<br>
<div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<a id="OWAAM243567" class="tWKOu mention ms-bgc-nlr ms-fcl-b" href="mailto:Rodrigo.Siqueira@amd.com">@Siqueira, Rodrigo</a></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> LIPSKI, IVAN <IVAN.LIPSKI@amd.com><br>
<b>Sent:</b> January 5, 2024 7:40 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> rodrigo.siquiera@amd.com <rodrigo.siquiera@amd.com>; Choi, Nicholas <Nicholas.Choi@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian <Christian.Koenig@amd.com>; Wentland, Harry <Harry.Wentland@amd.com>; LIPSKI, IVAN <IVAN.LIPSKI@amd.com>;
Melissa Wen <mwen@igalia.com>; Mahfooz, Hamza <Hamza.Mahfooz@amd.com><br>
<b>Subject:</b> [PATCH 1/1] Revert "drm/amd/display: fix bandwidth validation failure on DCN 2.1"</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">From: Ivan Lipski <ivlipski@amd.com><br>
<br>
This commit causes dmesg-warn on several IGT tests on DCN 3.1.6:<br>
*ERROR* link_enc_cfg_validate: Invalid link encoder assignments - 0x1c<br>
<br>
Affected IGT tests include:<br>
amdgpu/[amd_assr|amd_plane|amd_hotplug]<br>
kms_atomic<br>
kms_color<br>
kms_flip<br>
kms_properties<br>
kms_universal_plane<br>
<br>
and some other tests<br>
<br>
This reverts commit b7ebd39e2922f642c7ee63ade4a4a5a1ef675d84.<br>
<br>
Cc: Melissa Wen <mwen@igalia.com><br>
Cc: Hamza Mahfooz <hamza.mahfooz@amd.com><br>
<br>
Signed-off-by: Ivan Lipski <ivlipski@amd.com><br>
<br>
---<br>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c<br>
index d77fc79f3542..111c6f51f0ae 100644<br>
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c<br>
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c<br>
@@ -10752,7 +10752,7 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,<br>
DRM_DEBUG_DRIVER("drm_dp_mst_atomic_check() failed\n");<br>
goto fail;<br>
}<br>
- status = dc_validate_global_state(dc, dm_state->context, false);<br>
+ status = dc_validate_global_state(dc, dm_state->context, true);<br>
if (status != DC_OK) {<br>
DRM_DEBUG_DRIVER("DC global validation failure: %s (%d)",<br>
dc_status_to_str(status), status);<br>
-- <br>
2.34.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>