<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Tunga;
panose-1:0 0 4 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas",serif;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks for the review. I will change it and float the next revision.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Naladala, Ramanaidu <ramanaidu.naladala@intel.com>
<br>
<b>Sent:</b> Monday, July 14, 2025 5:07 PM<br>
<b>To:</b> B, Jeevan <jeevan.b@intel.com>; igt-dev@lists.freedesktop.org<br>
<b>Cc:</b> B S, Karthik <karthik.b.s@intel.com><br>
<b>Subject:</b> Re: [PATCH i-g-t] tests/kms_vrr: Pull Panel Replay check before setting up output<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi Jeevan,<o:p></o:p></p>
<div>
<p class="MsoNormal">On 7/14/2025 3:58 PM, Jeevan B wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Adding the Panel Replay support check later in the test was causing<o:p></o:p></pre>
<pre>an invalid skip, since the test disables PSR/PR in output_constraint().<o:p></o:p></pre>
<pre>Move the check earlier to ensure correct capability detection and avoid<o:p></o:p></pre>
<pre>unintended skips.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Fixes: 7da0c57182cc ("tests/kms_vrr: Skip LOBF test if PR is not supported on sink")<o:p></o:p></pre>
<pre>Signed-off-by: Jeevan B <a href="mailto:jeevan.b@intel.com"><jeevan.b@intel.com></a><o:p></o:p></pre>
<pre>---<o:p></o:p></pre>
<pre> tests/kms_vrr.c | 13 ++++++++-----<o:p></o:p></pre>
<pre> 1 file changed, 8 insertions(+), 5 deletions(-)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c<o:p></o:p></pre>
<pre>index 9c2c4ac92..85a90bb25 100644<o:p></o:p></pre>
<pre>--- a/tests/kms_vrr.c<o:p></o:p></pre>
<pre>+++ b/tests/kms_vrr.c<o:p></o:p></pre>
<pre>@@ -960,6 +960,14 @@ static bool output_constraint(data_t *data, igt_output_t *output, uint32_t flags<o:p></o:p></pre>
<pre> return false;<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>+ if (flags & TEST_LINK_OFF) {<o:p></o:p></pre>
<pre>+ if (!psr_sink_support(data->drm_fd,<o:p></o:p></pre>
<pre>+ data->debugfs_fd, PR_MODE, NULL)) {<o:p></o:p></pre>
<pre>+ igt_info("LOBF not supported\n");<o:p></o:p></pre>
<pre>+ return false;<o:p></o:p></pre>
<pre>+ }<o:p></o:p></pre>
<pre>+ }<o:p></o:p></pre>
<pre>+<o:p></o:p></pre>
</blockquote>
<p>Consolidate TEST_LINK_OFF condition to avoid duplicated checks. <o:p></o:p></p>
<p>imho, This should be as below:<br>
if (flags & TEST_LINK_OFF) {<o:p></o:p></p>
<p> igt_require_f(psr_sink_support(data->drm_fd, data->debugfs_fd, PR_MODE, NULL), "LOBF not supported");<o:p></o:p></p>
<p>if (psr_sink_support(data->drm_fd, data->debugfs_fd, PSR_MODE_1, NULL) || psr_sink_support(data->drm_fd, data->debugfs_fd, PR_MODE, NULL))<o:p></o:p></p>
<p>}<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><o:p> </o:p></pre>
<pre> if (flags & TEST_LINK_OFF) {<o:p></o:p></pre>
<pre> if (psr_sink_support(data->drm_fd, data->debugfs_fd, PSR_MODE_1, NULL) ||<o:p></o:p></pre>
<pre> psr_sink_support(data->drm_fd, data->debugfs_fd, PR_MODE, NULL))<o:p></o:p></pre>
<pre>@@ -1051,11 +1059,6 @@ run_vrr_test(data_t *data, test_t test, uint32_t flags)<o:p></o:p></pre>
<pre> continue;<o:p></o:p></pre>
<pre> }<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>- if (flags == TEST_LINK_OFF)<o:p></o:p></pre>
<pre>- igt_require_f(psr_sink_support(data->drm_fd,<o:p></o:p></pre>
<pre>- data->debugfs_fd, PR_MODE, output),<o:p></o:p></pre>
<pre>- "LOBF not supported");<o:p></o:p></pre>
<pre>-<o:p></o:p></pre>
<pre> igt_dynamic_f("pipe-%s-%s",<o:p></o:p></pre>
<pre> kmstest_pipe_name(pipe), output->name)<o:p></o:p></pre>
<pre> test(data, pipe, output, flags);<o:p></o:p></pre>
</blockquote>
</div>
</div>
</body>
</html>