<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoPlainText">On Tue, 2022-11-15 at 08:43 +0530, Bhanuprakash Modem wrote:<o:p></o:p></p>
<p class="MsoPlainText">>This patch will add a check to Skip the subtest if a selected pipe/output<o:p></o:p></p>
<p class="MsoPlainText">>combo won't support Bigjoiner or 8K mode.<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">>Example:<o:p></o:p></p>
<p class="MsoPlainText">>* Pipe-D wont support a mode > 5K<o:p></o:p></p>
<p class="MsoPlainText">>* To use 8K mode on a pipe then consecutive pipe must be available & free.<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">>V2: - Use updated helper name<o:p></o:p></p>
<p class="MsoPlainText">><o:p> </o:p></p>
<p class="MsoPlainText">>Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com><o:p></o:p></p>
<p class="MsoPlainText">>---<o:p></o:p></p>
<p class="MsoPlainText">Reviewed-by: Nidhi Gupta <nidhi1.gupta@intel.com><o:p></o:p></p>
<p class="MsoPlainText">> tests/kms_invalid_mode.c | 6 ++++++<o:p></o:p></p>
<p class="MsoPlainText">> 1 file changed, 6 insertions(+)<o:p></o:p></p>
<p class="MsoPlainText">>diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c<o:p></o:p></p>
<p class="MsoPlainText">>index 40042d4e..86f529e8 100644<o:p></o:p></p>
<p class="MsoPlainText">>--- a/tests/kms_invalid_mode.c<o:p></o:p></p>
<p class="MsoPlainText">>+++ b/tests/kms_invalid_mode.c<o:p></o:p></p>
<p class="MsoPlainText">>@@ -301,6 +301,12 @@ igt_main<o:p></o:p></p>
<p class="MsoPlainText">> for (int i = 0; i < ARRAY_SIZE(subtests); i++) {<o:p></o:p></p>
<p class="MsoPlainText">> igt_subtest_with_dynamic(subtests[i].name) {<o:p></o:p></p>
<p class="MsoPlainText">> for_each_pipe_with_valid_output(&data.display, pipe, output) {<o:p></o:p></p>
<p class="MsoPlainText">>+ igt_display_reset(&data.display);<o:p></o:p></p>
<p class="MsoPlainText">>+<o:p></o:p></p>
<p class="MsoPlainText">>+ igt_output_set_pipe(output, pipe);<o:p></o:p></p>
<p class="MsoPlainText">>+ if (!i915_pipe_output_combo_valid(&data.display))<o:p></o:p></p>
<p class="MsoPlainText">>+ continue;<o:p></o:p></p>
<p class="MsoPlainText">>+<o:p></o:p></p>
<p class="MsoPlainText">> igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe)) {<o:p></o:p></p>
<p class="MsoPlainText">> data.output = output;<o:p></o:p></p>
<p class="MsoPlainText">> data.pipe = pipe;<o:p></o:p></p>
</div>
</body>
</html>