[i-g-t V2 3/4] tests/kms_vrr: Enable VRR in seamless-virtual subtest

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


We must enable the VRR to exercise the virtual mode
with in the VRR range.

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

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index dec49eb12..626be8ec6 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -671,6 +671,7 @@ test_seamless_virtual_rr_basic(data_t *data, enum pipe pipe, igt_output_t *outpu
 	kmstest_dump_mode(&data->switch_modes[HIGH_RR_MODE]);
 
 	prepare_test(data, output, pipe);
+	set_vrr_on_pipe(data, pipe, false, true);
 	rate[0] = rate_from_refresh(data->switch_modes[HIGH_RR_MODE].vrefresh);
 
 	/*
-- 
2.43.2



More information about the igt-dev mailing list