tests/kms_vrr: Add new subtest to switch RR without modeset
v6 cover tests/kms_vrr: Add new subtest to switch RR without modeset
Add new subtests to
- Toggle the VRR enabled
- Switch between low refresh rate to high refresh rate and vice versa
seamlessly without modeset.
V2: Minor cleanups
V3: Fix few condition checks
V4: Fix Negative subtest
V5: Different tests for VRR & DRRS
V6: Include VRR-fastset as part of this series.
Bhanuprakash Modem (10):
tests/kms_vrr: Use lib helper to print connector modes tests/kms_vrr: Clear VRR before exit tests/kms_vrr: Move all config constaints to new function tests/kms_vrr: Fix bigjoiner constraint tests/kms_vrr: Fix the logic to calculate expected rate tests/kms_vrr: Add a helper to get the low refresh mode tests/kms_vrr: Add new subtest to switch RR without modeset tests/kms_vrr: Add new subtest for DRRS without modeset tests/kms_vrr: New subtest for toggle VRR during fastsets
HAX: DO_NOT_MERGE: test only vrr tests
tests/intel-ci/fast-feedback.testlist | 180 +-------------- tests/intel-ci/xe-fast-feedback.testlist | 267 +---------------------- tests/kms_vrr.c | 243 +++++++++++++++++---- 3 files changed, 213 insertions(+), 477 deletions(-)
--
2.40.0
PATCH v6 1/10 tests/kms_vrr: Use lib helper to print connector modes
Instead of writing a new logic at test level, use library helper to print connector modes.
--- tests/kms_vrr.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-)
tests/kms_vrr.c +4 -9
@@ -65,13 +65,6 @@*/ #define TEST_DURATION_NS (5000000000ull) -#define DRM_MODE_FMT "\"%s\": %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x" -#define DRM_MODE_ARG (m) \ - (m)->name, (m)->vrefresh, (m)->clock, \ - (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ - (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \ - (m)->type, (m)->flags -enum {TEST_BASIC =1 <<0 ,TEST_DPMS =1 <<1 ,
@@ -162,14 +155,16 @@ output_mode_with_maxrate(igt_output_t *output, unsigned int vrr_max)drmModeConnectorPtr connector = output->config.connector;drmModeModeInfo mode = *igt_output_get_mode (output); -igt_debug ("Default Mode " DRM_MODE_FMT "\n" ,DRM_MODE_ARG (&mode)); +igt_info ("Default Mode: " ); +kmstest_dump_mode (&mode);for (i =0 ; i < connector->count_modes; i++)if (connector->modes[i].vrefresh > mode.vrefresh && connector->modes[i].vrefresh <= vrr_max) mode = connector->modes[i]; -igt_debug ("Override Mode " DRM_MODE_FMT "\n" ,DRM_MODE_ARG (&mode)); +igt_info ("Override Mode: " ); +kmstest_dump_mode (&mode);return mode; }
Signature · 1 line
2.40.0
RE: [i-g-t V6 01/10] tests/kms_vrr: Use lib helper to print connector modes
Quoted 47 lines
-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Modem, Bhanuprakash <[email protected]>
Subject: [i-g-t V6 01/10] tests/kms_vrr: Use lib helper to print connector modesInstead of writing a new logic at test level, use library helper to print connector modes.
Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_vrr.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-)tests/kms_vrr.c index 5c190cd8c..bbdb54682 renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +0
-1@@ -65,13 +65,6 @@*/ #define TEST_DURATION_NS (5000000000ull) -#define DRM_MODE_FMT "\"%s\": %d %d %d %d %d %d %d %d %d %d0x%x 0x%x"
tests/kms_vrr.c +2
-7-#define DRM_MODE_ARG (m) \ - (m)->name, (m)->vrefresh, (m)->clock, \ - (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ - (m)->vdisplay, (m)->vsync_start, (m)->vsync_end, (m)->vtotal, \ - (m)->type, (m)->flags -enum {TEST_BASIC =1 <<0 ,TEST_DPMS =1 <<1 ,@@ -162,14 +155,16 @@ output_mode_with_maxrate(igt_output_t *output, unsigned int vrr_max) drmModeConnectorPtr connector = output->config.connector;drmModeModeInfo mode = *igt_output_get_mode (output); -igt_debug ("Default Mode " DRM_MODE_FMT "\n" , DRM_MODE_ARG(&mode)); +igt_info ("Default Mode: " ); +kmstest_dump_mode (&mode);
tests/kms_vrr.c output_mode_with_maxrate(igt_output_t · line 170
Quoted 10 lines
tests/kms_vrr.c +2
-1for (i =0 ; i < connector->count_modes; i++)if (connector->modes[i].vrefresh > mode.vrefresh && connector->modes[i].vrefresh <= vrr_max) mode = connector->modes[i]; -igt_debug ("Override Mode " DRM_MODE_FMT "\n" , DRM_MODE_ARG(&mode)); +igt_info ("Override Mode: " ); +kmstest_dump_mode (&mode);
Change LGTM. Thanks
Quoted 5 lines
return mode;
}
--
2.40.0
PATCH v6 2/10 tests/kms_vrr: Clear VRR before exit
In reply to Bhanuprakash ModemBefore exiting the subtest, make sure to clear the VRR.
V2: - New function for cleanup
--- tests/kms_vrr.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
tests/kms_vrr.c +7 -1
@@ -469,8 +469,11 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags)igt_assert_f (result <10 ,"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR %s threshold exceeded, result was %u%%\n" , ((range.max + range.min) /2 ), rate, (flags &TEST_NEGATIVE )?"on" :"off" , result); +} -/* Clean-up */ +static void test_cleanup (data_t *data,enum pipe pipe,igt_output_t *output) +{ +igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , false);igt_plane_set_fb (data->primary,NULL );igt_output_set_pipe (output,PIPE_NONE );igt_output_override_mode (output,NULL );
@@ -510,6 +513,9 @@ run_vrr_test(data_t *data, test_t test, uint32_t flags)igt_dynamic_f ("pipe-%s-%s" , kmstest_pipe_name(pipe), output->name)test (data, pipe, output, flags); + +test_cleanup (data, pipe, output); +break ; } }
Signature · 1 line
2.40.0
RE: [i-g-t V6 02/10] tests/kms_vrr: Clear VRR before exit
Quoted 26 lines
-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Modem, Bhanuprakash <[email protected]>
Subject: [i-g-t V6 02/10] tests/kms_vrr: Clear VRR before exitBefore exiting the subtest, make sure to clear the VRR.
V2: - New function for cleanup
Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_vrr.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)tests/kms_vrr.c index bbdb54682..13e7f3ca6 renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +0
-0@@ -469,8 +469,11 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags) igt_assert_f(result < 10,
tests/kms_vrr.c test_basic(data_t *data, enum pipe pipe, · line 479
Quoted 10 lines
tests/kms_vrr.c +4
-1"Refresh rate (%u Hz) %"PRIu64"ns: Target VRR %s threshold exceeded, result was %u%%\n", ((range.max + range.min) /2 ), rate, (flags & TEST_NEGATIVE)? "on" : "off", result); +} -/* Clean-up */ +static void test_cleanup (data_t *data,enum pipe pipe,igt_output_t +*output) { + igt_pipe_set_prop_value(&data->display, pipe,
Change LGTM. Thanks
Quoted 18 lines
IGT_CRTC_VRR_ENABLED,tests/kms_vrr.c +1
-0+false);igt_plane_set_fb (data->primary,NULL );igt_output_set_pipe (output,PIPE_NONE ); igt_output_override_mode(output, NULL); @@ -510,6 +513,9 @@
run_vrr_test(data_t *data, test_t test, uint32_t flags)tests/kms_vrr.c +0
-0igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe),
output->name)tests/kms_vrr.c +3
-1test (data, pipe, output, flags); + +test_cleanup (data, pipe, output); +break ; } } --2.40.0
PATCH v6 3/10 tests/kms_vrr: Move all config constaints to new function
In reply to Bhanuprakash ModemNo functional change, cleanup only. Move all config checks to new function.
--- tests/kms_vrr.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-)
tests/kms_vrr.c +16 -8
@@ -483,6 +483,21 @@ static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)igt_remove_fb (data->drm_fd, &data->fb0); } +static bool config_constraint (igt_output_t *output,uint32_t flags) +{ +if (!has_vrr (output)) +return false; + +/* For Negative tests, panel should be non-vrr. */ +if ((flags &TEST_NEGATIVE ) &&vrr_capable (output)) +return false; + +if ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output)) +return false; + +return true; +} +/* Runs tests on outputs that are VRR capable. */ static void run_vrr_test (data_t *data,test_t test,uint32_t flags)
@@ -492,14 +507,7 @@ run_vrr_test(data_t *data, test_t test, uint32_t flags)for_each_connected_output (&data->display, output) {enum pipe pipe; -if (!has_vrr (output)) -continue ; - -/* For Negative tests, panel should be non-vrr. */ -if ((flags &TEST_NEGATIVE ) &&vrr_capable (output)) -continue ; - -if ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output)) +if (!config_constraint (output, flags))continue ;for_each_pipe (&data->display, pipe) {
Signature · 1 line
2.40.0
RE: [i-g-t V6 03/10] tests/kms_vrr: Move all config constaints to new function
Quoted 45 lines
-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Modem, Bhanuprakash <[email protected]>
Subject: [i-g-t V6 03/10] tests/kms_vrr: Move all config constaints to new functionNo functional change, cleanup only. Move all config checks to new function.
Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_vrr.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-)tests/kms_vrr.c index 13e7f3ca6..df241aa6c renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +14
-0@@ -483,6 +483,21 @@ static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)igt_remove_fb (data->drm_fd, &data->fb0); } +static bool config_constraint (igt_output_t *output,uint32_t flags) { +if (!has_vrr (output)) +return false; + +/* For Negative tests, panel should be non-vrr. */ +if ((flags &TEST_NEGATIVE ) &&vrr_capable (output)) +return false; + +if ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output)) +return false; + +return true; +} + /* Runs tests on outputs that are VRR capable. */ static void
run_vrr_test(data_t *data, test_t test, uint32_t flags)@@ -492,14 +507,7 @@run_vrr_test(data_t *data, test_t test, uint32_t flags)tests/kms_vrr.c +0
-0for_each_connected_output (&data->display, output) {enum pipe pipe;
tests/kms_vrr.c run_vrr_test(data_t *data, test_t test, uint32_t flags) · line 510
Quoted 10 lines
tests/kms_vrr.c +1
-8-if (!has_vrr (output)) -continue ; - -/* For Negative tests, panel should be non-vrr. */ -if ((flags &TEST_NEGATIVE ) &&vrr_capable (output)) -continue ; - -if ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output)) +if (!config_constraint (output, flags))
Change LGTM. Thanks
Quoted 5 lines
tests/kms_vrr.c +0
-1continue ;for_each_pipe (&data->display, pipe) { --2.40.0
PATCH v6 4/10 tests/kms_vrr: Fix bigjoiner constraint
In reply to Bhanuprakash ModemBefore starting the subtest, we are checking the selected pipe/output combo validity with default mode, but inside the subtest we are using the mode with highest resolution.
Few panels exposing 4K as a default mode even though it supports 8K, in this scenario test may misbehave due to the bigjoiner involvement.
--- tests/kms_vrr.c | 62 +++++++++++++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 23 deletions(-)
tests/kms_vrr.c +39 -23
@@ -163,9 +163,6 @@ output_mode_with_maxrate(igt_output_t *output, unsigned int vrr_max) connector->modes[i].vrefresh <= vrr_max) mode = connector->modes[i]; -igt_info ("Override Mode: " ); -kmstest_dump_mode (&mode); -return mode; }
@@ -233,21 +230,7 @@ static void prepare_test(data_t *data, igt_output_t *output, enum pipe pipe)drmModeModeInfo mode;cairo_t *cr; -/* Reset output */ -igt_display_reset (&data->display); -igt_output_set_pipe (output, pipe); - -/* Capture VRR range */ - data->range =get_vrr_range (data, output); - -/* Override mode with max vrefresh. -* - vrr_min range should be less than the override mode vrefresh. -* - Limit the vrr_max range with the override mode vrefresh. -*/ - mode =output_mode_with_maxrate (output, data->range.max); -igt_require (mode.vrefresh > data->range.min); - data->range.max = mode.vrefresh; -igt_output_override_mode (output, &mode); + mode = *igt_output_get_mode (output);/* Prepare resources */ igt_create_color_fb(data->drm_fd, mode.hdisplay, mode.vdisplay,
@@ -483,7 +466,36 @@ static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)igt_remove_fb (data->drm_fd, &data->fb0); } -static bool config_constraint (igt_output_t *output,uint32_t flags) +static bool output_constraint (data_t *data,igt_output_t *output) +{ +drmModeModeInfo mode; + +/* Reset output */ +igt_display_reset (&data->display); + +/* Capture VRR range */ + data->range =get_vrr_range (data, output); + +/* +* Override mode with max vrefresh. +* - vrr_min range should be less than the override mode vrefresh. +* - Limit the vrr_max range with the override mode vrefresh. +*/ + mode =output_mode_with_maxrate (output, data->range.max); +if (mode.vrefresh < data->range.min) +return false; + + data->range.max = mode.vrefresh; + +igt_info ("Override Mode: " ); +kmstest_dump_mode (&mode); + +igt_output_override_mode (output, &mode); + +return true; +} + +static bool config_constraint (data_t *data,igt_output_t *output,uint32_t flags) {if (!has_vrr (output))return false;
@@ -495,6 +507,9 @@ static bool config_constraint(igt_output_t *output, uint32_t flags)if ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output))return false; +if (!output_constraint (data, output)) +return false; +return true; }
@@ -507,16 +522,17 @@ run_vrr_test(data_t *data, test_t test, uint32_t flags)for_each_connected_output (&data->display, output) {enum pipe pipe; -if (!config_constraint (output, flags)) +if (!config_constraint (data, output, flags))continue ;for_each_pipe (&data->display, pipe) {if (igt_pipe_connector_valid (pipe, output)) { -igt_display_reset (&data->display); -igt_output_set_pipe (output, pipe); -if (!intel_pipe_output_combo_valid (&data->display)) + +if (!intel_pipe_output_combo_valid (&data->display)) { +igt_output_set_pipe (output,PIPE_NONE );continue ; + }igt_dynamic_f ("pipe-%s-%s" ,kmstest_pipe_name (pipe), output->name)
Signature · 1 line
2.40.0
PATCH v6 5/10 tests/kms_vrr: Fix the logic to calculate expected rate
In reply to Bhanuprakash ModemFix the condition check to measure the expected refresh rate.
--- tests/kms_vrr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_vrr.c +1 -1
@@ -329,7 +329,7 @@ flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,* difference between 144Hz and 143Hz which should give this * enough accuracy for most use cases. */ -if ((rate_ns < vtest_ns.min) && (rate_ns >= vtest_ns.max)) +if ((rate_ns <= vtest_ns.min) && (rate_ns >= vtest_ns.max)) diff_ns = rate_ns;else diff_ns = vtest_ns.max;
Signature · 1 line
2.40.0
RE: [i-g-t V6 05/10] tests/kms_vrr: Fix the logic to calculate expected rate
Quoted 33 lines
-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Modem, Bhanuprakash <[email protected]>
Subject: [i-g-t V6 05/10] tests/kms_vrr: Fix the logic to calculate expected rateFix the condition check to measure the expected refresh rate.
Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_vrr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/kms_vrr.c index 4540d8b4b..db82cd008 renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +0
-0@@ -329,7 +329,7 @@ flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe, * difference between 144Hz and 143Hz which should givethis
tests/kms_vrr.c +1
-2* enough accuracy for most use cases. */ -if ((rate_ns < vtest_ns.min) && (rate_ns >= vtest_ns.max)) +if ((rate_ns <= vtest_ns.min) && (rate_ns >= vtest_ns.max)) diff_ns = rate_ns;else diff_ns = vtest_ns.max; --
Quoted 1 line
2.40.0
This can be squashed to next patches, as that resembles its purpose of use.
Regards,
Mitul
PATCH v6 6/10 tests/kms_vrr: Add a helper to get the low refresh mode
In reply to Bhanuprakash ModemTo switch the refresh rate seamlessly, add a new helper to identify the mode with the same resolution but low vrefresh and clock.
--- tests/kms_vrr.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
tests/kms_vrr.c +18 -0
@@ -166,6 +166,24 @@ output_mode_with_maxrate(igt_output_t *output, unsigned int vrr_max)return mode; } +static drmModeModeInfo +low_rr_mode_with_same_res (igt_output_t *output,unsigned int vrr_min) +{ +int i; +drmModeConnectorPtr connector = output->config.connector; +drmModeModeInfo mode = *igt_output_get_mode (output); + +for (i =0 ; i < connector->count_modes; i++) +if (connector->modes[i].hdisplay == mode.hdisplay && + connector->modes[i].vdisplay == mode.vdisplay && + connector->modes[i].clock < mode.clock && + connector->modes[i].vrefresh < mode.vrefresh && + connector->modes[i].vrefresh >= vrr_min) + mode = connector->modes[i]; + +return mode; +} +/* Read min and max vrr range from the connector debugfs. */ static range_t get_vrr_range (data_t *data,igt_output_t *output)
Signature · 1 line
2.40.0
RE: [i-g-t V6 06/10] tests/kms_vrr: Add a helper to get the low refresh mode
Quoted 35 lines
-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Modem, Bhanuprakash <[email protected]>
Subject: [i-g-t V6 06/10] tests/kms_vrr: Add a helper to get the low refresh modeTo switch the refresh rate seamlessly, add a new helper to identify the mode with the same resolution but low vrefresh and clock.
Signed-off-by Bhanuprakash Modem <[email protected]>--- tests/kms_vrr.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)tests/kms_vrr.c index db82cd008..f3cd18dcd renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +7
-0@@ -166,6 +166,24 @@ output_mode_with_maxrate(igt_output_t *output, unsigned int vrr_max)return mode; } +static drmModeModeInfo +low_rr_mode_with_same_res (igt_output_t *output,unsigned int vrr_min) { +int i; +drmModeConnectorPtr connector = output->config.connector; +drmModeModeInfo mode = *igt_output_get_mode (output); + +for (i =0 ; i < connector->count_modes; i++)
tests/kms_vrr.c output_mode_with_maxrate(igt_output_t *output, · line 186
Quoted 10 lines
tests/kms_vrr.c +10
-0+if (connector->modes[i].hdisplay == mode.hdisplay && + connector->modes[i].vdisplay == mode.vdisplay && + connector->modes[i].clock < mode.clock && + connector->modes[i].vrefresh < mode.vrefresh && + connector->modes[i].vrefresh >= vrr_min) + mode = connector->modes[i]; + +return mode; +} +
Please add this function in the patch where it is being called.
- Mitul
Quoted 4 lines
tests/kms_vrr.c +0
-1/* Read min and max vrr range from the connector debugfs. */ static range_t get_vrr_range (data_t *data,igt_output_t *output) --2.40.0
PATCH v6 7/10 tests/kms_vrr: Add new subtest to switch RR without modeset
In reply to Bhanuprakash ModemAdd new subtest to switch between low refresh rate to high refresh rate and vice versa seamlessly without modeset.
Below are the sequence of operations to perform:
1. Use High RR mode + VRR On -> Measure vblank timings
2. Switch to Low RR mode -> Measure vblank timings
3. Switch back to High RR mode -> Measure vblank timings
--- tests/kms_vrr.c | 95 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 85 insertions(+), 10 deletions(-)
tests/kms_vrr.c +85 -10
@@ -53,6 +53,10 @@* SUBTEST: flipline * Description: Make sure that flips happen at flipline decision boundary. * +* SUBTEST: seamless-rr-switch-vrr +* Description: Test to switch RR seamlessly without modeset. +* Functionality: adaptive_sync, lrr +* * SUBTEST: negative-basic * Description: Make sure that VRR should not be enabled on the Non-VRR panel. */
@@ -70,7 +74,14 @@ enum {TEST_DPMS =1 <<1 ,TEST_SUSPEND =1 <<2 ,TEST_FLIPLINE =1 <<3 , - TEST_NEGATIVE = 1 << 4, +TEST_SEAMLESS_VRR =1 <<4 , + TEST_NEGATIVE = 1 << 5, +}; + +enum { +HIGH_RR_MODE , +LOW_RR_MODE , +RR_MODES_COUNT , }; typedef struct range {
@@ -85,6 +96,7 @@ typedef struct data {igt_fb_t fb0;igt_fb_t fb1;range_t range; +drmModeModeInfo switch_modes[RR_MODES_COUNT ]; } data_t; typedef struct vtest_ns {
@@ -397,6 +409,8 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags)igt_info ("VRR Test execution on %s, PIPE_%s with VRR range: (%u-%u) Hz\n" , output->name,kmstest_pipe_name (pipe), range.min, range.max); +igt_info ("Override Mode: " ); +kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]);set_vrr_on_pipe (data, pipe, true);
@@ -472,6 +486,53 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags) ((range.max + range.min) / 2), rate, (flags & TEST_NEGATIVE)? "on" : "off", result); } +static void +test_seamless_rr_basic (data_t *data,enum pipe pipe,igt_output_t *output,uint32_t flags) +{ +uint32_t result; +vtest_ns_t vtest_ns; +uint64_t rate; + +igt_info ("Use HIGH_RR Mode as default: " ); +kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]); + +prepare_test (data, output, pipe); + vtest_ns =get_test_rate_ns (data->range); + +igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , true); +igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 ); + + rate = vtest_ns.max; + result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS ); +igt_assert_f (result >75 , +"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR on threshold not reached, result was %u%%\n" , + data->range.max, rate, result); + +/* Switch to low rr mode without modeset. */ +igt_info ("Switch to LOW_RR Mode: " ); +kmstest_dump_mode (&data->switch_modes[LOW_RR_MODE ]); +igt_output_override_mode (output, &data->switch_modes[LOW_RR_MODE ]); +igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 ); + + rate = vtest_ns.min; + result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS ); +igt_assert_f (result >75 , +"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR on threshold not reached, result was %u%%\n" , + data->range.min, rate, result); + +/* Switch back to high rr mode without modeset. */ +igt_info ("Switch back to HIGH_RR Mode: " ); +kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]); +igt_output_override_mode (output, &data->switch_modes[HIGH_RR_MODE ]); +igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 ); + + rate = vtest_ns.mid; + result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS ); +igt_assert_f (result >75 , +"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR on threshold not reached, result was %u%%\n" , + ((data->range.max + data->range.min) /2 ), rate, result); +} +static void test_cleanup (data_t *data,enum pipe pipe,igt_output_t *output) {igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , false);
@@ -484,9 +545,11 @@ static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)igt_remove_fb (data->drm_fd, &data->fb0); } -static bool output_constraint (data_t *data,igt_output_t *output) +static bool output_constraint (data_t *data,igt_output_t *output,uint32_t flags) { -drmModeModeInfo mode; +if ((flags &TEST_SEAMLESS_VRR ) && + output->config.connector->connector_type != DRM_MODE_CONNECTOR_eDP) +return false;/* Reset output */ igt_display_reset (&data->display);
@@ -499,16 +562,22 @@ static bool output_constraint(data_t *data, igt_output_t *output)* - vrr_min range should be less than the override mode vrefresh. * - Limit the vrr_max range with the override mode vrefresh. */ - mode =output_mode_with_maxrate (output, data->range.max); -if (mode.vrefresh < data->range.min) + data->switch_modes[HIGH_RR_MODE ] =output_mode_with_maxrate (output, data->range.max); +if (data->switch_modes[HIGH_RR_MODE ].vrefresh < data->range.min)return false; - data->range.max = mode.vrefresh; + data->range.max = data->switch_modes[HIGH_RR_MODE ].vrefresh; +igt_output_override_mode (output, &data->switch_modes[HIGH_RR_MODE ]); -igt_info ("Override Mode: " ); -kmstest_dump_mode (&mode); +/* Search for a low refresh rate mode. */ +if (!(flags &TEST_SEAMLESS_VRR )) +return true; -igt_output_override_mode (output, &mode); + data->switch_modes[LOW_RR_MODE ] =low_rr_mode_with_same_res (output, data->range.min); +if (data->switch_modes[LOW_RR_MODE ].vrefresh == data->switch_modes[HIGH_RR_MODE ].vrefresh) +return false; + + data->range.min = data->switch_modes[LOW_RR_MODE ].vrefresh;return true; }
@@ -525,7 +594,7 @@ static bool config_constraint(data_t *data, igt_output_t *output, uint32_t flagsif ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output))return false; -if (!output_constraint (data, output)) +if (!output_constraint (data, output, flags))return false;return true;
@@ -601,6 +670,12 @@ igt_main igt_subtest_with_dynamic("negative-basic")run_vrr_test (&data, test_basic,TEST_NEGATIVE ); +igt_describe ("Test to switch RR seamlessly without modeset." ); + igt_subtest_with_dynamic("seamless-rr-switch-vrr"){ +igt_require_intel (data.drm_fd); +run_vrr_test (&data, test_seamless_rr_basic,TEST_SEAMLESS_VRR ); + } + igt_fixture {igt_display_fini (&data.display);drm_close_driver (data.drm_fd);
Signature · 1 line
2.40.0
PATCH v6 8/10 tests/kms_vrr: Add new subtest for DRRS without modeset
In reply to Bhanuprakash ModemThis test is same as 'kms_vrr@seamless-rr-switch-vrr' but performs on DRRS panel without enabling the VRR.
--- tests/kms_vrr.c | 69 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 20 deletions(-)
tests/kms_vrr.c +49 -20
@@ -31,6 +31,7 @@*/ #include "igt.h" +#include "i915/intel_drrs.h" #include "sw_sync.h" #include <fcntl.h> #include <signal.h>
@@ -57,6 +58,10 @@* Description: Test to switch RR seamlessly without modeset. * Functionality: adaptive_sync, lrr * +* SUBTEST: seamless-rr-switch-drrs +* Description: Test to switch RR seamlessly without modeset. +* Functionality: adaptive_sync, drrs +* * SUBTEST: negative-basic * Description: Make sure that VRR should not be enabled on the Non-VRR panel. */
@@ -75,7 +80,8 @@ enum {TEST_SUSPEND =1 <<2 ,TEST_FLIPLINE =1 <<3 ,TEST_SEAMLESS_VRR =1 <<4 , - TEST_NEGATIVE = 1 << 5, +TEST_SEAMLESS_DRRS =1 <<5 , + TEST_NEGATIVE = 1 << 6, }; enum {
@@ -492,24 +498,27 @@ test_seamless_rr_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint3uint32_t result;vtest_ns_t vtest_ns;uint64_t rate; +bool vrr = !!(flags &TEST_SEAMLESS_VRR ); -igt_info ("Use HIGH_RR Mode as default: " ); +igt_info ("Use HIGH_RR Mode as default (VRR: %s): " , vrr ?"ON" :"OFF" );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]);prepare_test (data, output, pipe); vtest_ns =get_test_rate_ns (data->range); -igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , true); -igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 ); +if (vrr) { +igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , true); +igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 ); + } rate = vtest_ns.max; result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS );igt_assert_f (result >75 , -"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR on threshold not reached, result was %u%%\n" , - data->range.max, rate, result); +"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR %s threshold not reached, result was %u%%\n" , + data->range.max, rate, vrr ?"on" :"off" , result);/* Switch to low rr mode without modeset. */ -igt_info ("Switch to LOW_RR Mode: " ); +igt_info ("Switch to LOW_RR Mode (VRR: %s): " , vrr ?"ON" :"OFF" );kmstest_dump_mode (&data->switch_modes[LOW_RR_MODE ]);igt_output_override_mode (output, &data->switch_modes[LOW_RR_MODE ]);igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 );
@@ -517,25 +526,28 @@ test_seamless_rr_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint3 rate = vtest_ns.min; result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS );igt_assert_f (result >75 , -"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR on threshold not reached, result was %u%%\n" , - data->range.min, rate, result); +"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR %s threshold not reached, result was %u%%\n" , + data->range.min, rate, vrr ?"on" :"off" , result);/* Switch back to high rr mode without modeset. */ -igt_info ("Switch back to HIGH_RR Mode: " ); +igt_info ("Switch back to HIGH_RR Mode (VRR: %s): " , vrr ?"ON" :"OFF" );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]);igt_output_override_mode (output, &data->switch_modes[HIGH_RR_MODE ]);igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 ); rate = vtest_ns.mid; result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS ); -igt_assert_f (result >75 , -"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR on threshold not reached, result was %u%%\n" , - ((data->range.max + data->range.min) /2 ), rate, result); +igt_assert_f (vrr ? (result >75 ) : (result <10 ), +"Refresh rate (%u Hz) %" PRIu64"ns: Target VRR %s threshold %s, result was %u%%\n" , + ((data->range.max + data->range.min) /2 ), rate, + vrr ?"on" :"off" , vrr ?"not reached" :"exceeded" , result); }static void test_cleanup (data_t *data,enum pipe pipe,igt_output_t *output) { -igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , false); +if (vrr_capable (output)) +igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , false); +igt_plane_set_fb (data->primary,NULL );igt_output_set_pipe (output,PIPE_NONE );igt_output_override_mode (output,NULL );
@@ -547,10 +559,16 @@ static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)static bool output_constraint (data_t *data,igt_output_t *output,uint32_t flags) { -if ((flags &TEST_SEAMLESS_VRR ) && +if ((flags & (TEST_SEAMLESS_VRR |TEST_SEAMLESS_DRRS )) && output->config.connector->connector_type != DRM_MODE_CONNECTOR_eDP)return false; +if ((flags &TEST_SEAMLESS_DRRS ) && + !intel_output_has_drrs (data->drm_fd, output)) { +igt_info ("Selected panel won't support DRRS.\n" ); +return false; + } +/* Reset output */ igt_display_reset (&data->display);
@@ -570,7 +588,7 @@ static bool output_constraint(data_t *data, igt_output_t *output, uint32_t flagsigt_output_override_mode (output, &data->switch_modes[HIGH_RR_MODE ]);/* Search for a low refresh rate mode. */ -if (!(flags &TEST_SEAMLESS_VRR )) +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);
@@ -587,6 +605,9 @@ static bool config_constraint(data_t *data, igt_output_t *output, uint32_t flagsif (!has_vrr (output))return false; +if (flags &TEST_SEAMLESS_DRRS ) + goto out; +/* For Negative tests, panel should be non-vrr. */ if ((flags &TEST_NEGATIVE ) &&vrr_capable (output))return false;
@@ -594,6 +615,7 @@ static bool config_constraint(data_t *data, igt_output_t *output, uint32_t flagsif ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output))return false; +out:if (!output_constraint (data, output, flags))return false;
@@ -670,10 +692,17 @@ igt_main igt_subtest_with_dynamic("negative-basic")run_vrr_test (&data, test_basic,TEST_NEGATIVE ); -igt_describe ("Test to switch RR seamlessly without modeset." ); - igt_subtest_with_dynamic("seamless-rr-switch-vrr"){ -igt_require_intel (data.drm_fd); -run_vrr_test (&data, test_seamless_rr_basic,TEST_SEAMLESS_VRR ); + igt_subtest_group { +igt_fixture + igt_require_intel(data.drm_fd); + +igt_describe ("Test to switch RR seamlessly without modeset." ); + igt_subtest_with_dynamic("seamless-rr-switch-vrr") +run_vrr_test (&data, test_seamless_rr_basic,TEST_SEAMLESS_VRR ); + +igt_describe ("Test to switch RR seamlessly without modeset." ); + igt_subtest_with_dynamic("seamless-rr-switch-drrs") +run_vrr_test (&data, test_seamless_rr_basic,TEST_SEAMLESS_DRRS ); } igt_fixture {
Signature · 1 line
2.40.0
RE: [i-g-t V6 08/10] tests/kms_vrr: Add new subtest for DRRS without modeset
Quoted 227 lines
-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Modem, Bhanuprakash <[email protected]>; Srinivas, Vidya <[email protected]>
Subject: [i-g-t V6 08/10] tests/kms_vrr: Add new subtest for DRRS without modesetThis test is same as 'kms_vrr@seamless-rr-switch-vrr' but performs on DRRS panel without enabling the VRR.
Signed-off-by Bhanuprakash Modem <[email protected]>Tested-by Vidya Srinivas <[email protected]>--- tests/kms_vrr.c | 69 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 20 deletions(-)tests/kms_vrr.c index 6cb5a9b10..de2ee13c7 renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +5
-0@@ -31,6 +31,7 @@*/ #include "igt.h" +#include "i915/intel_drrs.h" #include "sw_sync.h" #include <fcntl.h> #include <signal.h> @@ -57,6 +58,10 @@* Description: Test to switch RR seamlessly without modeset. * Functionality: adaptive_sync, lrr * +* SUBTEST: seamless-rr-switch-drrs +* Description: Test to switch RR seamlessly without modeset. +* Functionality: adaptive_sync, drrs +* * SUBTEST: negative-basic * Description: Make sure that VRR should not be enabled on the Non-VRR panel.
*/tests/kms_vrr.c +2
-1@@ -75,7 +80,8 @@ enum {TEST_SUSPEND =1 <<2 ,TEST_FLIPLINE =1 <<3 ,TEST_SEAMLESS_VRR =1 <<4 , - TEST_NEGATIVE = 1 << 5, +TEST_SEAMLESS_DRRS =1 <<5 , + TEST_NEGATIVE = 1 << 6, }; enum {@@ -492,24 +498,27 @@ test_seamless_rr_basic(data_t *data, enum pipepipe,
igt_output_t*output, uint3tests/kms_vrr.c +3
-2uint32_t result;vtest_ns_t vtest_ns;uint64_t rate; +bool vrr = !!(flags &TEST_SEAMLESS_VRR ); -igt_info ("Use HIGH_RR Mode as default: " ); +igt_info ("Use HIGH_RR Mode as default (VRR: %s): " , vrr ?"ON" : +"OFF" );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]);prepare_test (data, output, pipe); vtest_ns =get_test_rate_ns (data->range); - igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, true);tests/kms_vrr.c +0
-1- igt_assert(igt_display_try_commit_atomic(&data->display, 0, NULL)== 0);
tests/kms_vrr.c +2
-0+if (vrr) { + igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, true);tests/kms_vrr.c +1
-0+ igt_assert(igt_display_try_commit_atomic(&data->display, 0,NULL) == 0);
tests/kms_vrr.c +1
-0+ } rate = vtest_ns.max; result = flip_and_measure(data, output, pipe, rate,
TEST_DURATION_NS);tests/kms_vrr.c +0
-1igt_assert_f(result > 75, - "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR onthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +1
-1- data->range.max, rate, result); + "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR %sthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +2
-1+ data->range.max, rate, vrr ? "on" : "off", result);/* Switch to low rr mode without modeset. */ -igt_info ("Switch to LOW_RR Mode: " ); +igt_info ("Switch to LOW_RR Mode (VRR: %s): " , vrr ?"ON" :"OFF" );kmstest_dump_mode (&data->switch_modes[LOW_RR_MODE ]); igt_output_override_mode(output, &data-Quoted 1 line
switch_modes[LOW_RR_MODE]);
igt_assert(igt_display_try_commit_atomic(&data->display, 0, NULL)
== 0); @@ -517,25 +526,28 @@ test_seamless_rr_basic(data_t *data, enum pipe pipe,igt_output_t*output, uint3tests/kms_vrr.c +0
-0rate = vtest_ns.min; result = flip_and_measure(data, output, pipe, rate,
TEST_DURATION_NS);tests/kms_vrr.c +0
-1igt_assert_f(result > 75, - "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR onthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +1
-1- data->range.min, rate, result); + "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR %sthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +3
-1+ data->range.min, rate, vrr ? "on" : "off", result);/* Switch back to high rr mode without modeset. */ -igt_info ("Switch back to HIGH_RR Mode: " ); +igt_info ("Switch back to HIGH_RR Mode (VRR: %s): " , vrr ?"ON" : +"OFF" );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]); igt_output_override_mode(output, &data-Quoted 1 line
switch_modes[HIGH_RR_MODE]);
igt_assert(igt_display_try_commit_atomic(&data->display, 0, NULL)
== 0);tests/kms_vrr.c +0
-0rate = vtest_ns.mid; result = flip_and_measure(data, output, pipe, rate,
TEST_DURATION_NS);tests/kms_vrr.c +0
-2-igt_assert_f (result >75 , - "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR onthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +2
-1- ((data->range.max + data->range.min) / 2), rate, result); +igt_assert_f (vrr ? (result >75 ) : (result <10 ), + "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR %sthreshold %s, result was %u%%\n",
tests/kms_vrr.c +2
-0+ ((data->range.max + data->range.min) /2 ), rate, + vrr ? "on" : "off", vrr ? "not reached" : "exceeded", result); }static void test_cleanup (data_t *data,enum pipe pipe,igt_output_t *output){
tests/kms_vrr.c +0
-1- igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, false);tests/kms_vrr.c +2
-0+if (vrr_capable (output)) + igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED,tests/kms_vrr.c +2
-0+false); +igt_plane_set_fb (data->primary,NULL );igt_output_set_pipe (output,PIPE_NONE ); igt_output_override_mode(output, NULL); @@ -547,10 +559,16 @@static void
test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)static bool output_constraint(data_t *data,
igt_output_t*output,uint32_t
flags) {tests/kms_vrr.c +1
-1-if ((flags &TEST_SEAMLESS_VRR ) && +if ((flags & (TEST_SEAMLESS_VRR |TEST_SEAMLESS_DRRS )) && output->config.connector->connector_type !=
DRM_MODE_CONNECTOR_eDP)tests/kms_vrr.c +6
-0return false; +if ((flags &TEST_SEAMLESS_DRRS ) && + !intel_output_has_drrs (data->drm_fd, output)) { +igt_info ("Selected panel won't support DRRS.\n" ); +return false; + } +/* Reset output */ igt_display_reset (&data->display);@@ -570,7 +588,7 @@ static bool output_constraint(data_t *data,
igt_output_t*output,uint32_tflags
igt_output_override_mode(output, &data-Quoted 1 line
switch_modes[HIGH_RR_MODE]);
tests/kms_vrr.c +1
-1/* Search for a low refresh rate mode. */ -if (!(flags &TEST_SEAMLESS_VRR )) +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); @@ -587,6 +605,9 @@ static bool config_constraint(data_t *data,igt_output_t*output,uint32_tflagstests/kms_vrr.c +3
-0if (!has_vrr (output))return false; +if (flags &TEST_SEAMLESS_DRRS ) + goto out; +/* For Negative tests, panel should be non-vrr. */ if ((flags &TEST_NEGATIVE ) &&vrr_capable (output))return false;@@ -594,6 +615,7 @@ static bool config_constraint(data_t *data,
igt_output_t*output,uint32_tflagstests/kms_vrr.c +10
-4if ((flags & ~TEST_NEGATIVE ) && !vrr_capable (output))return false; +out:if (!output_constraint (data, output, flags))return false;@@ -670,10 +692,17 @@ igt_main igt_subtest_with_dynamic("negative-basic")run_vrr_test (&data, test_basic,TEST_NEGATIVE ); -igt_describe ("Test to switch RR seamlessly without modeset." ); - igt_subtest_with_dynamic("seamless-rr-switch-vrr"){ -igt_require_intel (data.drm_fd); -run_vrr_test (&data, test_seamless_rr_basic, TEST_SEAMLESS_VRR); + igt_subtest_group { +igt_fixture + igt_require_intel(data.drm_fd); + + igt_describe("Test to switch RR seamlessly without modeset."); + igt_subtest_with_dynamic("seamless-rr-switch-vrr") +run_vrr_test (&data, test_seamless_rr_basic,TEST_SEAMLESS_VRR ); + + igt_describe("Test to switch RR seamlessly withoutmodeset.");
tests/kms_vrr.c +2
-0+ igt_subtest_with_dynamic("seamless-rr-switch-drrs") + run_vrr_test(&data, test_seamless_rr_basic,
TEST_SEAMLESS_DRRS);tests/kms_vrr.c +0
-1} igt_fixture { --
Quoted 1 line
2.40.0
Approach assumed for this approach is considerable but suggested to validate the same manually by checking kernel logs if these changes trigger full modest or not. As possible skip can happen with CI. Also assuming this patch will be squashed with last 2 patches from this series.
Regards,
Mitul
Re: [i-g-t V6 08/10] tests/kms_vrr: Add new subtest for DRRS without modeset
Hi Mitul,
Quoted 225 lines · Mitulkumar Ajitkumar
Quoted 225 lines
-----Original Message-----
From: Modem, Bhanuprakash <[email protected]>
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Modem, Bhanuprakash <[email protected]>; Srinivas, Vidya <[email protected]>
Subject: [i-g-t V6 08/10] tests/kms_vrr: Add new subtest for DRRS without modesetThis test is same as 'kms_vrr@seamless-rr-switch-vrr' but performs on DRRS panel without enabling the VRR.
Signed-off-by Bhanuprakash Modem <[email protected]>Tested-by Vidya Srinivas <[email protected]>--- tests/kms_vrr.c | 69 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 20 deletions(-)tests/kms_vrr.c index 6cb5a9b10..de2ee13c7 renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +5
-0@@ -31,6 +31,7 @@*/ #include "igt.h" +#include "i915/intel_drrs.h" #include "sw_sync.h" #include <fcntl.h> #include <signal.h> @@ -57,6 +58,10 @@* Description: Test to switch RR seamlessly without modeset. * Functionality: adaptive_sync, lrr * +* SUBTEST: seamless-rr-switch-drrs +* Description: Test to switch RR seamlessly without modeset. +* Functionality: adaptive_sync, drrs +* * SUBTEST: negative-basic * Description: Make sure that VRR should not be enabled on the Non-VRR panel.
*/tests/kms_vrr.c +2
-1@@ -75,7 +80,8 @@ enum {TEST_SUSPEND =1 <<2 ,TEST_FLIPLINE =1 <<3 ,TEST_SEAMLESS_VRR =1 <<4 , - TEST_NEGATIVE = 1 << 5, +TEST_SEAMLESS_DRRS =1 <<5 , + TEST_NEGATIVE = 1 << 6, }; enum {@@ -492,24 +498,27 @@ test_seamless_rr_basic(data_t *data, enum pipepipe,
igt_output_t*output, uint3
uint32_tresult;
vtest_ns_tvtest_ns;
uint64_trate;tests/kms_vrr.c +3
-2+bool vrr = !!(flags &TEST_SEAMLESS_VRR ); -igt_info ("Use HIGH_RR Mode as default: " ); +igt_info ("Use HIGH_RR Mode as default (VRR: %s): " , vrr ?"ON" : +"OFF" );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]);prepare_test (data, output, pipe); vtest_ns =get_test_rate_ns (data->range); - igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, true);tests/kms_vrr.c +0
-1- igt_assert(igt_display_try_commit_atomic(&data->display, 0, NULL)== 0);
tests/kms_vrr.c +2
-0+if (vrr) { + igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, true);tests/kms_vrr.c +1
-0+ igt_assert(igt_display_try_commit_atomic(&data->display, 0,NULL) == 0);
tests/kms_vrr.c +1
-0+ } rate = vtest_ns.max; result = flip_and_measure(data, output, pipe, rate,
TEST_DURATION_NS);
igt_assert_f(result > 75,tests/kms_vrr.c +0
-1- "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR onthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +1
-1- data->range.max, rate, result); + "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR %sthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +2
-1+ data->range.max, rate, vrr ? "on" : "off", result);/* Switch to low rr mode without modeset. */ -igt_info ("Switch to LOW_RR Mode: " ); +igt_info ("Switch to LOW_RR Mode (VRR: %s): " , vrr ?"ON" :"OFF" );kmstest_dump_mode (&data->switch_modes[LOW_RR_MODE ]); igt_output_override_mode(output, &data-Quoted 1 line
switch_modes[LOW_RR_MODE]);
igt_assert(igt_display_try_commit_atomic(&data->display, 0, NULL)
== 0); @@ -517,25 +526,28 @@ test_seamless_rr_basic(data_t *data, enum pipe pipe,igt_output_t*output, uint3
rate = vtest_ns.min;
result = flip_and_measure(data, output, pipe, rate,TEST_DURATION_NS);
igt_assert_f(result > 75,tests/kms_vrr.c +0
-1- "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR onthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +1
-1- data->range.min, rate, result); + "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR %sthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +3
-1+ data->range.min, rate, vrr ? "on" : "off", result);/* Switch back to high rr mode without modeset. */ -igt_info ("Switch back to HIGH_RR Mode: " ); +igt_info ("Switch back to HIGH_RR Mode (VRR: %s): " , vrr ?"ON" : +"OFF" );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]); igt_output_override_mode(output, &data-Quoted 1 line
switch_modes[HIGH_RR_MODE]);
igt_assert(igt_display_try_commit_atomic(&data->display, 0, NULL)
== 0);rate = vtest_ns.mid;
result = flip_and_measure(data, output, pipe, rate,TEST_DURATION_NS);tests/kms_vrr.c +0
-2-igt_assert_f (result >75 , - "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR onthreshold not reached, result was %u%%\n",
tests/kms_vrr.c +2
-1- ((data->range.max + data->range.min) / 2), rate, result); +igt_assert_f (vrr ? (result >75 ) : (result <10 ), + "Refresh rate (%u Hz) %"PRIu64"ns: Target VRR %sthreshold %s, result was %u%%\n",
tests/kms_vrr.c +2
-0+ ((data->range.max + data->range.min) /2 ), rate, + vrr ? "on" : "off", vrr ? "not reached" : "exceeded", result); }static void test_cleanup (data_t *data,enum pipe pipe,igt_output_t *output){
tests/kms_vrr.c +0
-1- igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, false);tests/kms_vrr.c +2
-0+if (vrr_capable (output)) + igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED,tests/kms_vrr.c +2
-0+false); +igt_plane_set_fb (data->primary,NULL );igt_output_set_pipe (output,PIPE_NONE ); igt_output_override_mode(output, NULL); @@ -547,10 +559,16 @@static void
test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)static bool output_constraint(data_t *data,
igt_output_t*output,uint32_t
flags) {tests/kms_vrr.c +1
-1-if ((flags &TEST_SEAMLESS_VRR ) && +if ((flags & (TEST_SEAMLESS_VRR |TEST_SEAMLESS_DRRS )) && output->config.connector->connector_type !=
DRM_MODE_CONNECTOR_eDP)
return false;tests/kms_vrr.c +6
-0+if ((flags &TEST_SEAMLESS_DRRS ) && + !intel_output_has_drrs (data->drm_fd, output)) { +igt_info ("Selected panel won't support DRRS.\n" ); +return false; + } +/* Reset output */ igt_display_reset (&data->display);@@ -570,7 +588,7 @@ static bool output_constraint(data_t *data,
igt_output_t*output,uint32_tflags
igt_output_override_mode(output, &data-Quoted 1 line
switch_modes[HIGH_RR_MODE]);
/* Search for a low refresh rate mode. */
tests/kms_vrr.c +1
-1-if (!(flags &TEST_SEAMLESS_VRR )) +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); @@ -587,6 +605,9 @@ static bool config_constraint(data_t *data,igt_output_t*output,uint32_tflags
if (!has_vrr(output))
return false;tests/kms_vrr.c +3
-0+if (flags &TEST_SEAMLESS_DRRS ) + goto out; +/* For Negative tests, panel should be non-vrr. */ if ((flags &TEST_NEGATIVE ) &&vrr_capable (output))return false;@@ -594,6 +615,7 @@ static bool config_constraint(data_t *data,
igt_output_t*output,uint32_tflags
if ((flags & ~TEST_NEGATIVE) && !vrr_capable(output))
return false;tests/kms_vrr.c +10
-4+out:if (!output_constraint (data, output, flags))return false;@@ -670,10 +692,17 @@ igt_main igt_subtest_with_dynamic("negative-basic")run_vrr_test (&data, test_basic,TEST_NEGATIVE ); -igt_describe ("Test to switch RR seamlessly without modeset." ); - igt_subtest_with_dynamic("seamless-rr-switch-vrr"){ -igt_require_intel (data.drm_fd); -run_vrr_test (&data, test_seamless_rr_basic, TEST_SEAMLESS_VRR); + igt_subtest_group { +igt_fixture + igt_require_intel(data.drm_fd); + + igt_describe("Test to switch RR seamlessly without modeset."); + igt_subtest_with_dynamic("seamless-rr-switch-vrr") +run_vrr_test (&data, test_seamless_rr_basic,TEST_SEAMLESS_VRR ); + + igt_describe("Test to switch RR seamlessly withoutmodeset.");
tests/kms_vrr.c +2
-0+ igt_subtest_with_dynamic("seamless-rr-switch-drrs") + run_vrr_test(&data, test_seamless_rr_basic,
TEST_SEAMLESS_DRRS);
}
Quoted 5 lines
Quoted 3 lines
igt_fixture{
--
2.40.0Approach assumed for this approach is considerable but suggested to validate the same manually by checking kernel logs if these changes trigger full modest or not. As possible skip can happen with CI. Also assuming this patch will be squashed with last 2 patches from this series.
Thanks for the review.
As we are introducing a new subtest in this patch. IMHO, better to keep it as a separate patch (no need to squash with other patches).
- Bhanu
Quoted 4 lines
Regards,
Mitul
PATCH v6 9/10 tests/kms_vrr: New subtest for toggle VRR during fastsets
In reply to Bhanuprakash ModemAllow VRR to be toggled during fastsets, without full modeset. This patch enables 'kms_vrr@flip-basic' subtest to verify fastset too.
--- tests/kms_vrr.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-)
tests/kms_vrr.c +21 -9
@@ -41,6 +41,10 @@* Description: Tests that VRR is enabled and that the difference between flip * timestamps converges to the requested rate * +* SUBTEST: flip-basic-fastset +* Description: Tests that VRR is enabled without modeset and that the difference +* between flip timestamps converges to the requested rate +* * SUBTEST: flip-dpms * Description: Tests with DPMS that VRR is enabled and that the difference * between flip timestamps converges to the requested rate.
@@ -81,7 +85,8 @@ enum {TEST_FLIPLINE =1 <<3 ,TEST_SEAMLESS_VRR =1 <<4 ,TEST_SEAMLESS_DRRS =1 <<5 , - TEST_NEGATIVE = 1 << 6, +TEST_FASTSET =1 <<6 , + TEST_NEGATIVE = 1 << 7, }; enum {
@@ -253,11 +258,15 @@ static bool vrr_capable(igt_output_t *output) }/* Toggles variable refresh rate on the pipe. */ -static void set_vrr_on_pipe (data_t *data,enum pipe pipe,bool enabled) +static void set_vrr_on_pipe (data_t *data,enum pipe pipe, +bool need_modeset,bool enabled) {igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , enabled); -igt_display_commit2 (&data->display,COMMIT_ATOMIC ); + +igt_assert (igt_display_try_commit_atomic (&data->display, + need_modeset ?DRM_MODE_ATOMIC_ALLOW_MODESET :0 , +NULL ) ==0 ); }/* Prepare the display for testing on the given pipe. */
@@ -418,7 +427,7 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags)igt_info ("Override Mode: " );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]); -set_vrr_on_pipe (data, pipe, true); +set_vrr_on_pipe (data, pipe, !(flags &TEST_FASTSET ), true);/* * Do a short run with VRR, but don't check the result.
@@ -484,7 +493,7 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags)* modeset. And the expected behavior is the same as disabling VRR on * a VRR capable panel. */ -set_vrr_on_pipe (data, pipe, (flags &TEST_NEGATIVE )? true : false); +set_vrr_on_pipe (data, pipe, !(flags &TEST_FASTSET ), (flags &TEST_NEGATIVE ) ? true : false); rate = vtest_ns.mid; result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS ); igt_assert_f(result < 10,
@@ -506,10 +515,8 @@ test_seamless_rr_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint3prepare_test (data, output, pipe); vtest_ns =get_test_rate_ns (data->range); -if (vrr) { -igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , true); -igt_assert (igt_display_try_commit_atomic (&data->display,0 ,NULL ) ==0 ); - } +if (vrr) +set_vrr_on_pipe (data, pipe, false, true); rate = vtest_ns.max; result =flip_and_measure (data, output, pipe, rate,TEST_DURATION_NS );
@@ -703,6 +710,11 @@ igt_mainigt_describe ("Test to switch RR seamlessly without modeset." ); igt_subtest_with_dynamic("seamless-rr-switch-drrs")run_vrr_test (&data, test_seamless_rr_basic,TEST_SEAMLESS_DRRS ); + +igt_describe ("Tests that VRR is enabled without modeset and that the difference " +"between flip timestamps converges to the requested rate" ); + igt_subtest_with_dynamic("flip-basic-fastset") +run_vrr_test (&data, test_basic,TEST_FASTSET ); } igt_fixture {
Signature · 1 line
2.40.0
RE: [igt-dev] [i-g-t V6 09/10] tests/kms_vrr: New subtest for toggle VRR during fastsets
Quoted 121 lines
-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of Bhanuprakash Modem
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Gupta, Nidhi1 <[email protected]>
Subject: [igt-dev] [i-g-t V6 09/10] tests/kms_vrr: New subtest for toggle VRR during fastsetsAllow VRR to be toggled during fastsets, without full modeset. This patch enables 'kms_vrr@flip-basic' subtest to verify fastset too.
Signed-off-by Bhanuprakash Modem <[email protected]>Signed-off-by Nidhi Gupta <[email protected]>--- tests/kms_vrr.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-)tests/kms_vrr.c index de2ee13c7..1ace970a5 renamed from tests/kms_vrr.c +0
-0100644
tests/kms_vrr.c +2
-0@@ -41,6 +41,10 @@* Description: Tests that VRR is enabled and that the difference between flip * timestamps converges to the requested rate * +* SUBTEST: flip-basic-fastset +* Description: Tests that VRR is enabled without modeset and that the difference
+ * between flip timestamps converges to the requested rate
+ *
* SUBTEST: flip-dpms
* Description: Tests with DPMS that VRR is enabled and that the difference
* between flip timestamps converges to the requested rate.tests/kms_vrr.c +8
-2@@ -81,7 +85,8 @@ enum {TEST_FLIPLINE =1 <<3 ,TEST_SEAMLESS_VRR =1 <<4 ,TEST_SEAMLESS_DRRS =1 <<5 , - TEST_NEGATIVE = 1 << 6, +TEST_FASTSET =1 <<6 , + TEST_NEGATIVE = 1 << 7, }; enum {@@ -253,11 +258,15 @@ static bool vrr_capable(igt_output_t *output) } /* Toggles variable refresh rate on the pipe. */ -static voidset_vrr_on_pipe (data_t *data,enum pipe pipe,bool enabled) +static void set_vrr_on_pipe(data_t *data, enum pipe pipe, + bool need_modeset, bool enabled) {igt_pipe_set_prop_value (&data->display, pipe,IGT_CRTC_VRR_ENABLED , enabled); -igt_display_commit2 (&data->display,COMMIT_ATOMIC ); + +igt_assert (igt_display_try_commit_atomic (&data->display, + need_modeset ?DRM_MODE_ATOMIC_ALLOW_MODESET :0 , +NULL ) ==0 ); } /* Prepare the display for testing on the given pipe. */ @@ -418,7 +427,7@@
test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags)tests/kms_vrr.c +1
-1igt_info ("Override Mode: " );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]); -set_vrr_on_pipe (data, pipe, true); +set_vrr_on_pipe (data, pipe, !(flags &TEST_FASTSET ), true);/* * Do a short run with VRR, but don't check the result. @@ -484,7 +493,7 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags) * modeset. And the expected behavior is the same as disabling VRRon
tests/kms_vrr.c +2
-1* a VRR capable panel. */ -set_vrr_on_pipe (data, pipe, (flags &TEST_NEGATIVE )? true : false); +set_vrr_on_pipe (data, pipe, !(flags &TEST_FASTSET ), (flags & +TEST_NEGATIVE ) ? true : false); rate = vtest_ns.mid; result = flip_and_measure(data, output, pipe, rate,
TEST_DURATION_NS);tests/kms_vrr.c +0
-0igt_assert_f(result < 10,@@ -506,10 +515,8 @@ test_seamless_rr_basic(data_t *data, enum pipepipe,
igt_output_t*output, uint3tests/kms_vrr.c +0
-2prepare_test (data, output, pipe); vtest_ns =get_test_rate_ns (data->range); -if (vrr) { - igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, true);tests/kms_vrr.c +0
-1- igt_assert(igt_display_try_commit_atomic(&data->display, 0,NULL) == 0);
tests/kms_vrr.c +2
-1- } +if (vrr) +set_vrr_on_pipe (data, pipe, false, true); rate = vtest_ns.max; result = flip_and_measure(data, output, pipe, rate,
TEST_DURATION_NS); @@ -703,6 +710,11 @@igt_main
igt_describe("Test to switch RR seamlessly without
modeset.");tests/kms_vrr.c +0
-0igt_subtest_with_dynamic("seamless-rr-switch-drrs") run_vrr_test(&data, test_seamless_rr_basic,
TEST_SEAMLESS_DRRS);tests/kms_vrr.c +2
-0+ + igt_describe("Tests that VRR is enabled without modeset andthat the difference "
tests/kms_vrr.c +1
-0+ "between flip timestamps converges to therequested rate");
tests/kms_vrr.c +2
-1+ igt_subtest_with_dynamic("flip-basic-fastset") +run_vrr_test (&data, test_basic,TEST_FASTSET ); } igt_fixture { --2.40.0
Golani, Mitulkumar Ajitkumar
Reviewed-byRE: [igt-dev] [i-g-t V6 09/10] tests/kms_vrr: New subtest for toggle VRR during fastsets
Quoted 136 lines
-----Original Message-----
From: Srinivas, Vidya <[email protected]>
Sent: Thursday, December 7, 2023 4:11 PM
To: Modem, Bhanuprakash <[email protected]>; igt- [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Gupta, Nidhi1 <[email protected]>
Subject: RE: [igt-dev] [i-g-t V6 09/10] tests/kms_vrr: New subtest for toggle VRR during fastsetsTested-by Vidya Srinivas <[email protected]>Quoted 25 lines
-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of Bhanuprakash Modem
Sent: Thursday, December 7, 2023 12:19 PM
To: [email protected]; [email protected]; Golani, Mitulkumar Ajitkumar <[email protected]>
Cc: Gupta, Nidhi1 <[email protected]>
Subject: [igt-dev] [i-g-t V6 09/10] tests/kms_vrr: New subtest for toggle VRR during fastsetsAllow VRR to be toggled during fastsets, without full modeset. This patch enables 'kms_vrr@flip-basic' subtest to verify fastset too.
Signed-off-by Bhanuprakash Modem <[email protected]>Signed-off-by Nidhi Gupta <[email protected]>--- tests/kms_vrr.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-)tests/kms_vrr.c index renamed from tests/kms_vrr.c +0
-0
de2ee13c7..1ace970a5
100644tests/kms_vrr.c line 41
Quoted 1 line
tests/kms_vrr.c +0
-0@@ -41,6 +41,10 @@* Description: Tests that VRR is enabled and that the difference between flip
Quoted 22 lines
tests/kms_vrr.c +3
-0* timestamps converges to the requested rate * +* SUBTEST: flip-basic-fastset +* Description: Tests that VRR is enabled without modeset and that +the difference
+ * between flip timestamps converges to the requested rate
+ *
* SUBTEST: flip-dpms
* Description: Tests with DPMS that VRR is enabled and that the difference
* between flip timestamps converges to the requested rate.tests/kms_vrr.c +2
-1@@ -81,7 +85,8 @@ enum {TEST_FLIPLINE =1 <<3 ,TEST_SEAMLESS_VRR =1 <<4 ,TEST_SEAMLESS_DRRS =1 <<5 , - TEST_NEGATIVE = 1 << 6, +TEST_FASTSET =1 <<6 , + TEST_NEGATIVE = 1 << 7, }; enum {tests/kms_vrr.c static bool vrr_capable(igt_output_t *output) } · line 264
Quoted 7 lines
tests/kms_vrr.c +2
-0@@ -253,11 +258,15 @@ static bool vrr_capable(igt_output_t *output) } /* Toggles variable refresh rate on the pipe. */ -static voidset_vrr_on_pipe (data_t *data,enum pipe pipe,bool enabled) +static void set_vrr_on_pipe(data_t *data, enum pipe pipe, + bool need_modeset, bool enabled) { igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED,Quoted 50 lines
tests/kms_vrr.c +5
-1enabled); -igt_display_commit2 (&data->display,COMMIT_ATOMIC ); + +igt_assert (igt_display_try_commit_atomic (&data->display, + need_modeset ?DRM_MODE_ATOMIC_ALLOW_MODESET :0 , +NULL ) ==0 ); } /* Prepare the display for testing on the given pipe. */ @@ -418,7 +427,7 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t*output,
uint32_t
flags)tests/kms_vrr.c +1
-1igt_info ("Override Mode: " );kmstest_dump_mode (&data->switch_modes[HIGH_RR_MODE ]); -set_vrr_on_pipe (data, pipe, true); +set_vrr_on_pipe (data, pipe, !(flags &TEST_FASTSET ), true);/* * Do a short run with VRR, but don't check the result. @@ -484,7 +493,7 @@ test_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags) * modeset. And the expected behavior is the same as disabling VRRon
tests/kms_vrr.c +2
-1* a VRR capable panel. */ -set_vrr_on_pipe (data, pipe, (flags &TEST_NEGATIVE )? true : false); +set_vrr_on_pipe (data, pipe, !(flags &TEST_FASTSET ), (flags & +TEST_NEGATIVE ) ? true : false); rate = vtest_ns.mid; result = flip_and_measure(data, output, pipe, rate,
TEST_DURATION_NS);tests/kms_vrr.c +0
-0igt_assert_f(result < 10,@@ -506,10 +515,8 @@ test_seamless_rr_basic(data_t *data, enum pipepipe,
igt_output_t*output, uint3tests/kms_vrr.c +0
-2prepare_test (data, output, pipe); vtest_ns =get_test_rate_ns (data->range); -if (vrr) { - igt_pipe_set_prop_value(&data->display, pipe,
IGT_CRTC_VRR_ENABLED, true);tests/kms_vrr.c +0
-1- igt_assert(igt_display_try_commit_atomic(&data->display, 0,NULL) == 0);
tests/kms_vrr.c +2
-1- } +if (vrr) +set_vrr_on_pipe (data, pipe, false, true); rate = vtest_ns.max; result = flip_and_measure(data, output, pipe, rate,Quoted 2 lines
TEST_DURATION_NS); @@ -703,6 +710,11 @@igt_main
igt_describe("Test to switch RR seamlessly withoutmodeset.");
tests/kms_vrr.c
Quoted 2 lines
tests/kms_vrr.c +0
-0igt_subtest_with_dynamic("seamless-rr-switch-drrs") run_vrr_test(&data, test_seamless_rr_basic,
TEST_SEAMLESS_DRRS);Quoted 9 lines
tests/kms_vrr.c +2
-0+ + igt_describe("Tests that VRR is enabled without modeset andthat the difference "
tests/kms_vrr.c +1
-0+ "between flip timestamps converges to therequested rate");
tests/kms_vrr.c +2
-0+ igt_subtest_with_dynamic("flip-basic-fastset") +run_vrr_test (&data, test_basic,TEST_FASTSET ); }
Quoted 3 lines
Quoted 3 lines
igt_fixture{
--
2.40.0
With assumed approach changes looks good to me, after removing logs history, recommended to validate VRR toggle accurately from kernel logs.
PATCH v6 10/10 HAX: DO_NOT_MERGE: test only vrr tests
In reply to Bhanuprakash Modem--- tests/intel-ci/fast-feedback.testlist | 180 +-------------- tests/intel-ci/xe-fast-feedback.testlist | 267 +---------------------- 2 files changed, 12 insertions(+), 435 deletions(-)
tests/intel-ci/fast-feedback.testlist +6 -174
@@ -1,177 +1,9 @@ # Try to load the driver if it's not available yet. igt@i915_module_load@load -# Keep alphabetically sorted by default -igt@core_auth@basic-auth -igt@debugfs_test@read_all_entries -igt@debugfs_test@basic-hwmon -igt@fbdev@eof -igt@fbdev@info -igt@fbdev@nullptr -igt@fbdev@read -igt@fbdev@write -igt@gem_basic@bad-close -igt@gem_basic@create-close -igt@gem_basic@create-fd-close -igt@gem_busy@busy@all-engines -igt@gem_close_race@basic-process -igt@gem_close_race@basic-threads -igt@gem_ctx_create@basic -igt@gem_ctx_create@basic-files -igt@gem_ctx_exec@basic -igt@gem_exec_basic@basic -igt@gem_exec_create@basic -igt@gem_exec_fence@basic-busy -igt@gem_exec_fence@basic-wait -igt@gem_exec_fence@basic-await -igt@gem_exec_fence@nb-await -igt@gem_exec_gttfill@basic -igt@gem_exec_parallel@engines -igt@gem_exec_store@basic -igt@gem_flink_basic@bad-flink -igt@gem_flink_basic@bad-open -igt@gem_flink_basic@basic -igt@gem_flink_basic@double-flink -igt@gem_flink_basic@flink-lifetime -igt@gem_huc_copy@huc-copy -igt@gem_linear_blits@basic -igt@gem_mmap@basic -igt@gem_mmap_gtt@basic -igt@gem_render_linear_blits@basic -igt@gem_render_tiled_blits@basic -igt@gem_ringfill@basic-all -igt@gem_softpin@allocator-basic -igt@gem_softpin@allocator-basic-reserve -igt@gem_softpin@safe-alignment -igt@gem_sync@basic-all -igt@gem_sync@basic-each -igt@gem_tiled_blits@basic -igt@gem_tiled_fence_blits@basic -igt@gem_tiled_pread_basic -igt@gem_wait@busy@all-engines -igt@gem_wait@wait@all-engines -igt@i915_getparams_basic@basic-eu-total -igt@i915_getparams_basic@basic-subslice-total -igt@i915_hangman@error-state-basic -igt@i915_pciid -igt@kms_addfb_basic@addfb25-4-tiled -igt@kms_addfb_basic@addfb25-bad-modifier -igt@kms_addfb_basic@addfb25-framebuffer-vs-set-tiling -igt@kms_addfb_basic@addfb25-modifier-no-flag -igt@kms_addfb_basic@addfb25-x-tiled-legacy -igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy -igt@kms_addfb_basic@addfb25-yf-tiled-legacy -igt@kms_addfb_basic@addfb25-y-tiled-legacy -igt@kms_addfb_basic@addfb25-y-tiled-small-legacy -igt@kms_addfb_basic@bad-pitch-0 -igt@kms_addfb_basic@bad-pitch-1024 -igt@kms_addfb_basic@bad-pitch-128 -igt@kms_addfb_basic@bad-pitch-256 -igt@kms_addfb_basic@bad-pitch-32 -igt@kms_addfb_basic@bad-pitch-63 -igt@kms_addfb_basic@bad-pitch-65536 -igt@kms_addfb_basic@bad-pitch-999 -igt@kms_addfb_basic@basic -igt@kms_addfb_basic@basic-x-tiled-legacy -igt@kms_addfb_basic@basic-y-tiled-legacy -igt@kms_addfb_basic@bo-too-small -igt@kms_addfb_basic@bo-too-small-due-to-tiling -igt@kms_addfb_basic@clobberred-modifier -igt@kms_addfb_basic@framebuffer-vs-set-tiling -igt@kms_addfb_basic@invalid-get-prop -igt@kms_addfb_basic@invalid-get-prop-any -igt@kms_addfb_basic@invalid-set-prop -igt@kms_addfb_basic@invalid-set-prop-any -igt@kms_addfb_basic@no-handle -igt@kms_addfb_basic@size-max -igt@kms_addfb_basic@small-bo -igt@kms_addfb_basic@tile-pitch-mismatch -igt@kms_addfb_basic@too-high -igt@kms_addfb_basic@too-wide -igt@kms_addfb_basic@unused-handle -igt@kms_addfb_basic@unused-modifier -igt@kms_addfb_basic@unused-offsets -igt@kms_addfb_basic@unused-pitches -igt@kms_busy@basic -igt@kms_prop_blob@basic -igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic -igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy -igt@kms_cursor_legacy@basic-flip-after-cursor-atomic -igt@kms_cursor_legacy@basic-flip-after-cursor-legacy -igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size -igt@kms_cursor_legacy@basic-flip-before-cursor-atomic -igt@kms_cursor_legacy@basic-flip-before-cursor-legacy -igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size -igt@kms_dsc@dsc-basic -igt@kms_flip@basic-flip-vs-dpms -igt@kms_flip@basic-flip-vs-modeset -igt@kms_flip@basic-flip-vs-wf_vblank -igt@kms_flip@basic-plain-flip -igt@kms_force_connector_basic@force-connector-state -igt@kms_force_connector_basic@force-edid -igt@kms_force_connector_basic@force-load-detect -igt@kms_force_connector_basic@prune-stale-modes -igt@kms_frontbuffer_tracking@basic -igt@kms_hdmi_inject@inject-audio -igt@kms_pipe_crc_basic@compare-crc-sanitycheck-xr24 -igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12 -igt@kms_pipe_crc_basic@hang-read-crc -igt@kms_pipe_crc_basic@nonblocking-crc -igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence -igt@kms_pipe_crc_basic@read-crc -igt@kms_pipe_crc_basic@read-crc-frame-sequence -igt@kms_pm_backlight@basic-brightness -igt@kms_pm_rpm@basic-pci-d3-state -igt@kms_pm_rpm@basic-rte -igt@kms_psr@psr_primary_page_flip -igt@kms_psr@psr_cursor_plane_move -igt@kms_psr@psr_sprite_plane_onoff -igt@kms_psr@psr_primary_mmap_gtt -igt@kms_setmode@basic-clone-single-crtc -igt@i915_pm_rps@basic-api -igt@prime_self_import@basic-llseek-bad -igt@prime_self_import@basic-llseek-size -igt@prime_self_import@basic-with_fd_dup -igt@prime_self_import@basic-with_one_bo -igt@prime_self_import@basic-with_one_bo_two_files -igt@prime_self_import@basic-with_two_bos -igt@prime_vgem@basic-fence-flip -igt@prime_vgem@basic-fence-mmap -igt@prime_vgem@basic-fence-read -igt@prime_vgem@basic-gtt -igt@prime_vgem@basic-read -igt@prime_vgem@basic-write -igt@vgem_basic@setversion -igt@vgem_basic@create -igt@vgem_basic@debugfs -igt@vgem_basic@dmabuf-export -igt@vgem_basic@dmabuf-fence -igt@vgem_basic@dmabuf-fence-before -igt@vgem_basic@dmabuf-mmap -igt@vgem_basic@mmap -igt@vgem_basic@second-client -igt@vgem_basic@sysfs - -# All tests that do module unloading and reloading are executed last. -# They will sometimes reveal issues of earlier tests leaving the -# driver in a broken state that is not otherwise noticed in that test. - -igt@core_hotunplug@unbind-rebind -igt@vgem_basic@unload -igt@i915_module_load@reload -igt@gem_lmem_swapping@basic -igt@gem_lmem_swapping@parallel-random-engines -igt@gem_lmem_swapping@random-engines -igt@gem_lmem_swapping@verify-random -igt@i915_pm_rpm@module-reload - -# Kernel selftests -igt@i915_selftest@live -igt@dmabuf@all-tests - -# System wide suspend tests -igt@i915_suspend@basic-s2idle-without-i915 -igt@i915_suspend@basic-s3-without-i915 -igt@gem_exec_suspend@basic-s0 -igt@gem_exec_suspend@basic-s3 -igt@kms_pipe_crc_basic@suspend-read-crc +igt@kms_vrr@flip-basic +igt@kms_vrr@flip-basic-fastset +igt@kms_vrr@seamless-rr-switch-drrs +igt@kms_vrr@seamless-rr-switch-vrr +igt@kms_vrr@flipline +igt@kms_vrr@negative-basic
tests/intel-ci/xe-fast-feedback.testlist +6 -261
270 lines not on this page · raw message
Signature · 1 line
2.40.0
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_vrr: Add new subtest to switch RR without modeset (rev7)
In reply to Bhanuprakash Modem== Series Details ==
== Series Details ==
Series: tests/kms_vrr: Add new subtest to switch RR without modeset (rev7)
URL : https://patchwork.freedesktop.org/series/127047/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13990 -> IGTPW_10364
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_10364 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10364, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/index.html
Participating hosts (37 -> 36)
------------------------------
Additional (1): bat-dg2-8
Missing (2): bat-atsm-1 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_10364:
### IGT changes ###
#### Possible regressions ####
* igt@kms_vrr@flip-basic-fastset (NEW):
- bat-dg1-7: NOTRUN -> [SKIP][1] +2 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg1-7/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][2] +2 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-jsl-3/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][3] +2 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg2-11/igt@[email protected]
- bat-adln-1: NOTRUN -> [SKIP][4] +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adln-1/igt@[email protected]
- bat-rplp-1: NOTRUN -> [SKIP][5] +1 other test skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-rplp-1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][6] +2 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-tgl-1115g4/igt@[email protected]
* {igt@kms_vrr@seamless-rr-switch-drrs} (NEW):
- {bat-dg2-14}: NOTRUN -> [SKIP][7] +2 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg2-14/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][8] +2 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-rkl-11600/igt@[email protected]
- bat-adls-5: NOTRUN -> [SKIP][9] +1 other test skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adls-5/igt@[email protected]
- bat-dg1-5: NOTRUN -> [SKIP][10] +2 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg1-5/igt@[email protected]
- bat-dg2-9: NOTRUN -> [SKIP][11] +2 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg2-9/igt@[email protected]
- bat-adlp-11: NOTRUN -> [SKIP][12] +2 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adlp-11/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][13] +2 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-mtlp-8/igt@[email protected]
- bat-dg2-8: NOTRUN -> [SKIP][14] +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg2-8/igt@[email protected]
* {igt@kms_vrr@seamless-rr-switch-vrr} (NEW):
- bat-adlp-9: NOTRUN -> [SKIP][15] +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adlp-9/igt@[email protected]
- bat-jsl-1: NOTRUN -> [SKIP][16] +2 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-jsl-1/igt@[email protected]
- bat-adlp-6: NOTRUN -> [SKIP][17]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adlp-6/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_13990 and IGTPW_10364:
### New IGT tests (7) ###
* igt@kms_vrr@flip-basic-fastset:
- Statuses : 32 skip(s)
- Exec time: [0.0] s
* igt@kms_vrr@flip-basic-fastset@pipe-a-dp-1:
- Statuses : 1 pass(s)
- Exec time: [10.40] s
* igt@kms_vrr@flip-basic-fastset@pipe-a-dp-3:
- Statuses : 1 pass(s)
- Exec time: [10.90] s
* igt@kms_vrr@flip-basic-fastset@pipe-a-edp-1:
- Statuses : 1 pass(s)
- Exec time: [10.39] s
* igt@kms_vrr@seamless-rr-switch-drrs:
- Statuses : 32 skip(s)
- Exec time: [0.0] s
* igt@kms_vrr@seamless-rr-switch-drrs@pipe-a-edp-1:
- Statuses : 3 pass(s)
- Exec time: [15.17, 16.34] s
* igt@kms_vrr@seamless-rr-switch-vrr:
- Statuses : 35 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_10364 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_vrr@flip-basic:
- fi-rkl-11600: NOTRUN -> [SKIP][18] ([i915#3555]) +2 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-rkl-11600/igt@[email protected]
- fi-cfl-guc: NOTRUN -> [SKIP][19] ([fdo#109271]) +5 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-cfl-guc/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][20] ([i915#3555]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-jsl-3/igt@[email protected]
- bat-dg2-9: NOTRUN -> [SKIP][21] ([i915#3555]) +1 other test skip
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg2-9/igt@[email protected]
- fi-kbl-x1275: NOTRUN -> [SKIP][22] ([fdo#109271]) +5 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-kbl-x1275/igt@[email protected]
- bat-adlp-11: NOTRUN -> [SKIP][23] ([i915#3555]) +2 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adlp-11/igt@[email protected]
- fi-cfl-8109u: NOTRUN -> [SKIP][24] ([fdo#109271]) +5 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-cfl-8109u/igt@[email protected]
- bat-adln-1: NOTRUN -> [SKIP][25] ([i915#3555]) +1 other test skip
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adln-1/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][26] ([i915#3555] / [i915#8808]) +1 other test skip
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-mtlp-8/igt@[email protected]
- bat-dg2-8: NOTRUN -> [SKIP][27] ([i915#3555]) +1 other test skip
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg2-8/igt@[email protected]
- fi-kbl-guc: NOTRUN -> [SKIP][28] ([fdo#109271]) +5 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-kbl-guc/igt@[email protected]
- fi-ilk-650: NOTRUN -> [SKIP][29] ([fdo#109271]) +5 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-ilk-650/igt@[email protected]
- bat-jsl-1: NOTRUN -> [SKIP][30] ([i915#3555]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-jsl-1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][31] ([i915#3555]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-tgl-1115g4/igt@[email protected]
* igt@kms_vrr@flip-basic-fastset (NEW):
- fi-pnv-d510: NOTRUN -> [SKIP][32] ([fdo#109271]) +5 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-pnv-d510/igt@[email protected]
- fi-glk-j4005: NOTRUN -> [SKIP][33] ([fdo#109271]) +5 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-glk-j4005/igt@[email protected]
- fi-kbl-7567u: NOTRUN -> [SKIP][34] ([fdo#109271]) +5 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-kbl-7567u/igt@[email protected]
- fi-ivb-3770: NOTRUN -> [SKIP][35] ([fdo#109271]) +5 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-ivb-3770/igt@[email protected]
- fi-elk-e7500: NOTRUN -> [SKIP][36] ([fdo#109271]) +5 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-elk-e7500/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][37] ([i915#9792]) +5 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-mtlp-6/igt@[email protected]
* igt@kms_vrr@flipline:
- fi-skl-guc: NOTRUN -> [SKIP][38] ([fdo#109271]) +5 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-skl-guc/igt@[email protected]
- bat-rplp-1: NOTRUN -> [SKIP][39] ([i915#3555]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-rplp-1/igt@[email protected]
* igt@kms_vrr@negative-basic:
- bat-kbl-2: NOTRUN -> [SKIP][40] ([fdo#109271]) +5 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-kbl-2/igt@[email protected]
- fi-skl-6600u: NOTRUN -> [SKIP][41] ([fdo#109271]) +5 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-skl-6600u/igt@[email protected]
- bat-adls-5: NOTRUN -> [SKIP][42] ([i915#3555])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adls-5/igt@[email protected]
- fi-apl-guc: NOTRUN -> [SKIP][43] ([fdo#109271]) +5 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-apl-guc/igt@[email protected]
- bat-dg1-5: NOTRUN -> [SKIP][44] ([i915#3555]) +2 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg1-5/igt@[email protected]
- bat-dg1-7: NOTRUN -> [SKIP][45] ([i915#3555]) +2 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][46] ([i915#3555]) +2 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-dg2-11/igt@[email protected]
- bat-adlp-9: NOTRUN -> [SKIP][47] ([i915#3555])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/bat-adlp-9/igt@[email protected]
* {igt@kms_vrr@seamless-rr-switch-drrs} (NEW):
- fi-cfl-8700k: NOTRUN -> [SKIP][48] ([fdo#109271]) +5 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-cfl-8700k/igt@[email protected]
- fi-blb-e6850: NOTRUN -> [SKIP][49] ([fdo#109271]) +5 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-blb-e6850/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [SKIP][50] ([fdo#109271]) +5 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/fi-bsw-nick/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#8808]: https://gitlab.freedesktop.org/drm/intel/issues/8808
[i915#9792]: https://gitlab.freedesktop.org/drm/intel/issues/9792
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7626 -> IGTPW_10364
CI-20190529: 20190529
CI_DRM_13990: 85d33d0ad82a5c1a71492f14a5ceb67ada6a22d8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10364: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/index.html
IGT_7626: 154b7288552cd7ed3033f8ef396e88d0bd1b7646 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@kms_vrr@flip-basic-fastset
+igt@kms_vrr@seamless-rr-switch-drrs
+igt@kms_vrr@seamless-rr-switch-vrr
-igt@xe_exec_basic@zero-execs
-igt@xe_vm@zero-binds
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/index.html
Patchwork
CI[igt-dev] ✗ CI.xeBAT: failure for tests/kms_vrr: Add new subtest to switch RR without modeset (rev7)
In reply to Bhanuprakash Modem== Series Details ==
== Series Details ==
Series: tests/kms_vrr: Add new subtest to switch RR without modeset (rev7)
URL : https://patchwork.freedesktop.org/series/127047/
State : failure
== Summary ==
CI Bug Log - changes from XEIGT_7626_BAT -> XEIGTPW_10364_BAT
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with XEIGTPW_10364_BAT absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in XEIGTPW_10364_BAT, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in XEIGTPW_10364_BAT:
### IGT changes ###
#### Possible regressions ####
* igt@kms_vrr@flip-basic-fastset (NEW):
- bat-atsm-2: NOTRUN -> [SKIP][1] +5 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10364/bat-atsm-2/igt@[email protected]
* {igt@kms_vrr@seamless-rr-switch-drrs} (NEW):
- bat-pvc-2: NOTRUN -> [SKIP][2] +5 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10364/bat-pvc-2/igt@[email protected]
New tests
---------
New tests have been introduced between XEIGT_7626_BAT and XEIGTPW_10364_BAT:
### New IGT tests (4) ###
* igt@kms_vrr@flip-basic-fastset:
- Statuses : 1 pass(s) 3 skip(s)
- Exec time: [0.0, 10.64] s
* igt@kms_vrr@flip-basic-fastset@pipe-a-dp-3:
- Statuses : 1 pass(s)
- Exec time: [10.55] s
* igt@kms_vrr@seamless-rr-switch-drrs:
- Statuses : 4 skip(s)
- Exec time: [0.0, 0.00] s
* igt@kms_vrr@seamless-rr-switch-vrr:
- Statuses : 4 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in XEIGTPW_10364_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_vrr@flip-basic:
- bat-adlp-7: NOTRUN -> [SKIP][3] ([Intel XE#455]) +4 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10364/bat-adlp-7/igt@[email protected]
- bat-dg2-oem2: NOTRUN -> [FAIL][4] ([Intel XE#465]) +1 other test fail
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10364/bat-dg2-oem2/igt@[email protected]
* igt@kms_vrr@negative-basic:
- bat-dg2-oem2: NOTRUN -> [SKIP][5] ([Intel XE#455]) +2 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10364/bat-dg2-oem2/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#465]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/465
Build changes
-------------
* IGT: IGT_7626 -> IGTPW_10364
* Linux: xe-556-d33ebd7511c2b53c5dc006e2daa25214fc8a5921 -> xe-557-668d13abebbbc3812de86be1f8477475e1d90728
IGTPW_10364: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10364/index.html
IGT_7626: 154b7288552cd7ed3033f8ef396e88d0bd1b7646 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-556-d33ebd7511c2b53c5dc006e2daa25214fc8a5921: d33ebd7511c2b53c5dc006e2daa25214fc8a5921 xe-557-668d13abebbbc3812de86be1f8477475e1d90728: 668d13abebbbc3812de86be1f8477475e1d90728
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10364/index.html