[i-g-t V2 1/4] tests/kms_vrr: Skip low RR mode check for seamless-virtual subtest

Bhanuprakash Modem bhanuprakash.modem at intel.com
Thu Jun 13 10:16:30 UTC 2024


As the low RR mode is not at all using in seamless-*-virtual
subtest, don't check for it.

Cc: Manasi Navare <navaremanasi at chromium.org>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/kms_vrr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index 7f64d6806..9245305f8 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -747,7 +747,7 @@ static bool output_constraint(data_t *data, igt_output_t *output, uint32_t flags
 	igt_output_override_mode(output, &data->switch_modes[HIGH_RR_MODE]);
 
 	/* Search for a low refresh rate mode. */
-	if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS | TEST_SEAMLESS_VIRTUAL_RR)))
+	if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS)))
 		return true;
 
 	data->switch_modes[LOW_RR_MODE] = low_rr_mode_with_same_res(output, data->range.min);
-- 
2.43.2



More information about the igt-dev mailing list