<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;" align="Left">
[AMD Official Use Only]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com><br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
--</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);">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jay<br>
</div>
</div>
</div>
</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> Zhang, Dingchen (David) <Dingchen.Zhang@amd.com><br>
<b>Sent:</b> Wednesday, April 6, 2022 4:28 PM<br>
<b>To:</b> igt-dev@lists.freedesktop.org <igt-dev@lists.freedesktop.org><br>
<b>Cc:</b> Siqueira, Rodrigo <Rodrigo.Siqueira@amd.com>; Wentland, Harry <Harry.Wentland@amd.com>; Li, Sun peng (Leo) <Sunpeng.Li@amd.com>; Pillai, Aurabindo <Aurabindo.Pillai@amd.com>; Lin, Wayne <Wayne.Lin@amd.com><br>
<b>Subject:</b> [PATCH 2/2] tests/amdgpu/amd_psr: drop the PSR state check for PSR-SU MPO test</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[why & how]<br>
Currently the enablement of PSR-SU for Linux kernel is still WIP<br>
and the PSR state to check for PSR-SU MPO is not upstreamed yet.<br>
In addition, all the PSR-SU test case currently by default is<br>
validated with visual confirm.<br>
<br>
Drop the PSR state check in MPO PSR-SU sub-test case in the loop.<br>
<br>
Cc: Rodrigo Siqueira <rodrigo.siqueira@amd.com><br>
Cc: Harry Wentland <harry.wentland@amd.com><br>
Cc: Leo Li <sunpeng.li@amd.com><br>
Cc: Jay Pillai <aurabindo.pillai@amd.com><br>
Cc: Wayne Lin <wayne.lin@amd.com><br>
<br>
Signed-off-by: David Zhang <dingchen.zhang@amd.com><br>
---<br>
 tests/amdgpu/amd_psr.c | 12 ------------<br>
 1 file changed, 12 deletions(-)<br>
<br>
diff --git a/tests/amdgpu/amd_psr.c b/tests/amdgpu/amd_psr.c<br>
index 83e44c4e..8ea73080 100644<br>
--- a/tests/amdgpu/amd_psr.c<br>
+++ b/tests/amdgpu/amd_psr.c<br>
@@ -292,18 +292,6 @@ static void run_check_psr_su_mpo(data_t *data)<br>
                                       flip_fb->fb_id, DRM_MODE_PAGE_FLIP_EVENT, NULL);<br>
                 igt_require(ret == 0);<br>
                 kmstest_wait_for_pageflip(data->fd);<br>
-<br>
-               /* check PSR state */<br>
-               if (i > PSR_SETTLE_DELAY * frame_rate) {<br>
-                       psr_state = igt_amd_read_psr_state(data->fd, data->output->name);<br>
-                       igt_fail_on_f(psr_state < 0, "Open PSR state debugfs failed\n");<br>
-                       igt_fail_on_f(psr_state == PSR_STATE0,<br>
-                               "PSR was not enabled for connector %s\n", data->output->name);<br>
-                       igt_fail_on_f(psr_state == PSR_STATE_INVALID,<br>
-                               "PSR is invalid for connector %s\n", data->output->name);<br>
-                       igt_fail_on_f(psr_state != PSR_STATE3,<br>
-                               "PSR state is expected to be STATE_3 for connector %s\n", data->output->name);<br>
-               }<br>
         }<br>
 <br>
         /* fini */<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>