* [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core
@ 2023-09-07 16:11 Bhanuprakash Modem
2023-09-07 16:11 ` [igt-dev] [i-g-t V3 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem
` (9 more replies)
0 siblings, 10 replies; 18+ messages in thread
From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw)
To: igt-dev
Separate display specific tests from Core and maintain the
binary names with kms_ prefix.
V2: - Rebase
V3: - Restore old Copyright
- Separate more tests from i915_pm_rpm
Bhanuprakash Modem (7):
tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight
tests/intel/kms_pm_backlight: Fix testplan documentation
tests/intel/pm: Rename i915_pm_dc to kms_pm_dc
tests/intel/kms_pm_dc: Fix testplan documentation
tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp
tests/intel/kms_pm_lpsp: Fix testplan documentation
tests/intel/pm: Separate display specific tests from i915_pm_rpm
tests/intel-ci/blacklist-pre-merge.txt | 8 +-
tests/intel-ci/blacklist.txt | 2 +-
tests/intel-ci/fast-feedback.testlist | 8 +-
tests/intel/i915_pm_rpm.c | 1125 ----------
...i915_pm_backlight.c => kms_pm_backlight.c} | 36 +-
tests/intel/{i915_pm_dc.c => kms_pm_dc.c} | 66 +-
tests/intel/{i915_pm_lpsp.c => kms_pm_lpsp.c} | 15 +-
tests/intel/kms_pm_rpm.c | 1840 +++++++++++++++++
tests/meson.build | 7 +-
9 files changed, 1938 insertions(+), 1169 deletions(-)
rename tests/intel/{i915_pm_backlight.c => kms_pm_backlight.c} (91%)
rename tests/intel/{i915_pm_dc.c => kms_pm_dc.c} (92%)
rename tests/intel/{i915_pm_lpsp.c => kms_pm_lpsp.c} (95%)
create mode 100644 tests/intel/kms_pm_rpm.c
--
2.40.0
^ permalink raw reply [flat|nested] 18+ messages in thread* [igt-dev] [i-g-t V3 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem @ 2023-09-07 16:11 ` Bhanuprakash Modem 2023-09-08 8:25 ` Sharma, Swati2 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem ` (8 subsequent siblings) 9 siblings, 1 reply; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw) To: igt-dev As i915_pm_backlight is a display specific test, rename it with the "kms_" prefix, i.e kms_pm_backlight. V2: - Rebase V3: - Restore old Copyright Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/intel-ci/fast-feedback.testlist | 2 +- tests/intel/{i915_pm_backlight.c => kms_pm_backlight.c} | 0 tests/meson.build | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/intel/{i915_pm_backlight.c => kms_pm_backlight.c} (100%) diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist index 841051058..51010a2f7 100644 --- a/tests/intel-ci/fast-feedback.testlist +++ b/tests/intel-ci/fast-feedback.testlist @@ -118,12 +118,12 @@ 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_psr@primary_page_flip igt@kms_psr@cursor_plane_move igt@kms_psr@sprite_plane_onoff igt@kms_psr@primary_mmap_gtt igt@kms_setmode@basic-clone-single-crtc -igt@i915_pm_backlight@basic-brightness igt@i915_pm_rpm@basic-pci-d3-state igt@i915_pm_rpm@basic-rte igt@i915_pm_rps@basic-api diff --git a/tests/intel/i915_pm_backlight.c b/tests/intel/kms_pm_backlight.c similarity index 100% rename from tests/intel/i915_pm_backlight.c rename to tests/intel/kms_pm_backlight.c diff --git a/tests/meson.build b/tests/meson.build index aa8e3434c..442df7d84 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -221,7 +221,6 @@ intel_i915_progs = [ 'i915_module_load', 'i915_pciid', 'i915_pipe_stress', - 'i915_pm_backlight', 'i915_pm_freq_mult', 'i915_pm_lpsp', 'i915_pm_rpm', @@ -262,6 +261,7 @@ intel_kms_progs = [ 'kms_legacy_colorkey', 'kms_mmap_write_crc', 'kms_pipe_b_c_ivb', + 'kms_pm_backlight', 'kms_psr', 'kms_psr2_sf', 'kms_psr2_su', -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [igt-dev] [i-g-t V3 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem @ 2023-09-08 8:25 ` Sharma, Swati2 0 siblings, 0 replies; 18+ messages in thread From: Sharma, Swati2 @ 2023-09-08 8:25 UTC (permalink / raw) To: Bhanuprakash Modem, igt-dev LGTM Reviewed-by: Swati Sharma <swati2.sharma@intel.com> On 07-Sep-23 9:41 PM, Bhanuprakash Modem wrote: > As i915_pm_backlight is a display specific test, rename it with > the "kms_" prefix, i.e kms_pm_backlight. > > V2: - Rebase > V3: - Restore old Copyright > > Cc: Swati Sharma <swati2.sharma@intel.com> > Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> > --- > tests/intel-ci/fast-feedback.testlist | 2 +- > tests/intel/{i915_pm_backlight.c => kms_pm_backlight.c} | 0 > tests/meson.build | 2 +- > 3 files changed, 2 insertions(+), 2 deletions(-) > rename tests/intel/{i915_pm_backlight.c => kms_pm_backlight.c} (100%) > > diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist > index 841051058..51010a2f7 100644 > --- a/tests/intel-ci/fast-feedback.testlist > +++ b/tests/intel-ci/fast-feedback.testlist > @@ -118,12 +118,12 @@ 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_psr@primary_page_flip > igt@kms_psr@cursor_plane_move > igt@kms_psr@sprite_plane_onoff > igt@kms_psr@primary_mmap_gtt > igt@kms_setmode@basic-clone-single-crtc > -igt@i915_pm_backlight@basic-brightness > igt@i915_pm_rpm@basic-pci-d3-state > igt@i915_pm_rpm@basic-rte > igt@i915_pm_rps@basic-api > diff --git a/tests/intel/i915_pm_backlight.c b/tests/intel/kms_pm_backlight.c > similarity index 100% > rename from tests/intel/i915_pm_backlight.c > rename to tests/intel/kms_pm_backlight.c > diff --git a/tests/meson.build b/tests/meson.build > index aa8e3434c..442df7d84 100644 > --- a/tests/meson.build > +++ b/tests/meson.build > @@ -221,7 +221,6 @@ intel_i915_progs = [ > 'i915_module_load', > 'i915_pciid', > 'i915_pipe_stress', > - 'i915_pm_backlight', > 'i915_pm_freq_mult', > 'i915_pm_lpsp', > 'i915_pm_rpm', > @@ -262,6 +261,7 @@ intel_kms_progs = [ > 'kms_legacy_colorkey', > 'kms_mmap_write_crc', > 'kms_pipe_b_c_ivb', > + 'kms_pm_backlight', > 'kms_psr', > 'kms_psr2_sf', > 'kms_psr2_su', ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] [i-g-t V3 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem @ 2023-09-07 16:11 ` Bhanuprakash Modem 2023-09-08 8:29 ` Sharma, Swati2 2023-09-08 12:17 ` [igt-dev] [i-g-t V4 " Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 3/7] tests/intel/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem ` (7 subsequent siblings) 9 siblings, 2 replies; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw) To: igt-dev As kms_pm_backlight is moved to display, update the test documentation according to the kms testplan kms_test_config.json V2: - Fix "Run type" Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/intel/kms_pm_backlight.c | 36 ++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c index 3c73b054b..81c929c54 100644 --- a/tests/intel/kms_pm_backlight.c +++ b/tests/intel/kms_pm_backlight.c @@ -37,29 +37,49 @@ #include "igt_device.h" #include "igt_device_scan.h" /** - * TEST: i915 pm backlight + * TEST: kms pm backlight + * Category: Display * Description: Basic backlight sysfs test - * Feature: backlight * * SUBTEST: bad-brightness - * Description: test the bad brightness. + * Description: Test the bad brightness. + * Driver requirement: i915 + * Functionality: backlight + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test * * SUBTEST: basic-brightness - * Description: test the basic brightness. - * Run type: BAT + * Description: Test the basic brightness. + * Driver requirement: i915 + * Functionality: backlight + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: fade - * Description: test basic fade. + * Description: Test basic fade. + * Driver requirement: i915 + * Functionality: backlight + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test * * SUBTEST: fade-with-dpms - * Description: test the fade with DPMS. + * Description: Test the fade with DPMS. + * Driver requirement: i915 + * Functionality: dpms, backlight + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test * * SUBTEST: fade-with-suspend - * Description: test the fade with suspend. + * Description: Test the fade with suspend. + * Driver requirement: i915 + * Functionality: backlight, suspend + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test */ struct context { -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [igt-dev] [i-g-t V3 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem @ 2023-09-08 8:29 ` Sharma, Swati2 2023-09-08 12:17 ` [igt-dev] [i-g-t V4 " Bhanuprakash Modem 1 sibling, 0 replies; 18+ messages in thread From: Sharma, Swati2 @ 2023-09-08 8:29 UTC (permalink / raw) To: Bhanuprakash Modem, igt-dev On 07-Sep-23 9:41 PM, Bhanuprakash Modem wrote: > As kms_pm_backlight is moved to display, update the test > documentation according to the kms testplan kms_test_config.json > > V2: - Fix "Run type" > > Cc: Swati Sharma <swati2.sharma@intel.com> > Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> > --- > tests/intel/kms_pm_backlight.c | 36 ++++++++++++++++++++++++++-------- > 1 file changed, 28 insertions(+), 8 deletions(-) > > diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c > index 3c73b054b..81c929c54 100644 > --- a/tests/intel/kms_pm_backlight.c > +++ b/tests/intel/kms_pm_backlight.c > @@ -37,29 +37,49 @@ > #include "igt_device.h" > #include "igt_device_scan.h" > /** > - * TEST: i915 pm backlight > + * TEST: kms pm backlight > + * Category: Display > * Description: Basic backlight sysfs test > - * Feature: backlight > * > * SUBTEST: bad-brightness > - * Description: test the bad brightness. > + * Description: Test the bad brightness. > + * Driver requirement: i915 > + * Functionality: backlight > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > * > * SUBTEST: basic-brightness > - * Description: test the basic brightness. > - * Run type: BAT > + * Description: Test the basic brightness. > + * Driver requirement: i915 > + * Functionality: backlight > + * Mega feature: Display Power > + * Run type: FULL This test is in ffb. Run Type should be BAT. > + * Test category: functionality test > * > * SUBTEST: fade > - * Description: test basic fade. > + * Description: Test basic fade. > + * Driver requirement: i915 > + * Functionality: backlight > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > * > * SUBTEST: fade-with-dpms > - * Description: test the fade with DPMS. > + * Description: Test the fade with DPMS. > + * Driver requirement: i915 > + * Functionality: dpms, backlight > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > * > * SUBTEST: fade-with-suspend > - * Description: test the fade with suspend. > + * Description: Test the fade with suspend. > + * Driver requirement: i915 > + * Functionality: backlight, suspend > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > */ > > struct context { ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] [i-g-t V4 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem 2023-09-08 8:29 ` Sharma, Swati2 @ 2023-09-08 12:17 ` Bhanuprakash Modem 2023-09-08 12:29 ` Sharma, Swati2 1 sibling, 1 reply; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-08 12:17 UTC (permalink / raw) To: igt-dev As kms_pm_backlight is moved to display, update the test documentation according to the kms testplan kms_test_config.json V2, V3: - Fix "Run type" Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/intel/kms_pm_backlight.c | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c index 3c73b054b..42aa7cb5d 100644 --- a/tests/intel/kms_pm_backlight.c +++ b/tests/intel/kms_pm_backlight.c @@ -37,29 +37,49 @@ #include "igt_device.h" #include "igt_device_scan.h" /** - * TEST: i915 pm backlight + * TEST: kms pm backlight + * Category: Display * Description: Basic backlight sysfs test - * Feature: backlight * * SUBTEST: bad-brightness - * Description: test the bad brightness. + * Description: Test the bad brightness. + * Driver requirement: i915 + * Functionality: backlight + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test * * SUBTEST: basic-brightness - * Description: test the basic brightness. + * Description: Test the basic brightness. + * Driver requirement: i915 + * Functionality: backlight + * Mega feature: Display Power * Run type: BAT + * Test category: functionality test * * SUBTEST: fade - * Description: test basic fade. + * Description: Test basic fade. + * Driver requirement: i915 + * Functionality: backlight + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test * * SUBTEST: fade-with-dpms - * Description: test the fade with DPMS. + * Description: Test the fade with DPMS. + * Driver requirement: i915 + * Functionality: dpms, backlight + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test * * SUBTEST: fade-with-suspend - * Description: test the fade with suspend. + * Description: Test the fade with suspend. + * Driver requirement: i915 + * Functionality: backlight, suspend + * Mega feature: Display Power * Run type: FULL + * Test category: functionality test */ struct context { -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [igt-dev] [i-g-t V4 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation 2023-09-08 12:17 ` [igt-dev] [i-g-t V4 " Bhanuprakash Modem @ 2023-09-08 12:29 ` Sharma, Swati2 0 siblings, 0 replies; 18+ messages in thread From: Sharma, Swati2 @ 2023-09-08 12:29 UTC (permalink / raw) To: Bhanuprakash Modem, igt-dev LGTM Reviewed-by: Swati Sharma <swati2.sharma@intel.com> On 08-Sep-23 5:47 PM, Bhanuprakash Modem wrote: > As kms_pm_backlight is moved to display, update the test > documentation according to the kms testplan kms_test_config.json > > V2, V3: - Fix "Run type" > > Cc: Swati Sharma <swati2.sharma@intel.com> > Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> > --- > tests/intel/kms_pm_backlight.c | 34 +++++++++++++++++++++++++++------- > 1 file changed, 27 insertions(+), 7 deletions(-) > > diff --git a/tests/intel/kms_pm_backlight.c b/tests/intel/kms_pm_backlight.c > index 3c73b054b..42aa7cb5d 100644 > --- a/tests/intel/kms_pm_backlight.c > +++ b/tests/intel/kms_pm_backlight.c > @@ -37,29 +37,49 @@ > #include "igt_device.h" > #include "igt_device_scan.h" > /** > - * TEST: i915 pm backlight > + * TEST: kms pm backlight > + * Category: Display > * Description: Basic backlight sysfs test > - * Feature: backlight > * > * SUBTEST: bad-brightness > - * Description: test the bad brightness. > + * Description: Test the bad brightness. > + * Driver requirement: i915 > + * Functionality: backlight > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > * > * SUBTEST: basic-brightness > - * Description: test the basic brightness. > + * Description: Test the basic brightness. > + * Driver requirement: i915 > + * Functionality: backlight > + * Mega feature: Display Power > * Run type: BAT > + * Test category: functionality test > * > * SUBTEST: fade > - * Description: test basic fade. > + * Description: Test basic fade. > + * Driver requirement: i915 > + * Functionality: backlight > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > * > * SUBTEST: fade-with-dpms > - * Description: test the fade with DPMS. > + * Description: Test the fade with DPMS. > + * Driver requirement: i915 > + * Functionality: dpms, backlight > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > * > * SUBTEST: fade-with-suspend > - * Description: test the fade with suspend. > + * Description: Test the fade with suspend. > + * Driver requirement: i915 > + * Functionality: backlight, suspend > + * Mega feature: Display Power > * Run type: FULL > + * Test category: functionality test > */ > > struct context { ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] [i-g-t V3 3/7] tests/intel/pm: Rename i915_pm_dc to kms_pm_dc 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem @ 2023-09-07 16:11 ` Bhanuprakash Modem 2023-09-08 8:30 ` Sharma, Swati2 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 4/7] tests/intel/kms_pm_dc: Fix testplan documentation Bhanuprakash Modem ` (6 subsequent siblings) 9 siblings, 1 reply; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw) To: igt-dev As i915_pm_dc is a display specific test, rename it with the "kms_" prefix, i.e kms_pm_dc. V2: - Rebase V3: - Restore old Copyright Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/intel/{i915_pm_dc.c => kms_pm_dc.c} | 0 tests/meson.build | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/intel/{i915_pm_dc.c => kms_pm_dc.c} (100%) diff --git a/tests/intel/i915_pm_dc.c b/tests/intel/kms_pm_dc.c similarity index 100% rename from tests/intel/i915_pm_dc.c rename to tests/intel/kms_pm_dc.c diff --git a/tests/meson.build b/tests/meson.build index 442df7d84..ea8b60282 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -224,7 +224,6 @@ intel_i915_progs = [ 'i915_pm_freq_mult', 'i915_pm_lpsp', 'i915_pm_rpm', - 'i915_pm_dc', 'i915_pm_rc6_residency', 'i915_pm_rps', 'i915_pm_sseu', @@ -262,6 +261,7 @@ intel_kms_progs = [ 'kms_mmap_write_crc', 'kms_pipe_b_c_ivb', 'kms_pm_backlight', + 'kms_pm_dc', 'kms_psr', 'kms_psr2_sf', 'kms_psr2_su', -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [igt-dev] [i-g-t V3 3/7] tests/intel/pm: Rename i915_pm_dc to kms_pm_dc 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 3/7] tests/intel/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem @ 2023-09-08 8:30 ` Sharma, Swati2 0 siblings, 0 replies; 18+ messages in thread From: Sharma, Swati2 @ 2023-09-08 8:30 UTC (permalink / raw) To: Bhanuprakash Modem, igt-dev LGTM Reviewed-by: Swati Sharma <swati2.sharma@intel.com> On 07-Sep-23 9:41 PM, Bhanuprakash Modem wrote: > As i915_pm_dc is a display specific test, rename it with > the "kms_" prefix, i.e kms_pm_dc. > > V2: - Rebase > V3: - Restore old Copyright > > Cc: Swati Sharma <swati2.sharma@intel.com> > Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> > --- > tests/intel/{i915_pm_dc.c => kms_pm_dc.c} | 0 > tests/meson.build | 2 +- > 2 files changed, 1 insertion(+), 1 deletion(-) > rename tests/intel/{i915_pm_dc.c => kms_pm_dc.c} (100%) > > diff --git a/tests/intel/i915_pm_dc.c b/tests/intel/kms_pm_dc.c > similarity index 100% > rename from tests/intel/i915_pm_dc.c > rename to tests/intel/kms_pm_dc.c > diff --git a/tests/meson.build b/tests/meson.build > index 442df7d84..ea8b60282 100644 > --- a/tests/meson.build > +++ b/tests/meson.build > @@ -224,7 +224,6 @@ intel_i915_progs = [ > 'i915_pm_freq_mult', > 'i915_pm_lpsp', > 'i915_pm_rpm', > - 'i915_pm_dc', > 'i915_pm_rc6_residency', > 'i915_pm_rps', > 'i915_pm_sseu', > @@ -262,6 +261,7 @@ intel_kms_progs = [ > 'kms_mmap_write_crc', > 'kms_pipe_b_c_ivb', > 'kms_pm_backlight', > + 'kms_pm_dc', > 'kms_psr', > 'kms_psr2_sf', > 'kms_psr2_su', ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] [i-g-t V3 4/7] tests/intel/kms_pm_dc: Fix testplan documentation 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (2 preceding siblings ...) 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 3/7] tests/intel/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem @ 2023-09-07 16:11 ` Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 5/7] tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem ` (5 subsequent siblings) 9 siblings, 0 replies; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw) To: igt-dev As kms_pm_dc is moved to display, update the test documentation according to the kms testplan kms_test_config.json Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com> --- tests/intel/kms_pm_dc.c | 66 ++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 21 deletions(-) diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c index 13ae31583..895fe4b4c 100644 --- a/tests/intel/kms_pm_dc.c +++ b/tests/intel/kms_pm_dc.c @@ -37,45 +37,69 @@ #include "time.h" #include "igt_pm.h" /** - * TEST: i915 pm dc + * TEST: kms pm dc + * Category: Display * Description: Tests to validate display power DC states. - * Run type: FULL * * SUBTEST: dc3co-vpb-simulation - * Description: - * In this test we make sure that system enters DC3CO when PSR2 is active and system is in SLEEP - * state - * Feature: dc3co, pm_dc + * Description: Make sure that system enters DC3CO when PSR2 is active and system + * is in SLEEP state + * Driver requirement: i915 + * Functionality: dc3co, pm_dc, psr2 + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: dc5-dpms - * Description: - * This test validates display engine entry to DC5 state while all connectors's DPMS property - * set to OFF - * Feature: pm_dc + * Description: Validate display engine entry to DC5 state while all connectors's + * DPMS property set to OFF + * Driver requirement: i915 + * Functionality: dpms, pm_dc + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: dc5-dpms-negative - * Description: - * This test validates negative scenario of DC5 display engine entry to DC5 state while all - * connectors's DPMS property set to ON - * Feature: pm_dc + * Description: Validate negative scenario of DC5 display engine entry to DC5 state + * while all connectors's DPMS property set to ON + * Driver requirement: i915 + * Functionality: dpms, pm_dc + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: dc5-psr * Description: This test validates display engine entry to DC5 state while PSR is active - * Feature: pm_dc + * Driver requirement: i915 + * Functionality: pm_dc, psr + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: dc6-dpms - * Description: - * This test validates display engine entry to DC6 state while all connectors's DPMS property - * set to OFF - * Feature: pm_dc + * Description: Validate display engine entry to DC6 state while all connectors's + * DPMS property set to OFF + * Driver requirement: i915 + * Functionality: dpms, pm_dc + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: dc6-psr * Description: This test validates display engine entry to DC6 state while PSR is active - * Feature: pm_dc + * Driver requirement: i915 + * Functionality: pm_dc, psr + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: dc9-dpms * Description: This test validates display engine entry to DC9 state - * Feature: pm_dc + * Driver requirement: i915 + * Functionality: dpms, pm_dc + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test */ /* DC State Flags */ -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [igt-dev] [i-g-t V3 5/7] tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (3 preceding siblings ...) 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 4/7] tests/intel/kms_pm_dc: Fix testplan documentation Bhanuprakash Modem @ 2023-09-07 16:11 ` Bhanuprakash Modem 2023-09-08 8:32 ` Sharma, Swati2 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 6/7] tests/intel/kms_pm_lpsp: Fix testplan documentation Bhanuprakash Modem ` (4 subsequent siblings) 9 siblings, 1 reply; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw) To: igt-dev As i915_pm_lpsp is a display specific test, rename it with the "kms_" prefix, i.e kms_pm_lpsp. V2: - Rebase V3: - Restore old Copyright Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/intel/{i915_pm_lpsp.c => kms_pm_lpsp.c} | 0 tests/meson.build | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/intel/{i915_pm_lpsp.c => kms_pm_lpsp.c} (100%) diff --git a/tests/intel/i915_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c similarity index 100% rename from tests/intel/i915_pm_lpsp.c rename to tests/intel/kms_pm_lpsp.c diff --git a/tests/meson.build b/tests/meson.build index ea8b60282..92729e0c3 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -222,7 +222,6 @@ intel_i915_progs = [ 'i915_pciid', 'i915_pipe_stress', 'i915_pm_freq_mult', - 'i915_pm_lpsp', 'i915_pm_rpm', 'i915_pm_rc6_residency', 'i915_pm_rps', @@ -262,6 +261,7 @@ intel_kms_progs = [ 'kms_pipe_b_c_ivb', 'kms_pm_backlight', 'kms_pm_dc', + 'kms_pm_lpsp', 'kms_psr', 'kms_psr2_sf', 'kms_psr2_su', -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [igt-dev] [i-g-t V3 5/7] tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 5/7] tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem @ 2023-09-08 8:32 ` Sharma, Swati2 0 siblings, 0 replies; 18+ messages in thread From: Sharma, Swati2 @ 2023-09-08 8:32 UTC (permalink / raw) To: Bhanuprakash Modem, igt-dev LGTM Reviewed-by: Swati Sharma <swati2.sharma@intel.com> On 07-Sep-23 9:41 PM, Bhanuprakash Modem wrote: > As i915_pm_lpsp is a display specific test, rename it with > the "kms_" prefix, i.e kms_pm_lpsp. > > V2: - Rebase > V3: - Restore old Copyright > > Cc: Swati Sharma <swati2.sharma@intel.com> > Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> > --- > tests/intel/{i915_pm_lpsp.c => kms_pm_lpsp.c} | 0 > tests/meson.build | 2 +- > 2 files changed, 1 insertion(+), 1 deletion(-) > rename tests/intel/{i915_pm_lpsp.c => kms_pm_lpsp.c} (100%) > > diff --git a/tests/intel/i915_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c > similarity index 100% > rename from tests/intel/i915_pm_lpsp.c > rename to tests/intel/kms_pm_lpsp.c > diff --git a/tests/meson.build b/tests/meson.build > index ea8b60282..92729e0c3 100644 > --- a/tests/meson.build > +++ b/tests/meson.build > @@ -222,7 +222,6 @@ intel_i915_progs = [ > 'i915_pciid', > 'i915_pipe_stress', > 'i915_pm_freq_mult', > - 'i915_pm_lpsp', > 'i915_pm_rpm', > 'i915_pm_rc6_residency', > 'i915_pm_rps', > @@ -262,6 +261,7 @@ intel_kms_progs = [ > 'kms_pipe_b_c_ivb', > 'kms_pm_backlight', > 'kms_pm_dc', > + 'kms_pm_lpsp', > 'kms_psr', > 'kms_psr2_sf', > 'kms_psr2_su', ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] [i-g-t V3 6/7] tests/intel/kms_pm_lpsp: Fix testplan documentation 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (4 preceding siblings ...) 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 5/7] tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem @ 2023-09-07 16:11 ` Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 7/7] tests/intel/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem ` (3 subsequent siblings) 9 siblings, 0 replies; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw) To: igt-dev As kms_pm_lpsp is moved to display, update the test documentation according to the kms testplan kms_test_config.json Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com> --- tests/intel/kms_pm_lpsp.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tests/intel/kms_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c index 291e56674..9b5547cda 100644 --- a/tests/intel/kms_pm_lpsp.c +++ b/tests/intel/kms_pm_lpsp.c @@ -33,16 +33,25 @@ #include <fcntl.h> #include <unistd.h> /** - * TEST: i915 pm lpsp + * TEST: kms pm lpsp * Description: These tests validates display Low Power Single Pipe configurations - * Feature: pm_lpsp - * Run type: FULL + * Category: Display * * SUBTEST: kms-lpsp * Description: This test validates lpsp on all connected outputs on low power PIPE_A + * Driver requirement: i915 + * Functionality: pm_lpsp + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test * * SUBTEST: screens-disabled * Description: This test validates lpsp while all crtc are disabled + * Driver requirement: i915 + * Functionality: pm_lpsp + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test */ #define MAX_SINK_LPSP_INFO_BUF_LEN 4096 -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* [igt-dev] [i-g-t V3 7/7] tests/intel/pm: Separate display specific tests from i915_pm_rpm 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (5 preceding siblings ...) 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 6/7] tests/intel/kms_pm_lpsp: Fix testplan documentation Bhanuprakash Modem @ 2023-09-07 16:11 ` Bhanuprakash Modem 2023-09-08 8:42 ` Sharma, Swati2 2023-09-07 18:38 ` [igt-dev] ✓ Fi.CI.BAT: success for Separate display PM tests from Core (rev3) Patchwork ` (2 subsequent siblings) 9 siblings, 1 reply; 18+ messages in thread From: Bhanuprakash Modem @ 2023-09-07 16:11 UTC (permalink / raw) To: igt-dev Separate display specific tests, from i915_pm_rpm and create a new binary "kms_pm_rpm" for them. Note: This patch can be split into multiple, but still it is a good starting point to review. V2: - Drop unnecessary header files V3: - Restore old Copyright - Fix missing display tests Cc: Anshuman Gupta <anshuman.gupta@intel.com> Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/intel-ci/blacklist-pre-merge.txt | 8 +- tests/intel-ci/blacklist.txt | 2 +- tests/intel-ci/fast-feedback.testlist | 6 +- tests/intel/i915_pm_rpm.c | 1125 --------------- tests/intel/kms_pm_rpm.c | 1840 ++++++++++++++++++++++++ tests/meson.build | 1 + 6 files changed, 1849 insertions(+), 1133 deletions(-) create mode 100644 tests/intel/kms_pm_rpm.c diff --git a/tests/intel-ci/blacklist-pre-merge.txt b/tests/intel-ci/blacklist-pre-merge.txt index d4e5ef66e..0a1315aae 100644 --- a/tests/intel-ci/blacklist-pre-merge.txt +++ b/tests/intel-ci/blacklist-pre-merge.txt @@ -13,8 +13,8 @@ # # Data acquired on 2020-02-19 by Martin Peres ############################################################################### -igt@i915_pm_rpm@legacy-planes(-dpms)? -igt@i915_pm_rpm@universal-planes(-dpms)? +igt@kms_pm_rpm@legacy-planes(-dpms)? +igt@kms_pm_rpm@universal-planes(-dpms)? ############################################################################### @@ -67,7 +67,7 @@ igt@gem_exec_alignment@.* # # Data acquired on 2020-02-20 by Martin Peres ############################################################################### -igt@i915_pm_rpm@debugfs-read +igt@kms_pm_rpm@debugfs-read ############################################################################### @@ -109,4 +109,4 @@ igt@gem_tiled_wc # # Data acquired on 2020-02-20 by Martin Peres ############################################################################### -igt@i915_pm_rpm@modeset-stress-extra-wait +igt@kms_pm_rpm@modeset-stress-extra-wait diff --git a/tests/intel-ci/blacklist.txt b/tests/intel-ci/blacklist.txt index e13759d3e..c8bce2e0e 100644 --- a/tests/intel-ci/blacklist.txt +++ b/tests/intel-ci/blacklist.txt @@ -13,7 +13,7 @@ igt@meta_test(@.*)? # failures in tests run afterwards. ############################################### #igt@i915_module_load(@.*)? # danger, danger; hope for taints! -igt@i915_pm_rpm@module-reload +igt@kms_pm_rpm@module-reload igt@i915_pm_rpm@gem-execbuf-stress-extra-wait ############################################### # GEM diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist index 51010a2f7..3bbb7593a 100644 --- a/tests/intel-ci/fast-feedback.testlist +++ b/tests/intel-ci/fast-feedback.testlist @@ -119,13 +119,13 @@ 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@primary_page_flip igt@kms_psr@cursor_plane_move igt@kms_psr@sprite_plane_onoff igt@kms_psr@primary_mmap_gtt igt@kms_setmode@basic-clone-single-crtc -igt@i915_pm_rpm@basic-pci-d3-state -igt@i915_pm_rpm@basic-rte igt@i915_pm_rps@basic-api igt@prime_self_import@basic-llseek-bad igt@prime_self_import@basic-llseek-size @@ -161,7 +161,7 @@ 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 +igt@kms_pm_rpm@module-reload # Kernel selftests igt@i915_selftest@live diff --git a/tests/intel/i915_pm_rpm.c b/tests/intel/i915_pm_rpm.c index 17413ffe5..2b0a63bde 100644 --- a/tests/intel/i915_pm_rpm.c +++ b/tests/intel/i915_pm_rpm.c @@ -43,25 +43,6 @@ /** * TEST: i915 pm rpm * - * SUBTEST: basic-pci-d3-state - * Description: Validate PCI device D3 state enter-exit scenario using runtime PM - * Feature: pm_rpm - * Functionality: D3 state entry-exit - * Run type: BAT - * Test category: pm_rpm - * - * SUBTEST: basic-rte - * Feature: pm_rpm - * Run type: BAT - * - * SUBTEST: cursor - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: cursor-dpms - * Feature: pm_rpm - * Run type: FULL - * * SUBTEST: debugfs-forcewake-user * Feature: pm_rpm * Run type: FULL @@ -70,34 +51,6 @@ * Feature: pm_rpm * Run type: FULL * - * SUBTEST: dpms-lpsp - * Feature: dpms, pm_rpm - * Run type: FULL - * - * SUBTEST: dpms-mode-unset-lpsp - * Feature: dpms, pm_rpm - * Run type: FULL - * - * SUBTEST: dpms-mode-unset-non-lpsp - * Feature: dpms, non-lpsp, pm_rpm - * Run type: FULL - * - * SUBTEST: dpms-non-lpsp - * Feature: dpms, non-lpsp, pm_rpm - * Run type: FULL - * - * SUBTEST: drm-resources-equal - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: fences - * Feature: gtt, pm_rpm, synchronization - * Run type: FULL - * - * SUBTEST: fences-dpms - * Feature: gtt, pm_rpm, synchronization - * Run type: FULL - * * SUBTEST: gem-evict-pwrite * Feature: gtt, pm_rpm * Run type: FULL @@ -127,66 +80,10 @@ * Feature: pm_rpm * Run type: FULL * - * SUBTEST: i2c - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: legacy-planes - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: legacy-planes-dpms - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-lpsp - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-lpsp-stress - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-lpsp-stress-no-wait - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-non-lpsp - * Feature: non-lpsp, pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-non-lpsp-stress - * Feature: non-lpsp, pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-non-lpsp-stress-no-wait - * Feature: non-lpsp, pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-pc8-residency-stress - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: modeset-stress-extra-wait - * Feature: pm_rpm - * Run type: FULL - * * SUBTEST: module-reload * Feature: pm_rpm * Run type: BAT * - * SUBTEST: pc8-residency - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: pm-caching - * Feature: gtt, pm_rpm - * Run type: FULL - * - * SUBTEST: pm-tiling - * Feature: gtt, pm_rpm - * Run type: FULL - * * SUBTEST: reg-read-ioctl * Feature: pm_rpm * Run type: FULL @@ -214,18 +111,6 @@ * SUBTEST: system-suspend-execbuf * Feature: pm_rpm * Run type: FULL - * - * SUBTEST: system-suspend-modeset - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: universal-planes - * Feature: pm_rpm - * Run type: FULL - * - * SUBTEST: universal-planes-dpms - * Feature: pm_rpm - * Run type: FULL */ #if defined(__linux__) @@ -605,17 +490,6 @@ static bool enable_one_screen_with_type(struct mode_set_data *data, return set_mode_for_params(params); } -static void enable_one_screen(struct mode_set_data *data) -{ - /* SKIP if there are no connected screens. */ - igt_require(enable_one_screen_with_type(data, SCREEN_TYPE_ANY)); -} - -#define enable_one_screen_and_wait(data) do { \ - enable_one_screen(data); \ - igt_assert(wait_for_active()); \ -} while (0) - static void enable_one_screen_or_forcewake_get_and_wait(struct mode_set_data *data) { @@ -707,343 +581,6 @@ static void fini_mode_set_data(struct mode_set_data *data) } } -static void get_drm_info(struct compare_data *data) -{ - int i; - - data->res = drmModeGetResources(drm_fd); - if (!data->res) - return; - - igt_assert(data->res->count_connectors <= MAX_CONNECTORS); - igt_assert(data->res->count_encoders <= MAX_ENCODERS); - igt_assert(data->res->count_crtcs <= MAX_CRTCS); - - for (i = 0; i < data->res->count_connectors; i++) { - /* Don't use GetConnectorCurrent, we want to force a reprobe - * here. */ - data->connectors[i] = drmModeGetConnector(drm_fd, - data->res->connectors[i]); - data->edids[i] = get_connector_edid(data->connectors[i], i); - } - for (i = 0; i < data->res->count_encoders; i++) - data->encoders[i] = drmModeGetEncoder(drm_fd, - data->res->encoders[i]); - for (i = 0; i < data->res->count_crtcs; i++) - data->crtcs[i] = drmModeGetCrtc(drm_fd, data->res->crtcs[i]); -} - -static void free_drm_info(struct compare_data *data) -{ - int i; - - if (!data->res) - return; - - for (i = 0; i < data->res->count_connectors; i++) { - drmModeFreeConnector(data->connectors[i]); - drmModeFreePropertyBlob(data->edids[i]); - } - for (i = 0; i < data->res->count_encoders; i++) - drmModeFreeEncoder(data->encoders[i]); - for (i = 0; i < data->res->count_crtcs; i++) - drmModeFreeCrtc(data->crtcs[i]); - - drmModeFreeResources(data->res); -} - -#define COMPARE(d1, d2, data) igt_assert_eq(d1->data, d2->data) -#define COMPARE_ARRAY(d1, d2, size, data) do { \ - for (i = 0; i < size; i++) \ - igt_assert(d1->data[i] == d2->data[i]); \ -} while (0) - -static void assert_drm_resources_equal(struct compare_data *d1, - struct compare_data *d2) -{ - COMPARE(d1, d2, res->count_connectors); - COMPARE(d1, d2, res->count_encoders); - COMPARE(d1, d2, res->count_crtcs); - COMPARE(d1, d2, res->min_width); - COMPARE(d1, d2, res->max_width); - COMPARE(d1, d2, res->min_height); - COMPARE(d1, d2, res->max_height); -} - -static void assert_modes_equal(drmModeModeInfoPtr m1, drmModeModeInfoPtr m2) -{ - COMPARE(m1, m2, clock); - COMPARE(m1, m2, hdisplay); - COMPARE(m1, m2, hsync_start); - COMPARE(m1, m2, hsync_end); - COMPARE(m1, m2, htotal); - COMPARE(m1, m2, hskew); - COMPARE(m1, m2, vdisplay); - COMPARE(m1, m2, vsync_start); - COMPARE(m1, m2, vsync_end); - COMPARE(m1, m2, vtotal); - COMPARE(m1, m2, vscan); - COMPARE(m1, m2, vrefresh); - COMPARE(m1, m2, flags); - COMPARE(m1, m2, type); - igt_assert(strcmp(m1->name, m2->name) == 0); -} - -static void assert_drm_connectors_equal(drmModeConnectorPtr c1, - drmModeConnectorPtr c2) -{ - int i; - - COMPARE(c1, c2, connector_id); - COMPARE(c1, c2, connector_type); - COMPARE(c1, c2, connector_type_id); - COMPARE(c1, c2, mmWidth); - COMPARE(c1, c2, mmHeight); - COMPARE(c1, c2, count_modes); - COMPARE(c1, c2, count_props); - COMPARE(c1, c2, count_encoders); - COMPARE_ARRAY(c1, c2, c1->count_props, props); - COMPARE_ARRAY(c1, c2, c1->count_encoders, encoders); - - for (i = 0; i < c1->count_modes; i++) - assert_modes_equal(&c1->modes[0], &c2->modes[0]); -} - -static void assert_drm_encoders_equal(drmModeEncoderPtr e1, - drmModeEncoderPtr e2) -{ - COMPARE(e1, e2, encoder_id); - COMPARE(e1, e2, encoder_type); - COMPARE(e1, e2, possible_crtcs); - COMPARE(e1, e2, possible_clones); -} - -static void assert_drm_crtcs_equal(drmModeCrtcPtr c1, drmModeCrtcPtr c2) -{ - COMPARE(c1, c2, crtc_id); -} - -static void assert_drm_edids_equal(drmModePropertyBlobPtr e1, - drmModePropertyBlobPtr e2) -{ - if (!e1 && !e2) - return; - igt_assert(e1 && e2); - - COMPARE(e1, e2, length); - - igt_assert(memcmp(e1->data, e2->data, e1->length) == 0); -} - -static void assert_drm_infos_equal(struct compare_data *d1, - struct compare_data *d2) -{ - int i; - - if (d1->res == d2->res) - return; - - igt_assert(d1->res); - igt_assert(d2->res); - - assert_drm_resources_equal(d1, d2); - - for (i = 0; i < d1->res->count_connectors; i++) { - assert_drm_connectors_equal(d1->connectors[i], - d2->connectors[i]); - assert_drm_edids_equal(d1->edids[i], d2->edids[i]); - } - - for (i = 0; i < d1->res->count_encoders; i++) - assert_drm_encoders_equal(d1->encoders[i], d2->encoders[i]); - - for (i = 0; i < d1->res->count_crtcs; i++) - assert_drm_crtcs_equal(d1->crtcs[i], d2->crtcs[i]); -} - -static bool find_i2c_path(const char *connector_name, - char *i2c_path, size_t i2c_path_size) -{ - struct dirent *dirent; - DIR *dir; - int sysfs_card_fd = igt_sysfs_open(drm_fd); - int connector_fd = -1; - bool found_i2c_file = false; - ssize_t r; - - dir = fdopendir(sysfs_card_fd); - igt_assert(dir); - - while ((dirent = readdir(dir))) { - /* Skip "cardx-" prefix */ - char *dirname = strchr(dirent->d_name, '-'); - if (dirname==NULL) - continue; - ++dirname; - - if (strcmp(dirname, connector_name) == 0) { - connector_fd = openat(sysfs_card_fd, dirent->d_name, O_RDONLY); - break; - } - } - closedir(dir); - - if (connector_fd < 0) - return false; - - /* try the standard "ddc" symlink first */ - r = readlinkat(connector_fd, "ddc", i2c_path, i2c_path_size); - if (r > 0 && r != i2c_path_size) { - int num; - - i2c_path[r] = '\0'; - - if (sscanf(basename(i2c_path), "i2c-%d", &num) == 1) { - snprintf(i2c_path, i2c_path_size, "/dev/i2c-%d", num); - return true; - } - } - - dir = fdopendir(connector_fd); - igt_assert(dir); - - /* fall back to old "i2c-?" symlink */ - /* FIXME nuke this at some point */ - while ((dirent = readdir(dir))) { - if (strncmp(dirent->d_name, "i2c-", 4) == 0) { - sprintf(i2c_path, "/dev/%s", dirent->d_name); - found_i2c_file = true; - } - } - closedir(dir); - return found_i2c_file; -} - - -static bool i2c_read_edid(const char *connector_name, unsigned char *edid) -{ - char i2c_path[PATH_MAX]; - bool result; - int rc, fd; - struct i2c_msg msgs[] = { - { /* Start at 0. */ - .addr = 0x50, - .flags = 0, - .len = 1, - .buf = edid, - }, { /* Now read the EDID. */ - .addr = 0x50, - .flags = I2C_M_RD, - .len = 128, - .buf = edid, - } - }; - struct i2c_rdwr_ioctl_data msgset = { - .msgs = msgs, - .nmsgs = 2, - }; - - result = find_i2c_path(connector_name, i2c_path, sizeof(i2c_path)); - if (!result) - return false; - - igt_info("Testing %s %s\n", connector_name, i2c_path); - - fd = open(i2c_path, O_RDWR); - igt_assert_neq(fd, -1); - - rc = ioctl(fd, I2C_RDWR, &msgset); - if (rc==-1) { - igt_debug("I2C access failed with errno %d, %s\n", - errno, strerror(errno)); - errno = 0; - } - - close(fd); - return rc >= 0; -} - -static void format_hex_string(const unsigned char edid[static EDID_BLOCK_SIZE], - char buf[static EDID_BLOCK_SIZE * 5 + 1]) -{ - for (int i = 0; i < EDID_BLOCK_SIZE; ++i) - sprintf(buf+i*5, "0x%02x ", edid[i]); -} - -static bool is_mst_connector(int fd, uint32_t connector_id) -{ - return kmstest_get_property(fd, connector_id, - DRM_MODE_OBJECT_CONNECTOR, - "PATH", NULL, NULL, NULL); -} - -static void test_i2c(struct mode_set_data *data) -{ - bool edid_mistmach_i2c_vs_drm = false; - igt_display_t display; - igt_display_require(&display, drm_fd); - - for (int i = 0; i < data->res->count_connectors; i++) { - unsigned char *drm_edid = data->edids[i] ? data->edids[i]->data : NULL; - unsigned char i2c_edid[EDID_BLOCK_SIZE] = {}; - - igt_output_t *output = igt_output_from_connector(&display, - data->connectors[i]); - char *connector_name = (char *) igt_output_name(output); - - bool got_i2c_edid = i2c_read_edid(connector_name, i2c_edid); - bool got_drm_edid = drm_edid != NULL; - bool is_vga = data->connectors[i]->connector_type == DRM_MODE_CONNECTOR_VGA; - - bool edids_equal; - - if (data->connectors[i]->connection != DRM_MODE_CONNECTED || - is_mst_connector(drm_fd, data->connectors[i]->connector_id)) - continue; - - /* We fail to detect some VGA monitors using our i2c method. If you look - * at the dmesg of these cases, you'll see the Kernel complaining about - * the EDID reading mostly FFs and then disabling bit-banging. Since we - * don't want to reimplement everything the Kernel does, let's just - * accept the fact that some VGA outputs won't be properly detected. */ - if (is_vga) - continue; - - if (!got_i2c_edid && !got_drm_edid) - continue; - - if (got_i2c_edid && got_drm_edid) - edids_equal = (0 == memcmp(drm_edid, i2c_edid, EDID_BLOCK_SIZE)); - else - edids_equal = false; - - - if (!edids_equal) { - char buf[5 * EDID_BLOCK_SIZE + 1]; - igt_critical("Detected EDID mismatch on connector %s\n", - connector_name); - - if(got_i2c_edid) - format_hex_string(i2c_edid, buf); - else - sprintf(buf, "NULL"); - - igt_critical("i2c: %s\n", buf); - - if(got_drm_edid) - format_hex_string(drm_edid, buf); - else - sprintf(buf, "NULL"); - - igt_critical("drm: %s\n", buf); - - edid_mistmach_i2c_vs_drm = true; - } - } - igt_fail_on_f(edid_mistmach_i2c_vs_drm, - "There is an EDID mismatch between i2c and DRM!\n"); -} - static void setup_pc8(void) { has_pc8 = false; @@ -1139,128 +676,6 @@ static void teardown_environment(bool display_enabled) has_runtime_pm = false; } -static void basic_subtest(void) -{ - disable_all_screens_and_wait(&ms_data); - - enable_one_screen_or_forcewake_get_and_wait(&ms_data); - forcewake_put(&ms_data); - - /* XXX Also we can test wake up via exec nop */ -} - -static void pc8_residency_subtest(void) -{ - igt_require(has_pc8); - - /* Make sure PC8+ residencies move! */ - disable_all_screens(&ms_data); - igt_assert_f(pc8_plus_residency_changed(30), - "Machine is not reaching PC8+ states, please check its " - "configuration.\n"); - - /* Make sure PC8+ residencies stop! */ - enable_one_screen(&ms_data); - igt_assert_f(!pc8_plus_residency_changed(10), - "PC8+ residency didn't stop with screen enabled.\n"); -} - -static void modeset_subtest(enum screen_type type, int rounds, int wait_flags) -{ - int i; - - if (wait_flags & WAIT_PC8_RES) - igt_require(has_pc8); - - if (wait_flags & WAIT_EXTRA) - rounds /= 2; - - for (i = 0; i < rounds; i++) { - if (wait_flags & USE_DPMS) - disable_all_screens_dpms(&ms_data); - else - disable_all_screens(&ms_data); - - if (wait_flags & WAIT_STATUS) - igt_assert(wait_for_suspended()); - if (wait_flags & WAIT_PC8_RES) - igt_assert(pc8_plus_residency_changed(30)); - if (wait_flags & WAIT_EXTRA) - sleep(5); - - /* If we skip this line it's because the type of screen we want - * is not connected. */ - igt_require(enable_one_screen_with_type(&ms_data, type)); - if (wait_flags & WAIT_STATUS) - igt_assert(wait_for_active()); - if (wait_flags & WAIT_PC8_RES) - igt_assert(!pc8_plus_residency_changed(5)); - if (wait_flags & WAIT_EXTRA) - sleep(5); - } -} - -/* Test of the DRM resources reported by the IOCTLs are still the same. This - * ensures we still see the monitors with the same eyes. We get the EDIDs and - * compare them, which ensures we use DP AUX or GMBUS depending on what's - * connected. */ -static void drm_resources_equal_subtest(void) -{ - struct compare_data pre_suspend, during_suspend, post_suspend; - - enable_one_screen_and_wait(&ms_data); - get_drm_info(&pre_suspend); - igt_assert(wait_for_active()); - - disable_all_screens_and_wait(&ms_data); - get_drm_info(&during_suspend); - igt_assert(wait_for_suspended()); - - enable_one_screen_and_wait(&ms_data); - get_drm_info(&post_suspend); - igt_assert(wait_for_active()); - - assert_drm_infos_equal(&pre_suspend, &during_suspend); - assert_drm_infos_equal(&pre_suspend, &post_suspend); - - free_drm_info(&pre_suspend); - free_drm_info(&during_suspend); - free_drm_info(&post_suspend); -} - -static void i2c_subtest_check_environment(void) -{ - int i2c_dev_files = 0; - DIR *dev_dir; - struct dirent *dirent; - - /* Make sure the /dev/i2c-* files exist. */ - igt_require(modprobe("i2c-dev") == 0); - - dev_dir = opendir("/dev"); - igt_assert(dev_dir); - while ((dirent = readdir(dev_dir))) { - if (strncmp(dirent->d_name, "i2c-", 4) == 0) - i2c_dev_files++; - } - closedir(dev_dir); - igt_require(i2c_dev_files); -} - -/* Try to use raw I2C, which also needs interrupts. */ -static void i2c_subtest(void) -{ - i2c_subtest_check_environment(); - - enable_one_screen_and_wait(&ms_data); - - disable_all_screens_and_wait(&ms_data); - test_i2c(&ms_data); - igt_assert(wait_for_suspended()); - - enable_one_screen(&ms_data); -} - struct read_entry_elapsed { uint64_t elapsed; char *path; @@ -1875,27 +1290,6 @@ static bool device_in_pci_d3(struct pci_device *pci_dev) return (val & 0x3) == 0x3; } -static void pci_d3_state_subtest(void) -{ - struct pci_device *pci_dev, *bridge_pci_dev; - - igt_require(has_runtime_pm); - - pci_dev = igt_device_get_pci_device(drm_fd); - bridge_pci_dev = pci_device_get_parent_bridge(pci_dev); - - disable_all_screens_and_wait(&ms_data); - igt_assert(igt_wait(device_in_pci_d3(pci_dev), 2000, 100)); - - if (gem_has_lmem(drm_fd)) - igt_require_f(pci_device_has_kernel_driver(bridge_pci_dev), - "pci bridge device does not bind with pcieport driver\n"); - - enable_one_screen_or_forcewake_get_and_wait(&ms_data); - igt_assert(!device_in_pci_d3(pci_dev)); - forcewake_put(&ms_data); -} - __noreturn static void stay_subtest(void) { disable_all_screens_and_wait(&ms_data); @@ -1951,445 +1345,6 @@ static void system_suspend_execbuf_subtest(void) gem_close(drm_fd, handle); } -static void system_suspend_modeset_subtest(void) -{ - disable_all_screens_and_wait(&ms_data); - igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE); - igt_assert(wait_for_suspended()); - - enable_one_screen_and_wait(&ms_data); - disable_all_screens_and_wait(&ms_data); -} - -/* Enable a screen, activate DPMS, then do a modeset. At some point our driver - * produced WARNs on this case. */ -static void dpms_mode_unset_subtest(enum screen_type type) -{ - disable_all_screens_and_wait(&ms_data); - - igt_require(enable_one_screen_with_type(&ms_data, type)); - igt_assert(wait_for_active()); - - disable_all_screens_dpms(&ms_data); - igt_assert(wait_for_suspended()); - - disable_all_screens_and_wait(&ms_data); -} - -static void fill_igt_fb(struct igt_fb *fb, uint32_t color) -{ - int i; - uint32_t *ptr; - - ptr = gem_mmap__device_coherent(drm_fd, fb->gem_handle, 0, fb->size, PROT_WRITE); - for (i = 0; i < fb->size/sizeof(uint32_t); i++) - ptr[i] = color; - igt_assert(munmap(ptr, fb->size) == 0); -} - -/* At some point, this test triggered WARNs in the Kernel. */ -static void cursor_subtest(bool dpms) -{ - int rc; - struct igt_fb cursor_fb1, cursor_fb2, cursor_fb3; - uint32_t crtc_id; - - disable_all_screens_and_wait(&ms_data); - - igt_require(default_mode_params); - crtc_id = default_mode_params->crtc_id; - - igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, - DRM_FORMAT_MOD_LINEAR, &cursor_fb1); - igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, - DRM_FORMAT_MOD_LINEAR, &cursor_fb2); - igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_XRGB8888, - I915_FORMAT_MOD_X_TILED, &cursor_fb3); - - fill_igt_fb(&cursor_fb1, 0xFF00FFFF); - fill_igt_fb(&cursor_fb2, 0xFF00FF00); - fill_igt_fb(&cursor_fb3, 0xFFFF0000); - - set_mode_for_params_and_wait(default_mode_params); - - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, - cursor_fb1.width, cursor_fb1.height); - igt_assert_eq(rc, 0); - rc = drmModeMoveCursor(drm_fd, crtc_id, 0, 0); - igt_assert_eq(rc, 0); - igt_assert(wait_for_active()); - - disable_or_dpms_all_screens_and_wait(&ms_data, dpms); - - /* First, just move the cursor. */ - rc = drmModeMoveCursor(drm_fd, crtc_id, 1, 1); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Then unset it, and set a new one. */ - rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb2.gem_handle, - cursor_fb1.width, cursor_fb2.height); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Move the new cursor. */ - rc = drmModeMoveCursor(drm_fd, crtc_id, 2, 2); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Now set a new one without unsetting the previous one. */ - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, - cursor_fb1.width, cursor_fb1.height); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Cursor 3 was created with tiling and painted with a GTT mmap, so - * hopefully it has some fences around it. */ - rc = drmModeRmFB(drm_fd, cursor_fb3.fb_id); - igt_assert_eq(rc, 0); - __gem_set_tiling(drm_fd, cursor_fb3.gem_handle, false, cursor_fb3.strides[0]); - igt_assert(wait_for_suspended()); - - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb3.gem_handle, - cursor_fb3.width, cursor_fb3.height); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Make sure nothing remains for the other tests. */ - rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); -} - -static enum plane_type get_plane_type(uint32_t plane_id) -{ - int i; - bool found; - uint64_t prop_value; - drmModePropertyPtr prop; - const char *enum_name = NULL; - enum plane_type type; - - found = kmstest_get_property(drm_fd, plane_id, DRM_MODE_OBJECT_PLANE, - "type", NULL, &prop_value, &prop); - igt_assert(found); - - igt_assert(prop->flags & DRM_MODE_PROP_ENUM); - igt_assert(prop_value < prop->count_enums); - - for (i = 0; i < prop->count_enums; i++) { - if (prop->enums[i].value == prop_value) { - enum_name = prop->enums[i].name; - break; - } - } - igt_assert(enum_name); - - if (strcmp(enum_name, "Overlay") == 0) - type = PLANE_OVERLAY; - else if (strcmp(enum_name, "Primary") == 0) - type = PLANE_PRIMARY; - else if (strcmp(enum_name, "Cursor") == 0) - type = PLANE_CURSOR; - else - igt_assert(0); - - drmModeFreeProperty(prop); - - return type; -} - -static void test_one_plane(bool dpms, uint32_t plane_id, - enum plane_type plane_type) -{ - int rc; - uint32_t plane_format, plane_w, plane_h; - uint32_t crtc_id; - struct igt_fb plane_fb1, plane_fb2; - int32_t crtc_x = 0, crtc_y = 0; - uint64_t modifier; - - disable_all_screens_and_wait(&ms_data); - - crtc_id = default_mode_params->crtc_id; - - switch (plane_type) { - case PLANE_OVERLAY: - plane_format = DRM_FORMAT_XRGB8888; - plane_w = 64; - plane_h = 64; - modifier = I915_FORMAT_MOD_X_TILED; - break; - case PLANE_PRIMARY: - plane_format = DRM_FORMAT_XRGB8888; - plane_w = default_mode_params->mode->hdisplay; - plane_h = default_mode_params->mode->vdisplay; - modifier = I915_FORMAT_MOD_X_TILED; - break; - case PLANE_CURSOR: - plane_format = DRM_FORMAT_ARGB8888; - plane_w = 64; - plane_h = 64; - modifier = DRM_FORMAT_MOD_LINEAR; - break; - default: - igt_assert(0); - break; - } - - igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, - &plane_fb1); - igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, - &plane_fb2); - fill_igt_fb(&plane_fb1, 0xFF00FFFF); - fill_igt_fb(&plane_fb2, 0xFF00FF00); - - set_mode_for_params_and_wait(default_mode_params); - - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, - 0, 0, plane_fb1.width, plane_fb1.height, - 0 << 16, 0 << 16, plane_fb1.width << 16, - plane_fb1.height << 16); - igt_assert_eq(rc, 0); - - disable_or_dpms_all_screens_and_wait(&ms_data, dpms); - - /* Just move the plane around. */ - if (plane_type != PLANE_PRIMARY) { - crtc_x++; - crtc_y++; - } - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, - crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, - 0 << 16, 0 << 16, plane_fb1.width << 16, - plane_fb1.height << 16); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Unset, then change the plane. */ - rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb2.fb_id, 0, - crtc_x, crtc_y, plane_fb2.width, plane_fb2.height, - 0 << 16, 0 << 16, plane_fb2.width << 16, - plane_fb2.height << 16); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Now change the plane without unsetting first. */ - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, - crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, - 0 << 16, 0 << 16, plane_fb1.width << 16, - plane_fb1.height << 16); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); - - /* Make sure nothing remains for the other tests. */ - rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - igt_assert_eq(rc, 0); - igt_assert(wait_for_suspended()); -} - -/* This one also triggered WARNs on our driver at some point in time. */ -static void planes_subtest(bool universal, bool dpms) -{ - int i, crtc_idx; - drmModePlaneResPtr planes; - - igt_require(default_mode_params); - crtc_idx = kmstest_get_crtc_idx(ms_data.res, - default_mode_params->crtc_id); - - igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, - universal), 0); - - planes = drmModeGetPlaneResources(drm_fd); - for (i = 0; i < planes->count_planes; i++) { - drmModePlanePtr plane; - - plane = drmModeGetPlane(drm_fd, planes->planes[i]); - igt_assert(plane); - - if (plane->possible_crtcs & (1 << crtc_idx)) { - enum plane_type type; - - type = universal ? get_plane_type(plane->plane_id) : - PLANE_OVERLAY; - igt_dynamic_f("plane-%d", plane->plane_id) - test_one_plane(dpms, plane->plane_id, type); - } - drmModeFreePlane(plane); - } - drmModeFreePlaneResources(planes); - - igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, - 1), 0); -} - -static void pm_test_tiling(void) -{ - uint32_t *handles; - uint8_t **gem_bufs; - - int max_gem_objs = 0; - uint8_t off_bit = 14; - uint32_t gtt_obj_max_size = (256 * 1024); - - uint32_t i, j, k, tiling_modes[3] = { - I915_TILING_NONE, - I915_TILING_X, - I915_TILING_Y, - }; - uint32_t ti, sw; - - /* default stride value */ - uint32_t stride = 512; - - /* calculate how many objects we can map */ - for (i = 1 << off_bit; i <= gtt_obj_max_size; i <<= 1, max_gem_objs++) - ; - - gem_bufs = calloc(max_gem_objs, sizeof(*gem_bufs)); - handles = calloc(max_gem_objs, sizeof(*handles)); - - /* try to set different tiling for each handle */ - for (i = 0; i < ARRAY_SIZE(tiling_modes); i++) { - - for (j = 0, k = 1 << off_bit; - k <= gtt_obj_max_size; k <<= 1, j++) { - handles[j] = gem_create(drm_fd, k); - gem_bufs[j] = gem_mmap__gtt(drm_fd, handles[j], - k, PROT_WRITE); - memset(gem_bufs[j], 0x0, k); - } - - disable_all_screens_and_wait(&ms_data); - - for (j = 0; j < max_gem_objs; j++) { - gem_set_tiling(drm_fd, handles[j], - tiling_modes[i], stride); - gem_get_tiling(drm_fd, handles[j], &ti, &sw); - igt_assert(tiling_modes[i] == ti); - } - - enable_one_screen_and_wait(&ms_data); - - for (j = 0, k = 1 << off_bit; - k <= gtt_obj_max_size; k <<= 1, j++) { - igt_assert(munmap(gem_bufs[j], k) == 0); - gem_close(drm_fd, handles[j]); - } - } - - free(gem_bufs); - free(handles); -} - -static void pm_test_caching(void) -{ - uint32_t handle; - uint8_t *gem_buf; - - uint32_t i; - uint32_t default_cache_level; - uint32_t gtt_obj_max_size = (16 * 1024); - uint32_t cache_levels[3] = { - I915_CACHING_NONE, - I915_CACHING_CACHED, /* LLC caching */ - I915_CACHING_DISPLAY, /* eDRAM caching */ - }; - - disable_all_screens(&ms_data); - - handle = gem_create(drm_fd, gtt_obj_max_size); - default_cache_level = gem_get_caching(drm_fd, handle); - gem_buf = gem_mmap__gtt(drm_fd, handle, gtt_obj_max_size, PROT_WRITE); - - for (i = 0; i < ARRAY_SIZE(cache_levels); i++) { - igt_assert(wait_for_suspended()); - if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) - gem_set_caching(drm_fd, handle, default_cache_level); - /* Ensure we bind the vma into the GGTT */ - memset(gem_buf, 16 << i, gtt_obj_max_size); - - /* Now try changing the cache-level on the bound object. - * This will either unlikely unbind the object from the GGTT, - * or more likely just change the PTEs inside the GGTT. Either - * way the driver must take the rpm wakelock around the GSM - * access. - */ - igt_debug("Setting cache level %u\n", cache_levels[i]); - igt_assert(wait_for_suspended()); - if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) - gem_set_caching(drm_fd, handle, cache_levels[i]); - } - - igt_assert(munmap(gem_buf, gtt_obj_max_size) == 0); - gem_close(drm_fd, handle); -} - -static void fences_subtest(bool dpms) -{ - int i; - uint32_t *buf_ptr; - uint32_t tiling = false, swizzle; - struct modeset_params params; - - disable_all_screens_and_wait(&ms_data); - - igt_require(default_mode_params); - params.crtc_id = default_mode_params->crtc_id; - params.connector_id = default_mode_params->connector_id; - params.mode = default_mode_params->mode; - igt_create_fb(drm_fd, params.mode->hdisplay, params.mode->vdisplay, - DRM_FORMAT_XRGB8888, I915_FORMAT_MOD_X_TILED, - ¶ms.fb); - - /* Even though we passed "true" as the tiling argument, double-check - * that the fb is really tiled. */ - gem_get_tiling(drm_fd, params.fb.gem_handle, &tiling, &swizzle); - igt_assert(tiling); - - buf_ptr = gem_mmap__gtt(drm_fd, params.fb.gem_handle, params.fb.size, - PROT_WRITE | PROT_READ); - for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) - buf_ptr[i] = i; - - set_mode_for_params_and_wait(¶ms); - - disable_or_dpms_all_screens_and_wait(&ms_data, dpms); - - for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) - igt_assert_eq(buf_ptr[i], i); - igt_assert(wait_for_suspended()); - - if (dpms) { - drmModeConnectorPtr c = NULL; - - for (i = 0; i < ms_data.res->count_connectors; i++) - if (ms_data.connectors[i]->connector_id == - params.connector_id) - c = ms_data.connectors[i]; - igt_assert(c); - - kmstest_set_connector_dpms(drm_fd, c, DRM_MODE_DPMS_ON); - } else { - set_mode_for_params(¶ms); - } - igt_assert(wait_for_active()); - - for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) - igt_assert_eq(buf_ptr[i], i); - - igt_assert(munmap(buf_ptr, params.fb.size) == 0); -} - int rounds = 10; bool stay = false; @@ -2420,11 +1375,6 @@ static struct option long_options[] = { igt_main_args("", long_options, help_str, opt_handler, NULL) { - igt_subtest("basic-rte") { - igt_assert(setup_environment(true)); - basic_subtest(); - } - /* Skip instead of failing in case the machine is not prepared to reach * PC8+. We don't want bug reports from cases where the machine is just * not properly configured. */ @@ -2436,22 +1386,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) igt_subtest("stay") stay_subtest(); - /* Essential things */ - igt_subtest("drm-resources-equal") - drm_resources_equal_subtest(); - igt_subtest("basic-pci-d3-state") - pci_d3_state_subtest(); - - /* Basic modeset */ - igt_subtest("modeset-lpsp") - modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS); - igt_subtest("modeset-non-lpsp") - modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS); - igt_subtest("dpms-lpsp") - modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS | USE_DPMS); - igt_subtest("dpms-non-lpsp") - modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS | USE_DPMS); - /* GEM */ igt_subtest_with_dynamic("gem-mmap-type") { for_each_mmap_offset_type(drm_fd, t) { @@ -2477,60 +1411,15 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) gem_evict_pwrite_subtest(); } - /* Planes and cursors */ - igt_subtest("cursor") - cursor_subtest(false); - igt_subtest("cursor-dpms") - cursor_subtest(true); - igt_subtest_with_dynamic("legacy-planes") - planes_subtest(false, false); - igt_subtest_with_dynamic("legacy-planes-dpms") - planes_subtest(false, true); - igt_subtest_with_dynamic("universal-planes") - planes_subtest(true, false); - igt_subtest_with_dynamic("universal-planes-dpms") - planes_subtest(true, true); - /* Misc */ igt_subtest("reg-read-ioctl") reg_read_ioctl_subtest(); - igt_subtest("i2c") - i2c_subtest(); - igt_subtest("pc8-residency") - pc8_residency_subtest(); igt_subtest("debugfs-read") debugfs_read_subtest(); igt_subtest("debugfs-forcewake-user") debugfs_forcewake_user_subtest(); igt_subtest("sysfs-read") sysfs_read_subtest(); - igt_subtest("dpms-mode-unset-lpsp") - dpms_mode_unset_subtest(SCREEN_TYPE_LPSP); - igt_subtest("dpms-mode-unset-non-lpsp") - dpms_mode_unset_subtest(SCREEN_TYPE_NON_LPSP); - igt_subtest("fences") { - gem_require_mappable_ggtt(drm_fd); - fences_subtest(false); - } - igt_subtest("fences-dpms") { - gem_require_mappable_ggtt(drm_fd); - fences_subtest(true); - } - - /* Modeset stress */ - igt_subtest("modeset-lpsp-stress") - modeset_subtest(SCREEN_TYPE_LPSP, rounds, WAIT_STATUS); - igt_subtest("modeset-non-lpsp-stress") - modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, WAIT_STATUS); - igt_subtest("modeset-lpsp-stress-no-wait") - modeset_subtest(SCREEN_TYPE_LPSP, rounds, DONT_WAIT); - igt_subtest("modeset-non-lpsp-stress-no-wait") - modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, DONT_WAIT); - igt_subtest("modeset-pc8-residency-stress") - modeset_subtest(SCREEN_TYPE_ANY, rounds, WAIT_PC8_RES); - igt_subtest("modeset-stress-extra-wait") - modeset_subtest(SCREEN_TYPE_ANY, rounds, - WAIT_STATUS | WAIT_EXTRA); /* System suspend */ igt_subtest("system-suspend-devices") @@ -2539,8 +1428,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) system_suspend_subtest(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE); igt_subtest("system-suspend-execbuf") system_suspend_execbuf_subtest(); - igt_subtest("system-suspend-modeset") - system_suspend_modeset_subtest(); igt_subtest("system-hibernate-devices") system_suspend_subtest(SUSPEND_STATE_DISK, SUSPEND_TEST_DEVICES); @@ -2562,16 +1449,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) igt_subtest("gem-execbuf-stress-pc8") gem_execbuf_stress_subtest(rounds, WAIT_PC8_RES, 0); - /* power-wake reference tests */ - igt_subtest("pm-tiling") { - gem_require_mappable_ggtt(drm_fd); - pm_test_tiling(); - } - igt_subtest("pm-caching") { - gem_require_mappable_ggtt(drm_fd); - pm_test_caching(); - } - igt_fixture { teardown_environment(true); forcewake_put(&ms_data); @@ -2600,8 +1477,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) igt_assert(setup_environment(true)); pci_dev = igt_device_get_pci_device(drm_fd); igt_assert(igt_wait(device_in_pci_d3(pci_dev), 2000, 100)); - if (enable_one_screen_with_type(&ms_data, SCREEN_TYPE_ANY)) - drm_resources_equal_subtest(); teardown_environment(true); /* Remove our mmio_debugging module */ diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c new file mode 100644 index 000000000..f3e51408d --- /dev/null +++ b/tests/intel/kms_pm_rpm.c @@ -0,0 +1,1840 @@ +/* + * Copyright © 2013, 2015 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Authors: + * Paulo Zanoni <paulo.r.zanoni@intel.com> + * + */ + +#if defined(__linux__) +#include <linux/i2c.h> +#include <linux/i2c-dev.h> +#elif defined(__FreeBSD__) +#include <dev/iicbus/iic.h> +#define addr slave +#endif + +#include <dirent.h> + +#include "config.h" +#include "i915/gem.h" +#include "i915/gem_create.h" +#include "igt.h" +#include "igt_debugfs.h" +#include "igt_device.h" +#include "igt_edid.h" +#include "igt_kmod.h" +#include "igt_sysfs.h" +#include "intel_blt.h" + +/** + * TEST: kms pm rpm + * Category: Display + * Description: Test to validate Runtime PM + * + * SUBTEST: basic-pci-d3-state + * Description: Validate PCI device D3 state enter-exit scenario using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: basic-rte + * Description: Basic display enablement test + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: cursor + * Description: Validate cursor movements along with suspends using runtime PM + * Driver requirement: i915 + * Functionality: cursor, pm_rpm, suspend + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: cursor-dpms + * Description: Validate cursor movements along with dpms using runtime PM + * Driver requirement: i915 + * Functionality: cursor, dpms, pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: dpms-lpsp + * Description: Validate basic modeset with dpms on lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: dpms, pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: dpms-mode-unset-lpsp + * Description: Validate basic modeset (negative) with dpms on lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: dpms, pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: dpms-mode-unset-non-lpsp + * Description: Validate basic modeset (negative) with dpms on non-lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: dpms, pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: dpms-non-lpsp + * Description: Validate basic modeset with dpms on non-lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: dpms, pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: drm-resources-equal + * Description: Validate the DRM resources reported by the IOCTLs are still the same. + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: fences + * Description: Sanity test for drm fences. + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: fences-dpms + * Description: Sanity test for drm fences with dpms. + * Driver requirement: i915 + * Functionality: dpms, pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: i2c + * Description: Validate exposed edids using raw I2C read method. + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: legacy-planes + * Description: Validate legacy plane (set/unset/change). + * Driver requirement: i915 + * Functionality: pm_rpm, plane + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: legacy-planes-dpms + * Description: Validate legacy plane (set/unset/change) with dpms. + * Driver requirement: i915 + * Functionality: pm_rpm, plane + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-lpsp + * Description: Validate basic modeset on lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-lpsp-stress + * Description: Stress test with modeset on lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-lpsp-stress-no-wait + * Description: Stress test with modeset (no wait)on lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-non-lpsp + * Description: Validate basic modeset on non-lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-non-lpsp-stress + * Description: Stress test with modeset on non-lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-non-lpsp-stress-no-wait + * Description: Stress test with modeset (no wait) on non-lpsp screen using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-pc8-residency-stress + * Description: Stress test with modeset (pc8 residency) using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: modeset-stress-extra-wait + * Description: Stress test with modeset (extra wait) using runtime PM + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: pc8-residency + * Description: Basic sanity test for PC8+ states + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: pm-caching + * Description: Test to change different cache levels & check for rpm + * Driver requirement: i915 + * Functionality: pm_rpm + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: pm-tiling + * Description: Test to change different tiling methods & check for rpm + * Driver requirement: i915 + * Functionality: pm_rpm, tiling + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: system-suspend-modeset + * Description: Validate basic modeset with suspend + * Driver requirement: i915 + * Functionality: pm_rpm, suspend + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: universal-planes + * Description: Validate universal plane (set/unset/change). + * Driver requirement: i915 + * Functionality: pm_rpm, plane + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: universal-planes-dpms + * Description: Validate universal plane (set/unset/change) with dpms. + * Driver requirement: i915 + * Functionality: pm_rpm, plane + * Mega feature: Display Power + * Run type: FULL + * Test category: functionality test + */ + +#define MSR_PC8_RES 0x630 +#define MSR_PC9_RES 0x631 +#define MSR_PC10_RES 0x632 + +#define MAX_CONNECTORS 32 +#define MAX_ENCODERS 32 +#define MAX_CRTCS 16 + +#define WIDTH 64 +#define HEIGHT 64 +#define STRIDE (WIDTH) +#define SIZE (HEIGHT * STRIDE) + +enum pc8_status { + PC8_ENABLED, + PC8_DISABLED +}; + +enum screen_type { + SCREEN_TYPE_LPSP, + SCREEN_TYPE_NON_LPSP, + SCREEN_TYPE_ANY, +}; + +enum plane_type { + PLANE_OVERLAY, + PLANE_PRIMARY, + PLANE_CURSOR, +}; + +/* Wait flags */ +#define DONT_WAIT 0 +#define WAIT_STATUS 1 +#define WAIT_PC8_RES 2 +#define WAIT_EXTRA 4 +#define USE_DPMS 8 + +int drm_fd, msr_fd, pc8_status_fd; +int debugfs; +bool has_runtime_pm, has_pc8; +struct mode_set_data ms_data; + +/* Stuff used when creating FBs and mode setting. */ +struct mode_set_data { + drmModeResPtr res; + drmModeConnectorPtr connectors[MAX_CONNECTORS]; + drmModePropertyBlobPtr edids[MAX_CONNECTORS]; + igt_display_t display; + + uint32_t devid; + int fw_fd; +}; + +/* Stuff we query at different times so we can compare. */ +struct compare_data { + drmModeResPtr res; + drmModeEncoderPtr encoders[MAX_ENCODERS]; + drmModeConnectorPtr connectors[MAX_CONNECTORS]; + drmModeCrtcPtr crtcs[MAX_CRTCS]; + drmModePropertyBlobPtr edids[MAX_CONNECTORS]; +}; + +struct modeset_params { + uint32_t crtc_id; + uint32_t connector_id; + struct igt_fb fb; + drmModeModeInfoPtr mode; +}; + +struct data_t { + int width; + int height; + uint32_t region; +}; + +struct modeset_params lpsp_mode_params; +struct modeset_params non_lpsp_mode_params; +struct modeset_params *default_mode_params; + +static int modprobe(const char *driver) +{ + return igt_kmod_load(driver, NULL); +} + +/* If the read fails, then the machine doesn't support PC8+ residencies. */ +static bool supports_pc8_plus_residencies(void) +{ + int rc; + uint64_t val; + + rc = pread(msr_fd, &val, sizeof(uint64_t), MSR_PC8_RES); + if (rc != sizeof(val)) + return false; + rc = pread(msr_fd, &val, sizeof(uint64_t), MSR_PC9_RES); + if (rc != sizeof(val)) + return false; + rc = pread(msr_fd, &val, sizeof(uint64_t), MSR_PC10_RES); + if (rc != sizeof(val)) + return false; + + return igt_pm_pc8_plus_residencies_enabled(msr_fd); +} + +static uint64_t get_residency(uint32_t type) +{ + int rc; + uint64_t ret; + + rc = pread(msr_fd, &ret, sizeof(uint64_t), type); + igt_assert(rc == sizeof(ret)); + + return ret; +} + +static bool pc8_plus_residency_changed(unsigned int timeout_sec) +{ + uint64_t res_pc8, res_pc9, res_pc10; + + res_pc8 = get_residency(MSR_PC8_RES); + res_pc9 = get_residency(MSR_PC9_RES); + res_pc10 = get_residency(MSR_PC10_RES); + + return igt_wait(res_pc8 != get_residency(MSR_PC8_RES) || + res_pc9 != get_residency(MSR_PC9_RES) || + res_pc10 != get_residency(MSR_PC10_RES), + timeout_sec * 1000, 100); +} + +static enum pc8_status get_pc8_status(void) +{ + ssize_t n_read; + char buf[150]; /* The whole file has less than 100 chars. */ + + lseek(pc8_status_fd, 0, SEEK_SET); + n_read = read(pc8_status_fd, buf, ARRAY_SIZE(buf)); + igt_assert(n_read >= 0); + buf[n_read] = '\0'; + + if (strstr(buf, "\nEnabled: yes\n")) + return PC8_ENABLED; + else + return PC8_DISABLED; +} + +static bool wait_for_pc8_status(enum pc8_status status) +{ + return igt_wait(get_pc8_status() == status, 10000, 100); +} + +static bool wait_for_suspended(void) +{ + if (has_pc8 && !has_runtime_pm) { + return wait_for_pc8_status(PC8_ENABLED); + } else { + bool suspended = igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED); + + if (!suspended) { + /* Dump runtime pm status even if test skips */ + __igt_debugfs_dump(drm_fd, "i915_runtime_pm_status", IGT_LOG_INFO); + } + + return suspended; + } +} + +static bool wait_for_active(void) +{ + if (has_pc8 && !has_runtime_pm) + return wait_for_pc8_status(PC8_DISABLED); + else + return igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_ACTIVE); +} + +static void disable_all_screens_dpms(struct mode_set_data *data) +{ + if (!data->res) + return; + + for (int i = 0; i < data->res->count_connectors; i++) { + drmModeConnectorPtr c = data->connectors[i]; + + kmstest_set_connector_dpms(drm_fd, c, DRM_MODE_DPMS_OFF); + } +} + +static void disable_all_screens(struct mode_set_data *data) +{ + if (data->res) + kmstest_unset_all_crtcs(drm_fd, data->res); +} + +#define disable_all_screens_and_wait(data) do { \ + disable_all_screens(data); \ + igt_assert(wait_for_suspended()); \ +} while (0) + +static void disable_or_dpms_all_screens(struct mode_set_data *data, bool dpms) +{ + if (dpms) + disable_all_screens_dpms(&ms_data); + else + disable_all_screens(&ms_data); +} + +#define disable_or_dpms_all_screens_and_wait(data, dpms) do { \ + disable_or_dpms_all_screens((data), (dpms)); \ + igt_assert(wait_for_suspended()); \ +} while (0) + +static bool init_modeset_params_for_type(struct mode_set_data *data, + struct modeset_params *params, + enum screen_type type) +{ + drmModeConnectorPtr connector = NULL; + drmModeModeInfoPtr mode = NULL; + igt_output_t *output = NULL; + igt_display_t *display = &data->display; + + if (!data->res || !display) + return false; + + for_each_connected_output(display, output) { + drmModeConnectorPtr c = output->config.connector; + + if (type == SCREEN_TYPE_LPSP && + !i915_output_is_lpsp_capable(drm_fd, output)) + continue; + + if (type == SCREEN_TYPE_NON_LPSP && + i915_output_is_lpsp_capable(drm_fd, output)) + continue; + + connector = c; + mode = igt_output_get_mode(output); + break; + } + + if (!connector || !mode) + return false; + + igt_create_pattern_fb(drm_fd, mode->hdisplay, mode->vdisplay, + DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR, + ¶ms->fb); + + params->crtc_id = kmstest_find_crtc_for_connector(drm_fd, data->res, + connector, 0); + params->connector_id = connector->connector_id; + params->mode = mode; + + return true; +} + +static void init_modeset_cached_params(struct mode_set_data *data) +{ + bool lpsp, non_lpsp; + + lpsp = init_modeset_params_for_type(data, &lpsp_mode_params, + SCREEN_TYPE_LPSP); + non_lpsp = init_modeset_params_for_type(data, &non_lpsp_mode_params, + SCREEN_TYPE_NON_LPSP); + + if (lpsp) + default_mode_params = &lpsp_mode_params; + else if (non_lpsp) + default_mode_params = &non_lpsp_mode_params; + else + default_mode_params = NULL; +} + +static bool set_mode_for_params(struct modeset_params *params) +{ + int rc; + + rc = drmModeSetCrtc(drm_fd, params->crtc_id, params->fb.fb_id, 0, 0, + ¶ms->connector_id, 1, params->mode); + return (rc == 0); +} + +#define set_mode_for_params_and_wait(params) do { \ + igt_assert(set_mode_for_params(params)); \ + igt_assert(wait_for_active()); \ +} while (0) + +static bool enable_one_screen_with_type(struct mode_set_data *data, + enum screen_type type) +{ + struct modeset_params *params = NULL; + + switch (type) { + case SCREEN_TYPE_ANY: + params = default_mode_params; + break; + case SCREEN_TYPE_LPSP: + params = &lpsp_mode_params; + break; + case SCREEN_TYPE_NON_LPSP: + params = &non_lpsp_mode_params; + break; + default: + igt_assert(0); + } + + if (!params) + return false; + + return set_mode_for_params(params); +} + +static void enable_one_screen(struct mode_set_data *data) +{ + /* SKIP if there are no connected screens. */ + igt_require(enable_one_screen_with_type(data, SCREEN_TYPE_ANY)); +} + +#define enable_one_screen_and_wait(data) do { \ + enable_one_screen(data); \ + igt_assert(wait_for_active()); \ +} while (0) + +static void +enable_one_screen_or_forcewake_get_and_wait(struct mode_set_data *data) +{ + bool headless; + + /* Try to resume by enabling any type of display */ + headless = !enable_one_screen_with_type(data, SCREEN_TYPE_ANY); + + /* + * Get User Forcewake to trigger rpm resume in case of headless + * as well as no display being connected. + */ + if (headless) { + data->fw_fd = igt_open_forcewake_handle(drm_fd); + igt_require(data->fw_fd > 0); + } + igt_assert(wait_for_active()); +} + +static void forcewake_put(struct mode_set_data *data) +{ + if (data->fw_fd <= 0) + return; + + data->fw_fd = close(data->fw_fd); + igt_assert_eq(data->fw_fd, 0); +} + +static drmModePropertyBlobPtr get_connector_edid(drmModeConnectorPtr connector, + int index) +{ + bool found; + uint64_t prop_value; + drmModePropertyPtr prop; + drmModePropertyBlobPtr blob = NULL; + + found = kmstest_get_property(drm_fd, connector->connector_id, + DRM_MODE_OBJECT_CONNECTOR, "EDID", + NULL, &prop_value, &prop); + + if (found) { + igt_assert(prop->flags & DRM_MODE_PROP_BLOB); + igt_assert(prop->count_blobs == 0); + + blob = drmModeGetPropertyBlob(drm_fd, prop_value); + + drmModeFreeProperty(prop); + } + + return blob; +} + +static void init_mode_set_data(struct mode_set_data *data) +{ + data->res = drmModeGetResources(drm_fd); + if (data->res) { + igt_assert(data->res->count_connectors <= MAX_CONNECTORS); + for (int i = 0; i < data->res->count_connectors; i++) { + data->connectors[i] = + drmModeGetConnector(drm_fd, + data->res->connectors[i]); + data->edids[i] = get_connector_edid(data->connectors[i], i); + } + + kmstest_set_vt_graphics_mode(); + igt_display_require(&data->display, drm_fd); + } + + init_modeset_cached_params(&ms_data); +} + +static void fini_mode_set_data(struct mode_set_data *data) +{ + if (data->res) { + for (int i = 0; i < data->res->count_connectors; i++) { + drmModeFreeConnector(data->connectors[i]); + drmModeFreePropertyBlob(data->edids[i]); + } + drmModeFreeResources(data->res); + igt_display_fini(&data->display); + } +} + +static void get_drm_info(struct compare_data *data) +{ + int i; + + data->res = drmModeGetResources(drm_fd); + if (!data->res) + return; + + igt_assert(data->res->count_connectors <= MAX_CONNECTORS); + igt_assert(data->res->count_encoders <= MAX_ENCODERS); + igt_assert(data->res->count_crtcs <= MAX_CRTCS); + + for (i = 0; i < data->res->count_connectors; i++) { + /* Don't use GetConnectorCurrent, we want to force a reprobe + * here. */ + data->connectors[i] = drmModeGetConnector(drm_fd, + data->res->connectors[i]); + data->edids[i] = get_connector_edid(data->connectors[i], i); + } + for (i = 0; i < data->res->count_encoders; i++) + data->encoders[i] = drmModeGetEncoder(drm_fd, + data->res->encoders[i]); + for (i = 0; i < data->res->count_crtcs; i++) + data->crtcs[i] = drmModeGetCrtc(drm_fd, data->res->crtcs[i]); +} + +static void free_drm_info(struct compare_data *data) +{ + int i; + + if (!data->res) + return; + + for (i = 0; i < data->res->count_connectors; i++) { + drmModeFreeConnector(data->connectors[i]); + drmModeFreePropertyBlob(data->edids[i]); + } + for (i = 0; i < data->res->count_encoders; i++) + drmModeFreeEncoder(data->encoders[i]); + for (i = 0; i < data->res->count_crtcs; i++) + drmModeFreeCrtc(data->crtcs[i]); + + drmModeFreeResources(data->res); +} + +#define COMPARE(d1, d2, data) igt_assert_eq(d1->data, d2->data) +#define COMPARE_ARRAY(d1, d2, size, data) do { \ + for (i = 0; i < size; i++) \ + igt_assert(d1->data[i] == d2->data[i]); \ +} while (0) + +static void assert_drm_resources_equal(struct compare_data *d1, + struct compare_data *d2) +{ + COMPARE(d1, d2, res->count_connectors); + COMPARE(d1, d2, res->count_encoders); + COMPARE(d1, d2, res->count_crtcs); + COMPARE(d1, d2, res->min_width); + COMPARE(d1, d2, res->max_width); + COMPARE(d1, d2, res->min_height); + COMPARE(d1, d2, res->max_height); +} + +static void assert_modes_equal(drmModeModeInfoPtr m1, drmModeModeInfoPtr m2) +{ + COMPARE(m1, m2, clock); + COMPARE(m1, m2, hdisplay); + COMPARE(m1, m2, hsync_start); + COMPARE(m1, m2, hsync_end); + COMPARE(m1, m2, htotal); + COMPARE(m1, m2, hskew); + COMPARE(m1, m2, vdisplay); + COMPARE(m1, m2, vsync_start); + COMPARE(m1, m2, vsync_end); + COMPARE(m1, m2, vtotal); + COMPARE(m1, m2, vscan); + COMPARE(m1, m2, vrefresh); + COMPARE(m1, m2, flags); + COMPARE(m1, m2, type); + igt_assert(strcmp(m1->name, m2->name) == 0); +} + +static void assert_drm_connectors_equal(drmModeConnectorPtr c1, + drmModeConnectorPtr c2) +{ + int i; + + COMPARE(c1, c2, connector_id); + COMPARE(c1, c2, connector_type); + COMPARE(c1, c2, connector_type_id); + COMPARE(c1, c2, mmWidth); + COMPARE(c1, c2, mmHeight); + COMPARE(c1, c2, count_modes); + COMPARE(c1, c2, count_props); + COMPARE(c1, c2, count_encoders); + COMPARE_ARRAY(c1, c2, c1->count_props, props); + COMPARE_ARRAY(c1, c2, c1->count_encoders, encoders); + + for (i = 0; i < c1->count_modes; i++) + assert_modes_equal(&c1->modes[0], &c2->modes[0]); +} + +static void assert_drm_encoders_equal(drmModeEncoderPtr e1, + drmModeEncoderPtr e2) +{ + COMPARE(e1, e2, encoder_id); + COMPARE(e1, e2, encoder_type); + COMPARE(e1, e2, possible_crtcs); + COMPARE(e1, e2, possible_clones); +} + +static void assert_drm_crtcs_equal(drmModeCrtcPtr c1, drmModeCrtcPtr c2) +{ + COMPARE(c1, c2, crtc_id); +} + +static void assert_drm_edids_equal(drmModePropertyBlobPtr e1, + drmModePropertyBlobPtr e2) +{ + if (!e1 && !e2) + return; + igt_assert(e1 && e2); + + COMPARE(e1, e2, length); + + igt_assert(memcmp(e1->data, e2->data, e1->length) == 0); +} + +static void assert_drm_infos_equal(struct compare_data *d1, + struct compare_data *d2) +{ + int i; + + if (d1->res == d2->res) + return; + + igt_assert(d1->res); + igt_assert(d2->res); + + assert_drm_resources_equal(d1, d2); + + for (i = 0; i < d1->res->count_connectors; i++) { + assert_drm_connectors_equal(d1->connectors[i], + d2->connectors[i]); + assert_drm_edids_equal(d1->edids[i], d2->edids[i]); + } + + for (i = 0; i < d1->res->count_encoders; i++) + assert_drm_encoders_equal(d1->encoders[i], d2->encoders[i]); + + for (i = 0; i < d1->res->count_crtcs; i++) + assert_drm_crtcs_equal(d1->crtcs[i], d2->crtcs[i]); +} + +static void setup_pc8(void) +{ + has_pc8 = false; + + /* Only Haswell supports the PC8 feature. */ + if (!IS_HASWELL(ms_data.devid) && !IS_BROADWELL(ms_data.devid)) + return; + + /* Make sure our Kernel supports MSR and the module is loaded. */ + igt_require(modprobe("msr") == 0); + + msr_fd = open("/dev/cpu/0/msr", O_RDONLY); + igt_assert_f(msr_fd >= 0, + "Can't open /dev/cpu/0/msr.\n"); + + /* Non-ULT machines don't support PC8+. */ + if (!supports_pc8_plus_residencies()) + return; + + pc8_status_fd = openat(debugfs, "i915_pc8_status", O_RDONLY); + if (pc8_status_fd == -1) + pc8_status_fd = openat(debugfs, + "i915_runtime_pm_status", O_RDONLY); + igt_assert_f(pc8_status_fd >= 0, + "Can't open /sys/kernel/debug/dri/0/i915_runtime_pm_status"); + + has_pc8 = true; +} + +static void dump_file(int dir, const char *filename) +{ + char *contents; + + contents = igt_sysfs_get(dir, filename); + if (!contents) + return; + + igt_info("%s:\n%s\n", filename, contents); + free(contents); +} + +static bool setup_environment(void) +{ + if (has_runtime_pm) + goto out; + + drm_fd = __drm_open_driver(DRIVER_INTEL); + igt_require(drm_fd != -1); + igt_device_set_master(drm_fd); + + debugfs = igt_debugfs_dir(drm_fd); + igt_require(debugfs != -1); + + ms_data.devid = intel_get_drm_devid(drm_fd); + + init_mode_set_data(&ms_data); + + igt_pm_enable_sata_link_power_management(); + + has_runtime_pm = igt_setup_runtime_pm(drm_fd); + setup_pc8(); + + igt_info("Runtime PM support: %d\n", has_runtime_pm); + igt_info("PC8 residency support: %d\n", has_pc8); + igt_require(has_runtime_pm); + igt_require(igt_pm_dmc_loaded(debugfs)); + +out: + disable_all_screens(&ms_data); + dump_file(debugfs, "i915_runtime_pm_status"); + + return wait_for_suspended(); +} + +static void teardown_environment(void) +{ + close(msr_fd); + if (has_pc8) + close(pc8_status_fd); + + igt_restore_runtime_pm(); + + igt_pm_restore_sata_link_power_management(); + + fini_mode_set_data(&ms_data); + + close(debugfs); + drm_close_driver(drm_fd); + + has_runtime_pm = false; +} + +static void pc8_residency_subtest(void) +{ + igt_require(has_pc8); + + /* Make sure PC8+ residencies move! */ + disable_all_screens(&ms_data); + igt_assert_f(pc8_plus_residency_changed(30), + "Machine is not reaching PC8+ states, please check its " + "configuration.\n"); + + /* Make sure PC8+ residencies stop! */ + enable_one_screen(&ms_data); + igt_assert_f(!pc8_plus_residency_changed(10), + "PC8+ residency didn't stop with screen enabled.\n"); +} + +static void basic_subtest(void) +{ + disable_all_screens_and_wait(&ms_data); + + enable_one_screen_or_forcewake_get_and_wait(&ms_data); + forcewake_put(&ms_data); + + /* XXX Also we can test wake up via exec nop */ +} + +static void modeset_subtest(enum screen_type type, int rounds, int wait_flags) +{ + int i; + + if (wait_flags & WAIT_PC8_RES) + igt_require(has_pc8); + + if (wait_flags & WAIT_EXTRA) + rounds /= 2; + + for (i = 0; i < rounds; i++) { + if (wait_flags & USE_DPMS) + disable_all_screens_dpms(&ms_data); + else + disable_all_screens(&ms_data); + + if (wait_flags & WAIT_STATUS) + igt_assert(wait_for_suspended()); + if (wait_flags & WAIT_PC8_RES) + igt_assert(pc8_plus_residency_changed(30)); + if (wait_flags & WAIT_EXTRA) + sleep(5); + + /* If we skip this line it's because the type of screen we want + * is not connected. */ + igt_require(enable_one_screen_with_type(&ms_data, type)); + if (wait_flags & WAIT_STATUS) + igt_assert(wait_for_active()); + if (wait_flags & WAIT_PC8_RES) + igt_assert(!pc8_plus_residency_changed(5)); + if (wait_flags & WAIT_EXTRA) + sleep(5); + } +} + +/* Test of the DRM resources reported by the IOCTLs are still the same. This + * ensures we still see the monitors with the same eyes. We get the EDIDs and + * compare them, which ensures we use DP AUX or GMBUS depending on what's + * connected. */ +static void drm_resources_equal_subtest(void) +{ + struct compare_data pre_suspend, during_suspend, post_suspend; + + enable_one_screen_and_wait(&ms_data); + get_drm_info(&pre_suspend); + igt_assert(wait_for_active()); + + disable_all_screens_and_wait(&ms_data); + get_drm_info(&during_suspend); + igt_assert(wait_for_suspended()); + + enable_one_screen_and_wait(&ms_data); + get_drm_info(&post_suspend); + igt_assert(wait_for_active()); + + assert_drm_infos_equal(&pre_suspend, &during_suspend); + assert_drm_infos_equal(&pre_suspend, &post_suspend); + + free_drm_info(&pre_suspend); + free_drm_info(&during_suspend); + free_drm_info(&post_suspend); +} + +static bool find_i2c_path(const char *connector_name, + char *i2c_path, size_t i2c_path_size) +{ + struct dirent *dirent; + DIR *dir; + int sysfs_card_fd = igt_sysfs_open(drm_fd); + int connector_fd = -1; + bool found_i2c_file = false; + ssize_t r; + + dir = fdopendir(sysfs_card_fd); + igt_assert(dir); + + while ((dirent = readdir(dir))) { + /* Skip "cardx-" prefix */ + char *dirname = strchr(dirent->d_name, '-'); + if (dirname==NULL) + continue; + ++dirname; + + if (strcmp(dirname, connector_name) == 0) { + connector_fd = openat(sysfs_card_fd, dirent->d_name, O_RDONLY); + break; + } + } + closedir(dir); + + if (connector_fd < 0) + return false; + + /* try the standard "ddc" symlink first */ + r = readlinkat(connector_fd, "ddc", i2c_path, i2c_path_size); + if (r > 0 && r != i2c_path_size) { + int num; + + i2c_path[r] = '\0'; + + if (sscanf(basename(i2c_path), "i2c-%d", &num) == 1) { + snprintf(i2c_path, i2c_path_size, "/dev/i2c-%d", num); + return true; + } + } + + dir = fdopendir(connector_fd); + igt_assert(dir); + + /* fall back to old "i2c-?" symlink */ + /* FIXME nuke this at some point */ + while ((dirent = readdir(dir))) { + if (strncmp(dirent->d_name, "i2c-", 4) == 0) { + sprintf(i2c_path, "/dev/%s", dirent->d_name); + found_i2c_file = true; + } + } + closedir(dir); + return found_i2c_file; +} + +static bool i2c_read_edid(const char *connector_name, unsigned char *edid) +{ + char i2c_path[PATH_MAX]; + bool result; + int rc, fd; + struct i2c_msg msgs[] = { + { /* Start at 0. */ + .addr = 0x50, + .flags = 0, + .len = 1, + .buf = edid, + }, { /* Now read the EDID. */ + .addr = 0x50, + .flags = I2C_M_RD, + .len = 128, + .buf = edid, + } + }; + struct i2c_rdwr_ioctl_data msgset = { + .msgs = msgs, + .nmsgs = 2, + }; + + result = find_i2c_path(connector_name, i2c_path, sizeof(i2c_path)); + if (!result) + return false; + + igt_info("Testing %s %s\n", connector_name, i2c_path); + + fd = open(i2c_path, O_RDWR); + igt_assert_neq(fd, -1); + + rc = ioctl(fd, I2C_RDWR, &msgset); + if (rc==-1) { + igt_debug("I2C access failed with errno %d, %s\n", + errno, strerror(errno)); + errno = 0; + } + + close(fd); + return rc >= 0; +} + +static void format_hex_string(const unsigned char edid[static EDID_BLOCK_SIZE], + char buf[static EDID_BLOCK_SIZE * 5 + 1]) +{ + for (int i = 0; i < EDID_BLOCK_SIZE; ++i) + sprintf(buf+i*5, "0x%02x ", edid[i]); +} + +static bool is_mst_connector(int fd, uint32_t connector_id) +{ + return kmstest_get_property(fd, connector_id, + DRM_MODE_OBJECT_CONNECTOR, + "PATH", NULL, NULL, NULL); +} + +static void test_i2c(struct mode_set_data *data) +{ + bool edid_mistmach_i2c_vs_drm = false; + igt_display_t display; + igt_display_require(&display, drm_fd); + + for (int i = 0; i < data->res->count_connectors; i++) { + unsigned char *drm_edid = data->edids[i] ? data->edids[i]->data : NULL; + unsigned char i2c_edid[EDID_BLOCK_SIZE] = {}; + + igt_output_t *output = igt_output_from_connector(&display, + data->connectors[i]); + char *connector_name = (char *) igt_output_name(output); + + bool got_i2c_edid = i2c_read_edid(connector_name, i2c_edid); + bool got_drm_edid = drm_edid != NULL; + bool is_vga = data->connectors[i]->connector_type == DRM_MODE_CONNECTOR_VGA; + + bool edids_equal; + + if (data->connectors[i]->connection != DRM_MODE_CONNECTED || + is_mst_connector(drm_fd, data->connectors[i]->connector_id)) + continue; + + /* We fail to detect some VGA monitors using our i2c method. If you look + * at the dmesg of these cases, you'll see the Kernel complaining about + * the EDID reading mostly FFs and then disabling bit-banging. Since we + * don't want to reimplement everything the Kernel does, let's just + * accept the fact that some VGA outputs won't be properly detected. */ + if (is_vga) + continue; + + if (!got_i2c_edid && !got_drm_edid) + continue; + + if (got_i2c_edid && got_drm_edid) + edids_equal = (0 == memcmp(drm_edid, i2c_edid, EDID_BLOCK_SIZE)); + else + edids_equal = false; + + + if (!edids_equal) { + char buf[5 * EDID_BLOCK_SIZE + 1]; + igt_critical("Detected EDID mismatch on connector %s\n", + connector_name); + + if(got_i2c_edid) + format_hex_string(i2c_edid, buf); + else + sprintf(buf, "NULL"); + + igt_critical("i2c: %s\n", buf); + + if(got_drm_edid) + format_hex_string(drm_edid, buf); + else + sprintf(buf, "NULL"); + + igt_critical("drm: %s\n", buf); + + edid_mistmach_i2c_vs_drm = true; + } + } + igt_fail_on_f(edid_mistmach_i2c_vs_drm, + "There is an EDID mismatch between i2c and DRM!\n"); +} + +static void i2c_subtest_check_environment(void) +{ + int i2c_dev_files = 0; + DIR *dev_dir; + struct dirent *dirent; + + /* Make sure the /dev/i2c-* files exist. */ + igt_require(modprobe("i2c-dev") == 0); + + dev_dir = opendir("/dev"); + igt_assert(dev_dir); + while ((dirent = readdir(dev_dir))) { + if (strncmp(dirent->d_name, "i2c-", 4) == 0) + i2c_dev_files++; + } + closedir(dev_dir); + igt_require(i2c_dev_files); +} + +/* Try to use raw I2C, which also needs interrupts. */ +static void i2c_subtest(void) +{ + i2c_subtest_check_environment(); + + enable_one_screen_and_wait(&ms_data); + + disable_all_screens_and_wait(&ms_data); + test_i2c(&ms_data); + igt_assert(wait_for_suspended()); + + enable_one_screen(&ms_data); +} + +struct read_entry_elapsed { + uint64_t elapsed; + char *path; +} max_read_entry; + +static bool device_in_pci_d3(struct pci_device *pci_dev) +{ + uint16_t val; + int rc; + + rc = pci_device_cfg_read_u16(pci_dev, &val, 0xd4); + igt_assert_eq(rc, 0); + + igt_debug("%s: PCI D3 state=%d\n", __func__, val & 0x3); + return (val & 0x3) == 0x3; +} + +static void pci_d3_state_subtest(void) +{ + struct pci_device *pci_dev, *bridge_pci_dev; + + igt_require(has_runtime_pm); + + pci_dev = igt_device_get_pci_device(drm_fd); + bridge_pci_dev = pci_device_get_parent_bridge(pci_dev); + + disable_all_screens_and_wait(&ms_data); + igt_assert(igt_wait(device_in_pci_d3(pci_dev), 2000, 100)); + + if (gem_has_lmem(drm_fd)) + igt_require_f(pci_device_has_kernel_driver(bridge_pci_dev), + "pci bridge device does not bind with pcieport driver\n"); + + enable_one_screen_or_forcewake_get_and_wait(&ms_data); + igt_assert(!device_in_pci_d3(pci_dev)); + forcewake_put(&ms_data); +} + +__noreturn static void stay_subtest(void) +{ + disable_all_screens_and_wait(&ms_data); + + while (1) + sleep(600); +} + +static void system_suspend_modeset_subtest(void) +{ + disable_all_screens_and_wait(&ms_data); + igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE); + igt_assert(wait_for_suspended()); + + enable_one_screen_and_wait(&ms_data); + disable_all_screens_and_wait(&ms_data); +} + +/* Enable a screen, activate DPMS, then do a modeset. At some point our driver + * produced WARNs on this case. */ +static void dpms_mode_unset_subtest(enum screen_type type) +{ + disable_all_screens_and_wait(&ms_data); + + igt_require(enable_one_screen_with_type(&ms_data, type)); + igt_assert(wait_for_active()); + + disable_all_screens_dpms(&ms_data); + igt_assert(wait_for_suspended()); + + disable_all_screens_and_wait(&ms_data); +} + +static void fill_igt_fb(struct igt_fb *fb, uint32_t color) +{ + int i; + uint32_t *ptr; + + ptr = gem_mmap__device_coherent(drm_fd, fb->gem_handle, 0, fb->size, PROT_WRITE); + for (i = 0; i < fb->size/sizeof(uint32_t); i++) + ptr[i] = color; + igt_assert(munmap(ptr, fb->size) == 0); +} + +/* At some point, this test triggered WARNs in the Kernel. */ +static void cursor_subtest(bool dpms) +{ + int rc; + struct igt_fb cursor_fb1, cursor_fb2, cursor_fb3; + uint32_t crtc_id; + + disable_all_screens_and_wait(&ms_data); + + igt_require(default_mode_params); + crtc_id = default_mode_params->crtc_id; + + igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, + DRM_FORMAT_MOD_LINEAR, &cursor_fb1); + igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, + DRM_FORMAT_MOD_LINEAR, &cursor_fb2); + igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_XRGB8888, + I915_FORMAT_MOD_X_TILED, &cursor_fb3); + + fill_igt_fb(&cursor_fb1, 0xFF00FFFF); + fill_igt_fb(&cursor_fb2, 0xFF00FF00); + fill_igt_fb(&cursor_fb3, 0xFFFF0000); + + set_mode_for_params_and_wait(default_mode_params); + + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, + cursor_fb1.width, cursor_fb1.height); + igt_assert_eq(rc, 0); + rc = drmModeMoveCursor(drm_fd, crtc_id, 0, 0); + igt_assert_eq(rc, 0); + igt_assert(wait_for_active()); + + disable_or_dpms_all_screens_and_wait(&ms_data, dpms); + + /* First, just move the cursor. */ + rc = drmModeMoveCursor(drm_fd, crtc_id, 1, 1); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Then unset it, and set a new one. */ + rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb2.gem_handle, + cursor_fb1.width, cursor_fb2.height); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Move the new cursor. */ + rc = drmModeMoveCursor(drm_fd, crtc_id, 2, 2); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Now set a new one without unsetting the previous one. */ + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, + cursor_fb1.width, cursor_fb1.height); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Cursor 3 was created with tiling and painted with a GTT mmap, so + * hopefully it has some fences around it. */ + rc = drmModeRmFB(drm_fd, cursor_fb3.fb_id); + igt_assert_eq(rc, 0); + __gem_set_tiling(drm_fd, cursor_fb3.gem_handle, false, cursor_fb3.strides[0]); + igt_assert(wait_for_suspended()); + + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb3.gem_handle, + cursor_fb3.width, cursor_fb3.height); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Make sure nothing remains for the other tests. */ + rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); +} + +static enum plane_type get_plane_type(uint32_t plane_id) +{ + int i; + bool found; + uint64_t prop_value; + drmModePropertyPtr prop; + const char *enum_name = NULL; + enum plane_type type; + + found = kmstest_get_property(drm_fd, plane_id, DRM_MODE_OBJECT_PLANE, + "type", NULL, &prop_value, &prop); + igt_assert(found); + + igt_assert(prop->flags & DRM_MODE_PROP_ENUM); + igt_assert(prop_value < prop->count_enums); + + for (i = 0; i < prop->count_enums; i++) { + if (prop->enums[i].value == prop_value) { + enum_name = prop->enums[i].name; + break; + } + } + igt_assert(enum_name); + + if (strcmp(enum_name, "Overlay") == 0) + type = PLANE_OVERLAY; + else if (strcmp(enum_name, "Primary") == 0) + type = PLANE_PRIMARY; + else if (strcmp(enum_name, "Cursor") == 0) + type = PLANE_CURSOR; + else + igt_assert(0); + + drmModeFreeProperty(prop); + + return type; +} + +static void test_one_plane(bool dpms, uint32_t plane_id, + enum plane_type plane_type) +{ + int rc; + uint32_t plane_format, plane_w, plane_h; + uint32_t crtc_id; + struct igt_fb plane_fb1, plane_fb2; + int32_t crtc_x = 0, crtc_y = 0; + uint64_t modifier; + + disable_all_screens_and_wait(&ms_data); + + crtc_id = default_mode_params->crtc_id; + + switch (plane_type) { + case PLANE_OVERLAY: + plane_format = DRM_FORMAT_XRGB8888; + plane_w = 64; + plane_h = 64; + modifier = I915_FORMAT_MOD_X_TILED; + break; + case PLANE_PRIMARY: + plane_format = DRM_FORMAT_XRGB8888; + plane_w = default_mode_params->mode->hdisplay; + plane_h = default_mode_params->mode->vdisplay; + modifier = I915_FORMAT_MOD_X_TILED; + break; + case PLANE_CURSOR: + plane_format = DRM_FORMAT_ARGB8888; + plane_w = 64; + plane_h = 64; + modifier = DRM_FORMAT_MOD_LINEAR; + break; + default: + igt_assert(0); + break; + } + + igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, + &plane_fb1); + igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, + &plane_fb2); + fill_igt_fb(&plane_fb1, 0xFF00FFFF); + fill_igt_fb(&plane_fb2, 0xFF00FF00); + + set_mode_for_params_and_wait(default_mode_params); + + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, + 0, 0, plane_fb1.width, plane_fb1.height, + 0 << 16, 0 << 16, plane_fb1.width << 16, + plane_fb1.height << 16); + igt_assert_eq(rc, 0); + + disable_or_dpms_all_screens_and_wait(&ms_data, dpms); + + /* Just move the plane around. */ + if (plane_type != PLANE_PRIMARY) { + crtc_x++; + crtc_y++; + } + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, + crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, + 0 << 16, 0 << 16, plane_fb1.width << 16, + plane_fb1.height << 16); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Unset, then change the plane. */ + rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb2.fb_id, 0, + crtc_x, crtc_y, plane_fb2.width, plane_fb2.height, + 0 << 16, 0 << 16, plane_fb2.width << 16, + plane_fb2.height << 16); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Now change the plane without unsetting first. */ + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, + crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, + 0 << 16, 0 << 16, plane_fb1.width << 16, + plane_fb1.height << 16); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); + + /* Make sure nothing remains for the other tests. */ + rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + igt_assert_eq(rc, 0); + igt_assert(wait_for_suspended()); +} + +/* This one also triggered WARNs on our driver at some point in time. */ +static void planes_subtest(bool universal, bool dpms) +{ + int i, crtc_idx; + drmModePlaneResPtr planes; + + igt_require(default_mode_params); + crtc_idx = kmstest_get_crtc_idx(ms_data.res, + default_mode_params->crtc_id); + + igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, + universal), 0); + + planes = drmModeGetPlaneResources(drm_fd); + for (i = 0; i < planes->count_planes; i++) { + drmModePlanePtr plane; + + plane = drmModeGetPlane(drm_fd, planes->planes[i]); + igt_assert(plane); + + if (plane->possible_crtcs & (1 << crtc_idx)) { + enum plane_type type; + + type = universal ? get_plane_type(plane->plane_id) : + PLANE_OVERLAY; + igt_dynamic_f("plane-%d", plane->plane_id) + test_one_plane(dpms, plane->plane_id, type); + } + drmModeFreePlane(plane); + } + drmModeFreePlaneResources(planes); + + igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, + 1), 0); +} + +static void fences_subtest(bool dpms) +{ + int i; + uint32_t *buf_ptr; + uint32_t tiling = false, swizzle; + struct modeset_params params; + + disable_all_screens_and_wait(&ms_data); + + igt_require(default_mode_params); + params.crtc_id = default_mode_params->crtc_id; + params.connector_id = default_mode_params->connector_id; + params.mode = default_mode_params->mode; + igt_create_fb(drm_fd, params.mode->hdisplay, params.mode->vdisplay, + DRM_FORMAT_XRGB8888, I915_FORMAT_MOD_X_TILED, + ¶ms.fb); + + /* Even though we passed "true" as the tiling argument, double-check + * that the fb is really tiled. */ + gem_get_tiling(drm_fd, params.fb.gem_handle, &tiling, &swizzle); + igt_assert(tiling); + + buf_ptr = gem_mmap__gtt(drm_fd, params.fb.gem_handle, params.fb.size, + PROT_WRITE | PROT_READ); + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) + buf_ptr[i] = i; + + set_mode_for_params_and_wait(¶ms); + + disable_or_dpms_all_screens_and_wait(&ms_data, dpms); + + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) + igt_assert_eq(buf_ptr[i], i); + igt_assert(wait_for_suspended()); + + if (dpms) { + drmModeConnectorPtr c = NULL; + + for (i = 0; i < ms_data.res->count_connectors; i++) + if (ms_data.connectors[i]->connector_id == + params.connector_id) + c = ms_data.connectors[i]; + igt_assert(c); + + kmstest_set_connector_dpms(drm_fd, c, DRM_MODE_DPMS_ON); + } else { + set_mode_for_params(¶ms); + } + igt_assert(wait_for_active()); + + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) + igt_assert_eq(buf_ptr[i], i); + + igt_assert(munmap(buf_ptr, params.fb.size) == 0); +} + +static void pm_test_tiling(void) +{ + uint32_t *handles; + uint8_t **gem_bufs; + + int max_gem_objs = 0; + uint8_t off_bit = 14; + uint32_t gtt_obj_max_size = (256 * 1024); + + uint32_t i, j, k, tiling_modes[3] = { + I915_TILING_NONE, + I915_TILING_X, + I915_TILING_Y, + }; + uint32_t ti, sw; + + /* default stride value */ + uint32_t stride = 512; + + /* calculate how many objects we can map */ + for (i = 1 << off_bit; i <= gtt_obj_max_size; i <<= 1, max_gem_objs++) + ; + + gem_bufs = calloc(max_gem_objs, sizeof(*gem_bufs)); + handles = calloc(max_gem_objs, sizeof(*handles)); + + /* try to set different tiling for each handle */ + for (i = 0; i < ARRAY_SIZE(tiling_modes); i++) { + + for (j = 0, k = 1 << off_bit; + k <= gtt_obj_max_size; k <<= 1, j++) { + handles[j] = gem_create(drm_fd, k); + gem_bufs[j] = gem_mmap__gtt(drm_fd, handles[j], + k, PROT_WRITE); + memset(gem_bufs[j], 0x0, k); + } + + disable_all_screens_and_wait(&ms_data); + + for (j = 0; j < max_gem_objs; j++) { + gem_set_tiling(drm_fd, handles[j], + tiling_modes[i], stride); + gem_get_tiling(drm_fd, handles[j], &ti, &sw); + igt_assert(tiling_modes[i] == ti); + } + + enable_one_screen_and_wait(&ms_data); + + for (j = 0, k = 1 << off_bit; + k <= gtt_obj_max_size; k <<= 1, j++) { + igt_assert(munmap(gem_bufs[j], k) == 0); + gem_close(drm_fd, handles[j]); + } + } + + free(gem_bufs); + free(handles); +} + +static void pm_test_caching(void) +{ + uint32_t handle; + uint8_t *gem_buf; + + uint32_t i; + uint32_t default_cache_level; + uint32_t gtt_obj_max_size = (16 * 1024); + uint32_t cache_levels[3] = { + I915_CACHING_NONE, + I915_CACHING_CACHED, /* LLC caching */ + I915_CACHING_DISPLAY, /* eDRAM caching */ + }; + + disable_all_screens(&ms_data); + + handle = gem_create(drm_fd, gtt_obj_max_size); + default_cache_level = gem_get_caching(drm_fd, handle); + gem_buf = gem_mmap__gtt(drm_fd, handle, gtt_obj_max_size, PROT_WRITE); + + for (i = 0; i < ARRAY_SIZE(cache_levels); i++) { + igt_assert(wait_for_suspended()); + if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) + gem_set_caching(drm_fd, handle, default_cache_level); + /* Ensure we bind the vma into the GGTT */ + memset(gem_buf, 16 << i, gtt_obj_max_size); + + /* Now try changing the cache-level on the bound object. + * This will either unlikely unbind the object from the GGTT, + * or more likely just change the PTEs inside the GGTT. Either + * way the driver must take the rpm wakelock around the GSM + * access. + */ + igt_debug("Setting cache level %u\n", cache_levels[i]); + igt_assert(wait_for_suspended()); + if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) + gem_set_caching(drm_fd, handle, cache_levels[i]); + } + + igt_assert(munmap(gem_buf, gtt_obj_max_size) == 0); + gem_close(drm_fd, handle); +} + +int rounds = 10; +bool stay = false; + +static int opt_handler(int opt, int opt_index, void *data) +{ + switch (opt) { + case 'l': + rounds = 50; + break; + case 's': + stay = true; + break; + default: + return IGT_OPT_HANDLER_ERROR; + } + + return IGT_OPT_HANDLER_SUCCESS; +} + +const char *help_str = + " --stress\t\tMake the stress-tests more stressful.\n" + " --stay\t\tDisable all screen and try to go into runtime pm. Useful for debugging."; +static struct option long_options[] = { + {"stress", 0, 0, 'l'}, + {"stay", 0, 0, 's'}, + { 0, 0, 0, 0 } +}; + +igt_main_args("", long_options, help_str, opt_handler, NULL) +{ + igt_subtest("basic-rte") { + igt_assert(setup_environment()); + basic_subtest(); + } + + igt_fixture { + igt_require(setup_environment()); + } + + if (stay) + igt_subtest("stay") + stay_subtest(); + + /* Essential things */ + igt_subtest("drm-resources-equal") + drm_resources_equal_subtest(); + igt_subtest("basic-pci-d3-state") + pci_d3_state_subtest(); + + /* Basic modeset */ + igt_subtest("modeset-lpsp") + modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS); + igt_subtest("modeset-non-lpsp") + modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS); + igt_subtest("dpms-lpsp") + modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS | USE_DPMS); + igt_subtest("dpms-non-lpsp") + modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS | USE_DPMS); + + /* Planes and cursors */ + igt_subtest("cursor") + cursor_subtest(false); + igt_subtest("cursor-dpms") + cursor_subtest(true); + igt_subtest_with_dynamic("legacy-planes") + planes_subtest(false, false); + igt_subtest_with_dynamic("legacy-planes-dpms") + planes_subtest(false, true); + igt_subtest_with_dynamic("universal-planes") + planes_subtest(true, false); + igt_subtest_with_dynamic("universal-planes-dpms") + planes_subtest(true, true); + + /* Misc */ + igt_subtest("i2c") + i2c_subtest(); + igt_subtest("dpms-mode-unset-lpsp") + dpms_mode_unset_subtest(SCREEN_TYPE_LPSP); + igt_subtest("dpms-mode-unset-non-lpsp") + dpms_mode_unset_subtest(SCREEN_TYPE_NON_LPSP); + igt_subtest("fences") { + gem_require_mappable_ggtt(drm_fd); + fences_subtest(false); + } + igt_subtest("fences-dpms") { + gem_require_mappable_ggtt(drm_fd); + fences_subtest(true); + } + igt_subtest("pc8-residency") + pc8_residency_subtest(); + + /* Modeset stress */ + igt_subtest("modeset-lpsp-stress") + modeset_subtest(SCREEN_TYPE_LPSP, rounds, WAIT_STATUS); + igt_subtest("modeset-non-lpsp-stress") + modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, WAIT_STATUS); + igt_subtest("modeset-lpsp-stress-no-wait") + modeset_subtest(SCREEN_TYPE_LPSP, rounds, DONT_WAIT); + igt_subtest("modeset-non-lpsp-stress-no-wait") + modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, DONT_WAIT); + igt_subtest("modeset-pc8-residency-stress") + modeset_subtest(SCREEN_TYPE_ANY, rounds, WAIT_PC8_RES); + igt_subtest("modeset-stress-extra-wait") + modeset_subtest(SCREEN_TYPE_ANY, rounds, + WAIT_STATUS | WAIT_EXTRA); + + /* System suspend */ + igt_subtest("system-suspend-modeset") + system_suspend_modeset_subtest(); + + /* power-wake reference tests */ + igt_subtest("pm-tiling") { + gem_require_mappable_ggtt(drm_fd); + pm_test_tiling(); + } + igt_subtest("pm-caching") { + gem_require_mappable_ggtt(drm_fd); + pm_test_caching(); + } + + igt_fixture { + teardown_environment(); + forcewake_put(&ms_data); + } +} diff --git a/tests/meson.build b/tests/meson.build index 92729e0c3..37d101281 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -262,6 +262,7 @@ intel_kms_progs = [ 'kms_pm_backlight', 'kms_pm_dc', 'kms_pm_lpsp', + 'kms_pm_rpm', 'kms_psr', 'kms_psr2_sf', 'kms_psr2_su', -- 2.40.0 ^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [igt-dev] [i-g-t V3 7/7] tests/intel/pm: Separate display specific tests from i915_pm_rpm 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 7/7] tests/intel/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem @ 2023-09-08 8:42 ` Sharma, Swati2 0 siblings, 0 replies; 18+ messages in thread From: Sharma, Swati2 @ 2023-09-08 8:42 UTC (permalink / raw) To: Bhanuprakash Modem, igt-dev On 07-Sep-23 9:41 PM, Bhanuprakash Modem wrote: > Separate display specific tests, from i915_pm_rpm and create > a new binary "kms_pm_rpm" for them. > > Note: This patch can be split into multiple, but still it is > a good starting point to review. > > V2: - Drop unnecessary header files > V3: - Restore old Copyright > - Fix missing display tests > > Cc: Anshuman Gupta <anshuman.gupta@intel.com> > Cc: Swati Sharma <swati2.sharma@intel.com> > Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> > --- > tests/intel-ci/blacklist-pre-merge.txt | 8 +- > tests/intel-ci/blacklist.txt | 2 +- > tests/intel-ci/fast-feedback.testlist | 6 +- > tests/intel/i915_pm_rpm.c | 1125 --------------- > tests/intel/kms_pm_rpm.c | 1840 ++++++++++++++++++++++++ > tests/meson.build | 1 + > 6 files changed, 1849 insertions(+), 1133 deletions(-) > create mode 100644 tests/intel/kms_pm_rpm.c > > diff --git a/tests/intel-ci/blacklist-pre-merge.txt b/tests/intel-ci/blacklist-pre-merge.txt > index d4e5ef66e..0a1315aae 100644 > --- a/tests/intel-ci/blacklist-pre-merge.txt > +++ b/tests/intel-ci/blacklist-pre-merge.txt > @@ -13,8 +13,8 @@ > # > # Data acquired on 2020-02-19 by Martin Peres > ############################################################################### > -igt@i915_pm_rpm@legacy-planes(-dpms)? > -igt@i915_pm_rpm@universal-planes(-dpms)? > +igt@kms_pm_rpm@legacy-planes(-dpms)? > +igt@kms_pm_rpm@universal-planes(-dpms)? > > > ############################################################################### > @@ -67,7 +67,7 @@ igt@gem_exec_alignment@.* > # > # Data acquired on 2020-02-20 by Martin Peres > ############################################################################### > -igt@i915_pm_rpm@debugfs-read > +igt@kms_pm_rpm@debugfs-read > > > ############################################################################### > @@ -109,4 +109,4 @@ igt@gem_tiled_wc > # > # Data acquired on 2020-02-20 by Martin Peres > ############################################################################### > -igt@i915_pm_rpm@modeset-stress-extra-wait > +igt@kms_pm_rpm@modeset-stress-extra-wait > diff --git a/tests/intel-ci/blacklist.txt b/tests/intel-ci/blacklist.txt > index e13759d3e..c8bce2e0e 100644 > --- a/tests/intel-ci/blacklist.txt > +++ b/tests/intel-ci/blacklist.txt > @@ -13,7 +13,7 @@ igt@meta_test(@.*)? > # failures in tests run afterwards. > ############################################### > #igt@i915_module_load(@.*)? # danger, danger; hope for taints! > -igt@i915_pm_rpm@module-reload > +igt@kms_pm_rpm@module-reload > igt@i915_pm_rpm@gem-execbuf-stress-extra-wait > ############################################### > # GEM > diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist > index 51010a2f7..3bbb7593a 100644 > --- a/tests/intel-ci/fast-feedback.testlist > +++ b/tests/intel-ci/fast-feedback.testlist > @@ -119,13 +119,13 @@ 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@primary_page_flip > igt@kms_psr@cursor_plane_move > igt@kms_psr@sprite_plane_onoff > igt@kms_psr@primary_mmap_gtt > igt@kms_setmode@basic-clone-single-crtc > -igt@i915_pm_rpm@basic-pci-d3-state > -igt@i915_pm_rpm@basic-rte > igt@i915_pm_rps@basic-api > igt@prime_self_import@basic-llseek-bad > igt@prime_self_import@basic-llseek-size > @@ -161,7 +161,7 @@ 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 > +igt@kms_pm_rpm@module-reload I guess, you have missed this test. Can you split this test into 2: 1. module-reload-with-display 2. module-reload-without-display and put 1st in kms_pm_rpm and 2nd in i915_pm_rpm > > # Kernel selftests > igt@i915_selftest@live > diff --git a/tests/intel/i915_pm_rpm.c b/tests/intel/i915_pm_rpm.c > index 17413ffe5..2b0a63bde 100644 > --- a/tests/intel/i915_pm_rpm.c > +++ b/tests/intel/i915_pm_rpm.c > @@ -43,25 +43,6 @@ > /** > * TEST: i915 pm rpm > * > - * SUBTEST: basic-pci-d3-state > - * Description: Validate PCI device D3 state enter-exit scenario using runtime PM > - * Feature: pm_rpm > - * Functionality: D3 state entry-exit > - * Run type: BAT > - * Test category: pm_rpm > - * > - * SUBTEST: basic-rte > - * Feature: pm_rpm > - * Run type: BAT > - * > - * SUBTEST: cursor > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: cursor-dpms > - * Feature: pm_rpm > - * Run type: FULL > - * > * SUBTEST: debugfs-forcewake-user > * Feature: pm_rpm > * Run type: FULL > @@ -70,34 +51,6 @@ > * Feature: pm_rpm > * Run type: FULL > * > - * SUBTEST: dpms-lpsp > - * Feature: dpms, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: dpms-mode-unset-lpsp > - * Feature: dpms, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: dpms-mode-unset-non-lpsp > - * Feature: dpms, non-lpsp, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: dpms-non-lpsp > - * Feature: dpms, non-lpsp, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: drm-resources-equal > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: fences > - * Feature: gtt, pm_rpm, synchronization > - * Run type: FULL > - * > - * SUBTEST: fences-dpms > - * Feature: gtt, pm_rpm, synchronization > - * Run type: FULL > - * > * SUBTEST: gem-evict-pwrite > * Feature: gtt, pm_rpm > * Run type: FULL > @@ -127,66 +80,10 @@ > * Feature: pm_rpm > * Run type: FULL > * > - * SUBTEST: i2c > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: legacy-planes > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: legacy-planes-dpms > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-lpsp > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-lpsp-stress > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-lpsp-stress-no-wait > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-non-lpsp > - * Feature: non-lpsp, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-non-lpsp-stress > - * Feature: non-lpsp, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-non-lpsp-stress-no-wait > - * Feature: non-lpsp, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-pc8-residency-stress > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: modeset-stress-extra-wait > - * Feature: pm_rpm > - * Run type: FULL > - * > * SUBTEST: module-reload > * Feature: pm_rpm > * Run type: BAT > * > - * SUBTEST: pc8-residency > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: pm-caching > - * Feature: gtt, pm_rpm > - * Run type: FULL > - * > - * SUBTEST: pm-tiling > - * Feature: gtt, pm_rpm > - * Run type: FULL > - * > * SUBTEST: reg-read-ioctl > * Feature: pm_rpm > * Run type: FULL > @@ -214,18 +111,6 @@ > * SUBTEST: system-suspend-execbuf > * Feature: pm_rpm > * Run type: FULL > - * > - * SUBTEST: system-suspend-modeset > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: universal-planes > - * Feature: pm_rpm > - * Run type: FULL > - * > - * SUBTEST: universal-planes-dpms > - * Feature: pm_rpm > - * Run type: FULL > */ > > #if defined(__linux__) > @@ -605,17 +490,6 @@ static bool enable_one_screen_with_type(struct mode_set_data *data, > return set_mode_for_params(params); > } > > -static void enable_one_screen(struct mode_set_data *data) > -{ > - /* SKIP if there are no connected screens. */ > - igt_require(enable_one_screen_with_type(data, SCREEN_TYPE_ANY)); > -} > - > -#define enable_one_screen_and_wait(data) do { \ > - enable_one_screen(data); \ > - igt_assert(wait_for_active()); \ > -} while (0) > - > static void > enable_one_screen_or_forcewake_get_and_wait(struct mode_set_data *data) > { > @@ -707,343 +581,6 @@ static void fini_mode_set_data(struct mode_set_data *data) > } > } > > -static void get_drm_info(struct compare_data *data) > -{ > - int i; > - > - data->res = drmModeGetResources(drm_fd); > - if (!data->res) > - return; > - > - igt_assert(data->res->count_connectors <= MAX_CONNECTORS); > - igt_assert(data->res->count_encoders <= MAX_ENCODERS); > - igt_assert(data->res->count_crtcs <= MAX_CRTCS); > - > - for (i = 0; i < data->res->count_connectors; i++) { > - /* Don't use GetConnectorCurrent, we want to force a reprobe > - * here. */ > - data->connectors[i] = drmModeGetConnector(drm_fd, > - data->res->connectors[i]); > - data->edids[i] = get_connector_edid(data->connectors[i], i); > - } > - for (i = 0; i < data->res->count_encoders; i++) > - data->encoders[i] = drmModeGetEncoder(drm_fd, > - data->res->encoders[i]); > - for (i = 0; i < data->res->count_crtcs; i++) > - data->crtcs[i] = drmModeGetCrtc(drm_fd, data->res->crtcs[i]); > -} > - > -static void free_drm_info(struct compare_data *data) > -{ > - int i; > - > - if (!data->res) > - return; > - > - for (i = 0; i < data->res->count_connectors; i++) { > - drmModeFreeConnector(data->connectors[i]); > - drmModeFreePropertyBlob(data->edids[i]); > - } > - for (i = 0; i < data->res->count_encoders; i++) > - drmModeFreeEncoder(data->encoders[i]); > - for (i = 0; i < data->res->count_crtcs; i++) > - drmModeFreeCrtc(data->crtcs[i]); > - > - drmModeFreeResources(data->res); > -} > - > -#define COMPARE(d1, d2, data) igt_assert_eq(d1->data, d2->data) > -#define COMPARE_ARRAY(d1, d2, size, data) do { \ > - for (i = 0; i < size; i++) \ > - igt_assert(d1->data[i] == d2->data[i]); \ > -} while (0) > - > -static void assert_drm_resources_equal(struct compare_data *d1, > - struct compare_data *d2) > -{ > - COMPARE(d1, d2, res->count_connectors); > - COMPARE(d1, d2, res->count_encoders); > - COMPARE(d1, d2, res->count_crtcs); > - COMPARE(d1, d2, res->min_width); > - COMPARE(d1, d2, res->max_width); > - COMPARE(d1, d2, res->min_height); > - COMPARE(d1, d2, res->max_height); > -} > - > -static void assert_modes_equal(drmModeModeInfoPtr m1, drmModeModeInfoPtr m2) > -{ > - COMPARE(m1, m2, clock); > - COMPARE(m1, m2, hdisplay); > - COMPARE(m1, m2, hsync_start); > - COMPARE(m1, m2, hsync_end); > - COMPARE(m1, m2, htotal); > - COMPARE(m1, m2, hskew); > - COMPARE(m1, m2, vdisplay); > - COMPARE(m1, m2, vsync_start); > - COMPARE(m1, m2, vsync_end); > - COMPARE(m1, m2, vtotal); > - COMPARE(m1, m2, vscan); > - COMPARE(m1, m2, vrefresh); > - COMPARE(m1, m2, flags); > - COMPARE(m1, m2, type); > - igt_assert(strcmp(m1->name, m2->name) == 0); > -} > - > -static void assert_drm_connectors_equal(drmModeConnectorPtr c1, > - drmModeConnectorPtr c2) > -{ > - int i; > - > - COMPARE(c1, c2, connector_id); > - COMPARE(c1, c2, connector_type); > - COMPARE(c1, c2, connector_type_id); > - COMPARE(c1, c2, mmWidth); > - COMPARE(c1, c2, mmHeight); > - COMPARE(c1, c2, count_modes); > - COMPARE(c1, c2, count_props); > - COMPARE(c1, c2, count_encoders); > - COMPARE_ARRAY(c1, c2, c1->count_props, props); > - COMPARE_ARRAY(c1, c2, c1->count_encoders, encoders); > - > - for (i = 0; i < c1->count_modes; i++) > - assert_modes_equal(&c1->modes[0], &c2->modes[0]); > -} > - > -static void assert_drm_encoders_equal(drmModeEncoderPtr e1, > - drmModeEncoderPtr e2) > -{ > - COMPARE(e1, e2, encoder_id); > - COMPARE(e1, e2, encoder_type); > - COMPARE(e1, e2, possible_crtcs); > - COMPARE(e1, e2, possible_clones); > -} > - > -static void assert_drm_crtcs_equal(drmModeCrtcPtr c1, drmModeCrtcPtr c2) > -{ > - COMPARE(c1, c2, crtc_id); > -} > - > -static void assert_drm_edids_equal(drmModePropertyBlobPtr e1, > - drmModePropertyBlobPtr e2) > -{ > - if (!e1 && !e2) > - return; > - igt_assert(e1 && e2); > - > - COMPARE(e1, e2, length); > - > - igt_assert(memcmp(e1->data, e2->data, e1->length) == 0); > -} > - > -static void assert_drm_infos_equal(struct compare_data *d1, > - struct compare_data *d2) > -{ > - int i; > - > - if (d1->res == d2->res) > - return; > - > - igt_assert(d1->res); > - igt_assert(d2->res); > - > - assert_drm_resources_equal(d1, d2); > - > - for (i = 0; i < d1->res->count_connectors; i++) { > - assert_drm_connectors_equal(d1->connectors[i], > - d2->connectors[i]); > - assert_drm_edids_equal(d1->edids[i], d2->edids[i]); > - } > - > - for (i = 0; i < d1->res->count_encoders; i++) > - assert_drm_encoders_equal(d1->encoders[i], d2->encoders[i]); > - > - for (i = 0; i < d1->res->count_crtcs; i++) > - assert_drm_crtcs_equal(d1->crtcs[i], d2->crtcs[i]); > -} > - > -static bool find_i2c_path(const char *connector_name, > - char *i2c_path, size_t i2c_path_size) > -{ > - struct dirent *dirent; > - DIR *dir; > - int sysfs_card_fd = igt_sysfs_open(drm_fd); > - int connector_fd = -1; > - bool found_i2c_file = false; > - ssize_t r; > - > - dir = fdopendir(sysfs_card_fd); > - igt_assert(dir); > - > - while ((dirent = readdir(dir))) { > - /* Skip "cardx-" prefix */ > - char *dirname = strchr(dirent->d_name, '-'); > - if (dirname==NULL) > - continue; > - ++dirname; > - > - if (strcmp(dirname, connector_name) == 0) { > - connector_fd = openat(sysfs_card_fd, dirent->d_name, O_RDONLY); > - break; > - } > - } > - closedir(dir); > - > - if (connector_fd < 0) > - return false; > - > - /* try the standard "ddc" symlink first */ > - r = readlinkat(connector_fd, "ddc", i2c_path, i2c_path_size); > - if (r > 0 && r != i2c_path_size) { > - int num; > - > - i2c_path[r] = '\0'; > - > - if (sscanf(basename(i2c_path), "i2c-%d", &num) == 1) { > - snprintf(i2c_path, i2c_path_size, "/dev/i2c-%d", num); > - return true; > - } > - } > - > - dir = fdopendir(connector_fd); > - igt_assert(dir); > - > - /* fall back to old "i2c-?" symlink */ > - /* FIXME nuke this at some point */ > - while ((dirent = readdir(dir))) { > - if (strncmp(dirent->d_name, "i2c-", 4) == 0) { > - sprintf(i2c_path, "/dev/%s", dirent->d_name); > - found_i2c_file = true; > - } > - } > - closedir(dir); > - return found_i2c_file; > -} > - > - > -static bool i2c_read_edid(const char *connector_name, unsigned char *edid) > -{ > - char i2c_path[PATH_MAX]; > - bool result; > - int rc, fd; > - struct i2c_msg msgs[] = { > - { /* Start at 0. */ > - .addr = 0x50, > - .flags = 0, > - .len = 1, > - .buf = edid, > - }, { /* Now read the EDID. */ > - .addr = 0x50, > - .flags = I2C_M_RD, > - .len = 128, > - .buf = edid, > - } > - }; > - struct i2c_rdwr_ioctl_data msgset = { > - .msgs = msgs, > - .nmsgs = 2, > - }; > - > - result = find_i2c_path(connector_name, i2c_path, sizeof(i2c_path)); > - if (!result) > - return false; > - > - igt_info("Testing %s %s\n", connector_name, i2c_path); > - > - fd = open(i2c_path, O_RDWR); > - igt_assert_neq(fd, -1); > - > - rc = ioctl(fd, I2C_RDWR, &msgset); > - if (rc==-1) { > - igt_debug("I2C access failed with errno %d, %s\n", > - errno, strerror(errno)); > - errno = 0; > - } > - > - close(fd); > - return rc >= 0; > -} > - > -static void format_hex_string(const unsigned char edid[static EDID_BLOCK_SIZE], > - char buf[static EDID_BLOCK_SIZE * 5 + 1]) > -{ > - for (int i = 0; i < EDID_BLOCK_SIZE; ++i) > - sprintf(buf+i*5, "0x%02x ", edid[i]); > -} > - > -static bool is_mst_connector(int fd, uint32_t connector_id) > -{ > - return kmstest_get_property(fd, connector_id, > - DRM_MODE_OBJECT_CONNECTOR, > - "PATH", NULL, NULL, NULL); > -} > - > -static void test_i2c(struct mode_set_data *data) > -{ > - bool edid_mistmach_i2c_vs_drm = false; > - igt_display_t display; > - igt_display_require(&display, drm_fd); > - > - for (int i = 0; i < data->res->count_connectors; i++) { > - unsigned char *drm_edid = data->edids[i] ? data->edids[i]->data : NULL; > - unsigned char i2c_edid[EDID_BLOCK_SIZE] = {}; > - > - igt_output_t *output = igt_output_from_connector(&display, > - data->connectors[i]); > - char *connector_name = (char *) igt_output_name(output); > - > - bool got_i2c_edid = i2c_read_edid(connector_name, i2c_edid); > - bool got_drm_edid = drm_edid != NULL; > - bool is_vga = data->connectors[i]->connector_type == DRM_MODE_CONNECTOR_VGA; > - > - bool edids_equal; > - > - if (data->connectors[i]->connection != DRM_MODE_CONNECTED || > - is_mst_connector(drm_fd, data->connectors[i]->connector_id)) > - continue; > - > - /* We fail to detect some VGA monitors using our i2c method. If you look > - * at the dmesg of these cases, you'll see the Kernel complaining about > - * the EDID reading mostly FFs and then disabling bit-banging. Since we > - * don't want to reimplement everything the Kernel does, let's just > - * accept the fact that some VGA outputs won't be properly detected. */ > - if (is_vga) > - continue; > - > - if (!got_i2c_edid && !got_drm_edid) > - continue; > - > - if (got_i2c_edid && got_drm_edid) > - edids_equal = (0 == memcmp(drm_edid, i2c_edid, EDID_BLOCK_SIZE)); > - else > - edids_equal = false; > - > - > - if (!edids_equal) { > - char buf[5 * EDID_BLOCK_SIZE + 1]; > - igt_critical("Detected EDID mismatch on connector %s\n", > - connector_name); > - > - if(got_i2c_edid) > - format_hex_string(i2c_edid, buf); > - else > - sprintf(buf, "NULL"); > - > - igt_critical("i2c: %s\n", buf); > - > - if(got_drm_edid) > - format_hex_string(drm_edid, buf); > - else > - sprintf(buf, "NULL"); > - > - igt_critical("drm: %s\n", buf); > - > - edid_mistmach_i2c_vs_drm = true; > - } > - } > - igt_fail_on_f(edid_mistmach_i2c_vs_drm, > - "There is an EDID mismatch between i2c and DRM!\n"); > -} > - > static void setup_pc8(void) > { > has_pc8 = false; > @@ -1139,128 +676,6 @@ static void teardown_environment(bool display_enabled) > has_runtime_pm = false; > } > > -static void basic_subtest(void) > -{ > - disable_all_screens_and_wait(&ms_data); > - > - enable_one_screen_or_forcewake_get_and_wait(&ms_data); > - forcewake_put(&ms_data); > - > - /* XXX Also we can test wake up via exec nop */ > -} > - > -static void pc8_residency_subtest(void) > -{ > - igt_require(has_pc8); > - > - /* Make sure PC8+ residencies move! */ > - disable_all_screens(&ms_data); > - igt_assert_f(pc8_plus_residency_changed(30), > - "Machine is not reaching PC8+ states, please check its " > - "configuration.\n"); > - > - /* Make sure PC8+ residencies stop! */ > - enable_one_screen(&ms_data); > - igt_assert_f(!pc8_plus_residency_changed(10), > - "PC8+ residency didn't stop with screen enabled.\n"); > -} > - > -static void modeset_subtest(enum screen_type type, int rounds, int wait_flags) > -{ > - int i; > - > - if (wait_flags & WAIT_PC8_RES) > - igt_require(has_pc8); > - > - if (wait_flags & WAIT_EXTRA) > - rounds /= 2; > - > - for (i = 0; i < rounds; i++) { > - if (wait_flags & USE_DPMS) > - disable_all_screens_dpms(&ms_data); > - else > - disable_all_screens(&ms_data); > - > - if (wait_flags & WAIT_STATUS) > - igt_assert(wait_for_suspended()); > - if (wait_flags & WAIT_PC8_RES) > - igt_assert(pc8_plus_residency_changed(30)); > - if (wait_flags & WAIT_EXTRA) > - sleep(5); > - > - /* If we skip this line it's because the type of screen we want > - * is not connected. */ > - igt_require(enable_one_screen_with_type(&ms_data, type)); > - if (wait_flags & WAIT_STATUS) > - igt_assert(wait_for_active()); > - if (wait_flags & WAIT_PC8_RES) > - igt_assert(!pc8_plus_residency_changed(5)); > - if (wait_flags & WAIT_EXTRA) > - sleep(5); > - } > -} > - > -/* Test of the DRM resources reported by the IOCTLs are still the same. This > - * ensures we still see the monitors with the same eyes. We get the EDIDs and > - * compare them, which ensures we use DP AUX or GMBUS depending on what's > - * connected. */ > -static void drm_resources_equal_subtest(void) > -{ > - struct compare_data pre_suspend, during_suspend, post_suspend; > - > - enable_one_screen_and_wait(&ms_data); > - get_drm_info(&pre_suspend); > - igt_assert(wait_for_active()); > - > - disable_all_screens_and_wait(&ms_data); > - get_drm_info(&during_suspend); > - igt_assert(wait_for_suspended()); > - > - enable_one_screen_and_wait(&ms_data); > - get_drm_info(&post_suspend); > - igt_assert(wait_for_active()); > - > - assert_drm_infos_equal(&pre_suspend, &during_suspend); > - assert_drm_infos_equal(&pre_suspend, &post_suspend); > - > - free_drm_info(&pre_suspend); > - free_drm_info(&during_suspend); > - free_drm_info(&post_suspend); > -} > - > -static void i2c_subtest_check_environment(void) > -{ > - int i2c_dev_files = 0; > - DIR *dev_dir; > - struct dirent *dirent; > - > - /* Make sure the /dev/i2c-* files exist. */ > - igt_require(modprobe("i2c-dev") == 0); > - > - dev_dir = opendir("/dev"); > - igt_assert(dev_dir); > - while ((dirent = readdir(dev_dir))) { > - if (strncmp(dirent->d_name, "i2c-", 4) == 0) > - i2c_dev_files++; > - } > - closedir(dev_dir); > - igt_require(i2c_dev_files); > -} > - > -/* Try to use raw I2C, which also needs interrupts. */ > -static void i2c_subtest(void) > -{ > - i2c_subtest_check_environment(); > - > - enable_one_screen_and_wait(&ms_data); > - > - disable_all_screens_and_wait(&ms_data); > - test_i2c(&ms_data); > - igt_assert(wait_for_suspended()); > - > - enable_one_screen(&ms_data); > -} > - > struct read_entry_elapsed { > uint64_t elapsed; > char *path; > @@ -1875,27 +1290,6 @@ static bool device_in_pci_d3(struct pci_device *pci_dev) > return (val & 0x3) == 0x3; > } > > -static void pci_d3_state_subtest(void) > -{ > - struct pci_device *pci_dev, *bridge_pci_dev; > - > - igt_require(has_runtime_pm); > - > - pci_dev = igt_device_get_pci_device(drm_fd); > - bridge_pci_dev = pci_device_get_parent_bridge(pci_dev); > - > - disable_all_screens_and_wait(&ms_data); > - igt_assert(igt_wait(device_in_pci_d3(pci_dev), 2000, 100)); > - > - if (gem_has_lmem(drm_fd)) > - igt_require_f(pci_device_has_kernel_driver(bridge_pci_dev), > - "pci bridge device does not bind with pcieport driver\n"); > - > - enable_one_screen_or_forcewake_get_and_wait(&ms_data); > - igt_assert(!device_in_pci_d3(pci_dev)); > - forcewake_put(&ms_data); > -} > - > __noreturn static void stay_subtest(void) > { > disable_all_screens_and_wait(&ms_data); > @@ -1951,445 +1345,6 @@ static void system_suspend_execbuf_subtest(void) > gem_close(drm_fd, handle); > } > > -static void system_suspend_modeset_subtest(void) > -{ > - disable_all_screens_and_wait(&ms_data); > - igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE); > - igt_assert(wait_for_suspended()); > - > - enable_one_screen_and_wait(&ms_data); > - disable_all_screens_and_wait(&ms_data); > -} > - > -/* Enable a screen, activate DPMS, then do a modeset. At some point our driver > - * produced WARNs on this case. */ > -static void dpms_mode_unset_subtest(enum screen_type type) > -{ > - disable_all_screens_and_wait(&ms_data); > - > - igt_require(enable_one_screen_with_type(&ms_data, type)); > - igt_assert(wait_for_active()); > - > - disable_all_screens_dpms(&ms_data); > - igt_assert(wait_for_suspended()); > - > - disable_all_screens_and_wait(&ms_data); > -} > - > -static void fill_igt_fb(struct igt_fb *fb, uint32_t color) > -{ > - int i; > - uint32_t *ptr; > - > - ptr = gem_mmap__device_coherent(drm_fd, fb->gem_handle, 0, fb->size, PROT_WRITE); > - for (i = 0; i < fb->size/sizeof(uint32_t); i++) > - ptr[i] = color; > - igt_assert(munmap(ptr, fb->size) == 0); > -} > - > -/* At some point, this test triggered WARNs in the Kernel. */ > -static void cursor_subtest(bool dpms) > -{ > - int rc; > - struct igt_fb cursor_fb1, cursor_fb2, cursor_fb3; > - uint32_t crtc_id; > - > - disable_all_screens_and_wait(&ms_data); > - > - igt_require(default_mode_params); > - crtc_id = default_mode_params->crtc_id; > - > - igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, > - DRM_FORMAT_MOD_LINEAR, &cursor_fb1); > - igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, > - DRM_FORMAT_MOD_LINEAR, &cursor_fb2); > - igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_XRGB8888, > - I915_FORMAT_MOD_X_TILED, &cursor_fb3); > - > - fill_igt_fb(&cursor_fb1, 0xFF00FFFF); > - fill_igt_fb(&cursor_fb2, 0xFF00FF00); > - fill_igt_fb(&cursor_fb3, 0xFFFF0000); > - > - set_mode_for_params_and_wait(default_mode_params); > - > - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, > - cursor_fb1.width, cursor_fb1.height); > - igt_assert_eq(rc, 0); > - rc = drmModeMoveCursor(drm_fd, crtc_id, 0, 0); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_active()); > - > - disable_or_dpms_all_screens_and_wait(&ms_data, dpms); > - > - /* First, just move the cursor. */ > - rc = drmModeMoveCursor(drm_fd, crtc_id, 1, 1); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Then unset it, and set a new one. */ > - rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb2.gem_handle, > - cursor_fb1.width, cursor_fb2.height); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Move the new cursor. */ > - rc = drmModeMoveCursor(drm_fd, crtc_id, 2, 2); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Now set a new one without unsetting the previous one. */ > - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, > - cursor_fb1.width, cursor_fb1.height); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Cursor 3 was created with tiling and painted with a GTT mmap, so > - * hopefully it has some fences around it. */ > - rc = drmModeRmFB(drm_fd, cursor_fb3.fb_id); > - igt_assert_eq(rc, 0); > - __gem_set_tiling(drm_fd, cursor_fb3.gem_handle, false, cursor_fb3.strides[0]); > - igt_assert(wait_for_suspended()); > - > - rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb3.gem_handle, > - cursor_fb3.width, cursor_fb3.height); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Make sure nothing remains for the other tests. */ > - rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > -} > - > -static enum plane_type get_plane_type(uint32_t plane_id) > -{ > - int i; > - bool found; > - uint64_t prop_value; > - drmModePropertyPtr prop; > - const char *enum_name = NULL; > - enum plane_type type; > - > - found = kmstest_get_property(drm_fd, plane_id, DRM_MODE_OBJECT_PLANE, > - "type", NULL, &prop_value, &prop); > - igt_assert(found); > - > - igt_assert(prop->flags & DRM_MODE_PROP_ENUM); > - igt_assert(prop_value < prop->count_enums); > - > - for (i = 0; i < prop->count_enums; i++) { > - if (prop->enums[i].value == prop_value) { > - enum_name = prop->enums[i].name; > - break; > - } > - } > - igt_assert(enum_name); > - > - if (strcmp(enum_name, "Overlay") == 0) > - type = PLANE_OVERLAY; > - else if (strcmp(enum_name, "Primary") == 0) > - type = PLANE_PRIMARY; > - else if (strcmp(enum_name, "Cursor") == 0) > - type = PLANE_CURSOR; > - else > - igt_assert(0); > - > - drmModeFreeProperty(prop); > - > - return type; > -} > - > -static void test_one_plane(bool dpms, uint32_t plane_id, > - enum plane_type plane_type) > -{ > - int rc; > - uint32_t plane_format, plane_w, plane_h; > - uint32_t crtc_id; > - struct igt_fb plane_fb1, plane_fb2; > - int32_t crtc_x = 0, crtc_y = 0; > - uint64_t modifier; > - > - disable_all_screens_and_wait(&ms_data); > - > - crtc_id = default_mode_params->crtc_id; > - > - switch (plane_type) { > - case PLANE_OVERLAY: > - plane_format = DRM_FORMAT_XRGB8888; > - plane_w = 64; > - plane_h = 64; > - modifier = I915_FORMAT_MOD_X_TILED; > - break; > - case PLANE_PRIMARY: > - plane_format = DRM_FORMAT_XRGB8888; > - plane_w = default_mode_params->mode->hdisplay; > - plane_h = default_mode_params->mode->vdisplay; > - modifier = I915_FORMAT_MOD_X_TILED; > - break; > - case PLANE_CURSOR: > - plane_format = DRM_FORMAT_ARGB8888; > - plane_w = 64; > - plane_h = 64; > - modifier = DRM_FORMAT_MOD_LINEAR; > - break; > - default: > - igt_assert(0); > - break; > - } > - > - igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, > - &plane_fb1); > - igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, > - &plane_fb2); > - fill_igt_fb(&plane_fb1, 0xFF00FFFF); > - fill_igt_fb(&plane_fb2, 0xFF00FF00); > - > - set_mode_for_params_and_wait(default_mode_params); > - > - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, > - 0, 0, plane_fb1.width, plane_fb1.height, > - 0 << 16, 0 << 16, plane_fb1.width << 16, > - plane_fb1.height << 16); > - igt_assert_eq(rc, 0); > - > - disable_or_dpms_all_screens_and_wait(&ms_data, dpms); > - > - /* Just move the plane around. */ > - if (plane_type != PLANE_PRIMARY) { > - crtc_x++; > - crtc_y++; > - } > - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, > - crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, > - 0 << 16, 0 << 16, plane_fb1.width << 16, > - plane_fb1.height << 16); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Unset, then change the plane. */ > - rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb2.fb_id, 0, > - crtc_x, crtc_y, plane_fb2.width, plane_fb2.height, > - 0 << 16, 0 << 16, plane_fb2.width << 16, > - plane_fb2.height << 16); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Now change the plane without unsetting first. */ > - rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, > - crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, > - 0 << 16, 0 << 16, plane_fb1.width << 16, > - plane_fb1.height << 16); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > - > - /* Make sure nothing remains for the other tests. */ > - rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); > - igt_assert_eq(rc, 0); > - igt_assert(wait_for_suspended()); > -} > - > -/* This one also triggered WARNs on our driver at some point in time. */ > -static void planes_subtest(bool universal, bool dpms) > -{ > - int i, crtc_idx; > - drmModePlaneResPtr planes; > - > - igt_require(default_mode_params); > - crtc_idx = kmstest_get_crtc_idx(ms_data.res, > - default_mode_params->crtc_id); > - > - igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, > - universal), 0); > - > - planes = drmModeGetPlaneResources(drm_fd); > - for (i = 0; i < planes->count_planes; i++) { > - drmModePlanePtr plane; > - > - plane = drmModeGetPlane(drm_fd, planes->planes[i]); > - igt_assert(plane); > - > - if (plane->possible_crtcs & (1 << crtc_idx)) { > - enum plane_type type; > - > - type = universal ? get_plane_type(plane->plane_id) : > - PLANE_OVERLAY; > - igt_dynamic_f("plane-%d", plane->plane_id) > - test_one_plane(dpms, plane->plane_id, type); > - } > - drmModeFreePlane(plane); > - } > - drmModeFreePlaneResources(planes); > - > - igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, > - 1), 0); > -} > - > -static void pm_test_tiling(void) > -{ > - uint32_t *handles; > - uint8_t **gem_bufs; > - > - int max_gem_objs = 0; > - uint8_t off_bit = 14; > - uint32_t gtt_obj_max_size = (256 * 1024); > - > - uint32_t i, j, k, tiling_modes[3] = { > - I915_TILING_NONE, > - I915_TILING_X, > - I915_TILING_Y, > - }; > - uint32_t ti, sw; > - > - /* default stride value */ > - uint32_t stride = 512; > - > - /* calculate how many objects we can map */ > - for (i = 1 << off_bit; i <= gtt_obj_max_size; i <<= 1, max_gem_objs++) > - ; > - > - gem_bufs = calloc(max_gem_objs, sizeof(*gem_bufs)); > - handles = calloc(max_gem_objs, sizeof(*handles)); > - > - /* try to set different tiling for each handle */ > - for (i = 0; i < ARRAY_SIZE(tiling_modes); i++) { > - > - for (j = 0, k = 1 << off_bit; > - k <= gtt_obj_max_size; k <<= 1, j++) { > - handles[j] = gem_create(drm_fd, k); > - gem_bufs[j] = gem_mmap__gtt(drm_fd, handles[j], > - k, PROT_WRITE); > - memset(gem_bufs[j], 0x0, k); > - } > - > - disable_all_screens_and_wait(&ms_data); > - > - for (j = 0; j < max_gem_objs; j++) { > - gem_set_tiling(drm_fd, handles[j], > - tiling_modes[i], stride); > - gem_get_tiling(drm_fd, handles[j], &ti, &sw); > - igt_assert(tiling_modes[i] == ti); > - } > - > - enable_one_screen_and_wait(&ms_data); > - > - for (j = 0, k = 1 << off_bit; > - k <= gtt_obj_max_size; k <<= 1, j++) { > - igt_assert(munmap(gem_bufs[j], k) == 0); > - gem_close(drm_fd, handles[j]); > - } > - } > - > - free(gem_bufs); > - free(handles); > -} > - > -static void pm_test_caching(void) > -{ > - uint32_t handle; > - uint8_t *gem_buf; > - > - uint32_t i; > - uint32_t default_cache_level; > - uint32_t gtt_obj_max_size = (16 * 1024); > - uint32_t cache_levels[3] = { > - I915_CACHING_NONE, > - I915_CACHING_CACHED, /* LLC caching */ > - I915_CACHING_DISPLAY, /* eDRAM caching */ > - }; > - > - disable_all_screens(&ms_data); > - > - handle = gem_create(drm_fd, gtt_obj_max_size); > - default_cache_level = gem_get_caching(drm_fd, handle); > - gem_buf = gem_mmap__gtt(drm_fd, handle, gtt_obj_max_size, PROT_WRITE); > - > - for (i = 0; i < ARRAY_SIZE(cache_levels); i++) { > - igt_assert(wait_for_suspended()); > - if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) > - gem_set_caching(drm_fd, handle, default_cache_level); > - /* Ensure we bind the vma into the GGTT */ > - memset(gem_buf, 16 << i, gtt_obj_max_size); > - > - /* Now try changing the cache-level on the bound object. > - * This will either unlikely unbind the object from the GGTT, > - * or more likely just change the PTEs inside the GGTT. Either > - * way the driver must take the rpm wakelock around the GSM > - * access. > - */ > - igt_debug("Setting cache level %u\n", cache_levels[i]); > - igt_assert(wait_for_suspended()); > - if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) > - gem_set_caching(drm_fd, handle, cache_levels[i]); > - } > - > - igt_assert(munmap(gem_buf, gtt_obj_max_size) == 0); > - gem_close(drm_fd, handle); > -} > - > -static void fences_subtest(bool dpms) > -{ > - int i; > - uint32_t *buf_ptr; > - uint32_t tiling = false, swizzle; > - struct modeset_params params; > - > - disable_all_screens_and_wait(&ms_data); > - > - igt_require(default_mode_params); > - params.crtc_id = default_mode_params->crtc_id; > - params.connector_id = default_mode_params->connector_id; > - params.mode = default_mode_params->mode; > - igt_create_fb(drm_fd, params.mode->hdisplay, params.mode->vdisplay, > - DRM_FORMAT_XRGB8888, I915_FORMAT_MOD_X_TILED, > - ¶ms.fb); > - > - /* Even though we passed "true" as the tiling argument, double-check > - * that the fb is really tiled. */ > - gem_get_tiling(drm_fd, params.fb.gem_handle, &tiling, &swizzle); > - igt_assert(tiling); > - > - buf_ptr = gem_mmap__gtt(drm_fd, params.fb.gem_handle, params.fb.size, > - PROT_WRITE | PROT_READ); > - for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) > - buf_ptr[i] = i; > - > - set_mode_for_params_and_wait(¶ms); > - > - disable_or_dpms_all_screens_and_wait(&ms_data, dpms); > - > - for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) > - igt_assert_eq(buf_ptr[i], i); > - igt_assert(wait_for_suspended()); > - > - if (dpms) { > - drmModeConnectorPtr c = NULL; > - > - for (i = 0; i < ms_data.res->count_connectors; i++) > - if (ms_data.connectors[i]->connector_id == > - params.connector_id) > - c = ms_data.connectors[i]; > - igt_assert(c); > - > - kmstest_set_connector_dpms(drm_fd, c, DRM_MODE_DPMS_ON); > - } else { > - set_mode_for_params(¶ms); > - } > - igt_assert(wait_for_active()); > - > - for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) > - igt_assert_eq(buf_ptr[i], i); > - > - igt_assert(munmap(buf_ptr, params.fb.size) == 0); > -} > - > int rounds = 10; > bool stay = false; > > @@ -2420,11 +1375,6 @@ static struct option long_options[] = { > > igt_main_args("", long_options, help_str, opt_handler, NULL) > { > - igt_subtest("basic-rte") { > - igt_assert(setup_environment(true)); > - basic_subtest(); > - } > - > /* Skip instead of failing in case the machine is not prepared to reach > * PC8+. We don't want bug reports from cases where the machine is just > * not properly configured. */ > @@ -2436,22 +1386,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > igt_subtest("stay") > stay_subtest(); > > - /* Essential things */ > - igt_subtest("drm-resources-equal") > - drm_resources_equal_subtest(); > - igt_subtest("basic-pci-d3-state") > - pci_d3_state_subtest(); > - > - /* Basic modeset */ > - igt_subtest("modeset-lpsp") > - modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS); > - igt_subtest("modeset-non-lpsp") > - modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS); > - igt_subtest("dpms-lpsp") > - modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS | USE_DPMS); > - igt_subtest("dpms-non-lpsp") > - modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS | USE_DPMS); > - > /* GEM */ > igt_subtest_with_dynamic("gem-mmap-type") { > for_each_mmap_offset_type(drm_fd, t) { > @@ -2477,60 +1411,15 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > gem_evict_pwrite_subtest(); > } > > - /* Planes and cursors */ > - igt_subtest("cursor") > - cursor_subtest(false); > - igt_subtest("cursor-dpms") > - cursor_subtest(true); > - igt_subtest_with_dynamic("legacy-planes") > - planes_subtest(false, false); > - igt_subtest_with_dynamic("legacy-planes-dpms") > - planes_subtest(false, true); > - igt_subtest_with_dynamic("universal-planes") > - planes_subtest(true, false); > - igt_subtest_with_dynamic("universal-planes-dpms") > - planes_subtest(true, true); > - > /* Misc */ > igt_subtest("reg-read-ioctl") > reg_read_ioctl_subtest(); > - igt_subtest("i2c") > - i2c_subtest(); > - igt_subtest("pc8-residency") > - pc8_residency_subtest(); > igt_subtest("debugfs-read") > debugfs_read_subtest(); > igt_subtest("debugfs-forcewake-user") > debugfs_forcewake_user_subtest(); > igt_subtest("sysfs-read") > sysfs_read_subtest(); > - igt_subtest("dpms-mode-unset-lpsp") > - dpms_mode_unset_subtest(SCREEN_TYPE_LPSP); > - igt_subtest("dpms-mode-unset-non-lpsp") > - dpms_mode_unset_subtest(SCREEN_TYPE_NON_LPSP); > - igt_subtest("fences") { > - gem_require_mappable_ggtt(drm_fd); > - fences_subtest(false); > - } > - igt_subtest("fences-dpms") { > - gem_require_mappable_ggtt(drm_fd); > - fences_subtest(true); > - } > - > - /* Modeset stress */ > - igt_subtest("modeset-lpsp-stress") > - modeset_subtest(SCREEN_TYPE_LPSP, rounds, WAIT_STATUS); > - igt_subtest("modeset-non-lpsp-stress") > - modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, WAIT_STATUS); > - igt_subtest("modeset-lpsp-stress-no-wait") > - modeset_subtest(SCREEN_TYPE_LPSP, rounds, DONT_WAIT); > - igt_subtest("modeset-non-lpsp-stress-no-wait") > - modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, DONT_WAIT); > - igt_subtest("modeset-pc8-residency-stress") > - modeset_subtest(SCREEN_TYPE_ANY, rounds, WAIT_PC8_RES); > - igt_subtest("modeset-stress-extra-wait") > - modeset_subtest(SCREEN_TYPE_ANY, rounds, > - WAIT_STATUS | WAIT_EXTRA); > > /* System suspend */ > igt_subtest("system-suspend-devices") > @@ -2539,8 +1428,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > system_suspend_subtest(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE); > igt_subtest("system-suspend-execbuf") > system_suspend_execbuf_subtest(); > - igt_subtest("system-suspend-modeset") > - system_suspend_modeset_subtest(); > igt_subtest("system-hibernate-devices") > system_suspend_subtest(SUSPEND_STATE_DISK, > SUSPEND_TEST_DEVICES); > @@ -2562,16 +1449,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > igt_subtest("gem-execbuf-stress-pc8") > gem_execbuf_stress_subtest(rounds, WAIT_PC8_RES, 0); > > - /* power-wake reference tests */ > - igt_subtest("pm-tiling") { > - gem_require_mappable_ggtt(drm_fd); > - pm_test_tiling(); > - } > - igt_subtest("pm-caching") { > - gem_require_mappable_ggtt(drm_fd); > - pm_test_caching(); > - } > - > igt_fixture { > teardown_environment(true); > forcewake_put(&ms_data); > @@ -2600,8 +1477,6 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > igt_assert(setup_environment(true)); > pci_dev = igt_device_get_pci_device(drm_fd); > igt_assert(igt_wait(device_in_pci_d3(pci_dev), 2000, 100)); > - if (enable_one_screen_with_type(&ms_data, SCREEN_TYPE_ANY)) > - drm_resources_equal_subtest(); > teardown_environment(true); > > /* Remove our mmio_debugging module */ > diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c > new file mode 100644 > index 000000000..f3e51408d > --- /dev/null > +++ b/tests/intel/kms_pm_rpm.c > @@ -0,0 +1,1840 @@ > +/* > + * Copyright © 2013, 2015 Intel Corporation > + * > + * Permission is hereby granted, free of charge, to any person obtaining a > + * copy of this software and associated documentation files (the "Software"), > + * to deal in the Software without restriction, including without limitation > + * the rights to use, copy, modify, merge, publish, distribute, sublicense, > + * and/or sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following conditions: > + * > + * The above copyright notice and this permission notice (including the next > + * paragraph) shall be included in all copies or substantial portions of the > + * Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER > + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS > + * IN THE SOFTWARE. > + * > + * Authors: > + * Paulo Zanoni <paulo.r.zanoni@intel.com> > + * > + */ > + > +#if defined(__linux__) > +#include <linux/i2c.h> > +#include <linux/i2c-dev.h> > +#elif defined(__FreeBSD__) > +#include <dev/iicbus/iic.h> > +#define addr slave > +#endif > + > +#include <dirent.h> > + > +#include "config.h" > +#include "i915/gem.h" > +#include "i915/gem_create.h" > +#include "igt.h" > +#include "igt_debugfs.h" > +#include "igt_device.h" > +#include "igt_edid.h" > +#include "igt_kmod.h" > +#include "igt_sysfs.h" > +#include "intel_blt.h" > + > +/** > + * TEST: kms pm rpm > + * Category: Display > + * Description: Test to validate Runtime PM > + * > + * SUBTEST: basic-pci-d3-state > + * Description: Validate PCI device D3 state enter-exit scenario using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: basic-rte > + * Description: Basic display enablement test > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: cursor > + * Description: Validate cursor movements along with suspends using runtime PM > + * Driver requirement: i915 > + * Functionality: cursor, pm_rpm, suspend > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: cursor-dpms > + * Description: Validate cursor movements along with dpms using runtime PM > + * Driver requirement: i915 > + * Functionality: cursor, dpms, pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: dpms-lpsp > + * Description: Validate basic modeset with dpms on lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: dpms, pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: dpms-mode-unset-lpsp > + * Description: Validate basic modeset (negative) with dpms on lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: dpms, pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: dpms-mode-unset-non-lpsp > + * Description: Validate basic modeset (negative) with dpms on non-lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: dpms, pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: dpms-non-lpsp > + * Description: Validate basic modeset with dpms on non-lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: dpms, pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: drm-resources-equal > + * Description: Validate the DRM resources reported by the IOCTLs are still the same. > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: fences > + * Description: Sanity test for drm fences. > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: fences-dpms > + * Description: Sanity test for drm fences with dpms. > + * Driver requirement: i915 > + * Functionality: dpms, pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: i2c > + * Description: Validate exposed edids using raw I2C read method. > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: legacy-planes > + * Description: Validate legacy plane (set/unset/change). > + * Driver requirement: i915 > + * Functionality: pm_rpm, plane > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: legacy-planes-dpms > + * Description: Validate legacy plane (set/unset/change) with dpms. > + * Driver requirement: i915 > + * Functionality: pm_rpm, plane > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-lpsp > + * Description: Validate basic modeset on lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-lpsp-stress > + * Description: Stress test with modeset on lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-lpsp-stress-no-wait > + * Description: Stress test with modeset (no wait)on lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-non-lpsp > + * Description: Validate basic modeset on non-lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-non-lpsp-stress > + * Description: Stress test with modeset on non-lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-non-lpsp-stress-no-wait > + * Description: Stress test with modeset (no wait) on non-lpsp screen using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-pc8-residency-stress > + * Description: Stress test with modeset (pc8 residency) using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: modeset-stress-extra-wait > + * Description: Stress test with modeset (extra wait) using runtime PM > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: pc8-residency > + * Description: Basic sanity test for PC8+ states > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: pm-caching > + * Description: Test to change different cache levels & check for rpm > + * Driver requirement: i915 > + * Functionality: pm_rpm > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: pm-tiling > + * Description: Test to change different tiling methods & check for rpm > + * Driver requirement: i915 > + * Functionality: pm_rpm, tiling > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: system-suspend-modeset > + * Description: Validate basic modeset with suspend > + * Driver requirement: i915 > + * Functionality: pm_rpm, suspend > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: universal-planes > + * Description: Validate universal plane (set/unset/change). > + * Driver requirement: i915 > + * Functionality: pm_rpm, plane > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: universal-planes-dpms > + * Description: Validate universal plane (set/unset/change) with dpms. > + * Driver requirement: i915 > + * Functionality: pm_rpm, plane > + * Mega feature: Display Power > + * Run type: FULL > + * Test category: functionality test > + */ > + > +#define MSR_PC8_RES 0x630 > +#define MSR_PC9_RES 0x631 > +#define MSR_PC10_RES 0x632 > + > +#define MAX_CONNECTORS 32 > +#define MAX_ENCODERS 32 > +#define MAX_CRTCS 16 > + > +#define WIDTH 64 > +#define HEIGHT 64 > +#define STRIDE (WIDTH) > +#define SIZE (HEIGHT * STRIDE) > + > +enum pc8_status { > + PC8_ENABLED, > + PC8_DISABLED > +}; > + > +enum screen_type { > + SCREEN_TYPE_LPSP, > + SCREEN_TYPE_NON_LPSP, > + SCREEN_TYPE_ANY, > +}; > + > +enum plane_type { > + PLANE_OVERLAY, > + PLANE_PRIMARY, > + PLANE_CURSOR, > +}; > + > +/* Wait flags */ > +#define DONT_WAIT 0 > +#define WAIT_STATUS 1 > +#define WAIT_PC8_RES 2 > +#define WAIT_EXTRA 4 > +#define USE_DPMS 8 > + > +int drm_fd, msr_fd, pc8_status_fd; > +int debugfs; > +bool has_runtime_pm, has_pc8; > +struct mode_set_data ms_data; > + > +/* Stuff used when creating FBs and mode setting. */ > +struct mode_set_data { > + drmModeResPtr res; > + drmModeConnectorPtr connectors[MAX_CONNECTORS]; > + drmModePropertyBlobPtr edids[MAX_CONNECTORS]; > + igt_display_t display; > + > + uint32_t devid; > + int fw_fd; > +}; > + > +/* Stuff we query at different times so we can compare. */ > +struct compare_data { > + drmModeResPtr res; > + drmModeEncoderPtr encoders[MAX_ENCODERS]; > + drmModeConnectorPtr connectors[MAX_CONNECTORS]; > + drmModeCrtcPtr crtcs[MAX_CRTCS]; > + drmModePropertyBlobPtr edids[MAX_CONNECTORS]; > +}; > + > +struct modeset_params { > + uint32_t crtc_id; > + uint32_t connector_id; > + struct igt_fb fb; > + drmModeModeInfoPtr mode; > +}; > + > +struct data_t { > + int width; > + int height; > + uint32_t region; > +}; > + > +struct modeset_params lpsp_mode_params; > +struct modeset_params non_lpsp_mode_params; > +struct modeset_params *default_mode_params; > + > +static int modprobe(const char *driver) > +{ > + return igt_kmod_load(driver, NULL); > +} > + > +/* If the read fails, then the machine doesn't support PC8+ residencies. */ > +static bool supports_pc8_plus_residencies(void) > +{ > + int rc; > + uint64_t val; > + > + rc = pread(msr_fd, &val, sizeof(uint64_t), MSR_PC8_RES); > + if (rc != sizeof(val)) > + return false; > + rc = pread(msr_fd, &val, sizeof(uint64_t), MSR_PC9_RES); > + if (rc != sizeof(val)) > + return false; > + rc = pread(msr_fd, &val, sizeof(uint64_t), MSR_PC10_RES); > + if (rc != sizeof(val)) > + return false; > + > + return igt_pm_pc8_plus_residencies_enabled(msr_fd); > +} > + > +static uint64_t get_residency(uint32_t type) > +{ > + int rc; > + uint64_t ret; > + > + rc = pread(msr_fd, &ret, sizeof(uint64_t), type); > + igt_assert(rc == sizeof(ret)); > + > + return ret; > +} > + > +static bool pc8_plus_residency_changed(unsigned int timeout_sec) > +{ > + uint64_t res_pc8, res_pc9, res_pc10; > + > + res_pc8 = get_residency(MSR_PC8_RES); > + res_pc9 = get_residency(MSR_PC9_RES); > + res_pc10 = get_residency(MSR_PC10_RES); > + > + return igt_wait(res_pc8 != get_residency(MSR_PC8_RES) || > + res_pc9 != get_residency(MSR_PC9_RES) || > + res_pc10 != get_residency(MSR_PC10_RES), > + timeout_sec * 1000, 100); > +} > + > +static enum pc8_status get_pc8_status(void) > +{ > + ssize_t n_read; > + char buf[150]; /* The whole file has less than 100 chars. */ > + > + lseek(pc8_status_fd, 0, SEEK_SET); > + n_read = read(pc8_status_fd, buf, ARRAY_SIZE(buf)); > + igt_assert(n_read >= 0); > + buf[n_read] = '\0'; > + > + if (strstr(buf, "\nEnabled: yes\n")) > + return PC8_ENABLED; > + else > + return PC8_DISABLED; > +} > + > +static bool wait_for_pc8_status(enum pc8_status status) > +{ > + return igt_wait(get_pc8_status() == status, 10000, 100); > +} > + > +static bool wait_for_suspended(void) > +{ > + if (has_pc8 && !has_runtime_pm) { > + return wait_for_pc8_status(PC8_ENABLED); > + } else { > + bool suspended = igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED); > + > + if (!suspended) { > + /* Dump runtime pm status even if test skips */ > + __igt_debugfs_dump(drm_fd, "i915_runtime_pm_status", IGT_LOG_INFO); > + } > + > + return suspended; > + } > +} > + > +static bool wait_for_active(void) > +{ > + if (has_pc8 && !has_runtime_pm) > + return wait_for_pc8_status(PC8_DISABLED); > + else > + return igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_ACTIVE); > +} > + > +static void disable_all_screens_dpms(struct mode_set_data *data) > +{ > + if (!data->res) > + return; > + > + for (int i = 0; i < data->res->count_connectors; i++) { > + drmModeConnectorPtr c = data->connectors[i]; > + > + kmstest_set_connector_dpms(drm_fd, c, DRM_MODE_DPMS_OFF); > + } > +} > + > +static void disable_all_screens(struct mode_set_data *data) > +{ > + if (data->res) > + kmstest_unset_all_crtcs(drm_fd, data->res); > +} > + > +#define disable_all_screens_and_wait(data) do { \ > + disable_all_screens(data); \ > + igt_assert(wait_for_suspended()); \ > +} while (0) > + > +static void disable_or_dpms_all_screens(struct mode_set_data *data, bool dpms) > +{ > + if (dpms) > + disable_all_screens_dpms(&ms_data); > + else > + disable_all_screens(&ms_data); > +} > + > +#define disable_or_dpms_all_screens_and_wait(data, dpms) do { \ > + disable_or_dpms_all_screens((data), (dpms)); \ > + igt_assert(wait_for_suspended()); \ > +} while (0) > + > +static bool init_modeset_params_for_type(struct mode_set_data *data, > + struct modeset_params *params, > + enum screen_type type) > +{ > + drmModeConnectorPtr connector = NULL; > + drmModeModeInfoPtr mode = NULL; > + igt_output_t *output = NULL; > + igt_display_t *display = &data->display; > + > + if (!data->res || !display) > + return false; > + > + for_each_connected_output(display, output) { > + drmModeConnectorPtr c = output->config.connector; > + > + if (type == SCREEN_TYPE_LPSP && > + !i915_output_is_lpsp_capable(drm_fd, output)) > + continue; > + > + if (type == SCREEN_TYPE_NON_LPSP && > + i915_output_is_lpsp_capable(drm_fd, output)) > + continue; > + > + connector = c; > + mode = igt_output_get_mode(output); > + break; > + } > + > + if (!connector || !mode) > + return false; > + > + igt_create_pattern_fb(drm_fd, mode->hdisplay, mode->vdisplay, > + DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR, > + ¶ms->fb); > + > + params->crtc_id = kmstest_find_crtc_for_connector(drm_fd, data->res, > + connector, 0); > + params->connector_id = connector->connector_id; > + params->mode = mode; > + > + return true; > +} > + > +static void init_modeset_cached_params(struct mode_set_data *data) > +{ > + bool lpsp, non_lpsp; > + > + lpsp = init_modeset_params_for_type(data, &lpsp_mode_params, > + SCREEN_TYPE_LPSP); > + non_lpsp = init_modeset_params_for_type(data, &non_lpsp_mode_params, > + SCREEN_TYPE_NON_LPSP); > + > + if (lpsp) > + default_mode_params = &lpsp_mode_params; > + else if (non_lpsp) > + default_mode_params = &non_lpsp_mode_params; > + else > + default_mode_params = NULL; > +} > + > +static bool set_mode_for_params(struct modeset_params *params) > +{ > + int rc; > + > + rc = drmModeSetCrtc(drm_fd, params->crtc_id, params->fb.fb_id, 0, 0, > + ¶ms->connector_id, 1, params->mode); > + return (rc == 0); > +} > + > +#define set_mode_for_params_and_wait(params) do { \ > + igt_assert(set_mode_for_params(params)); \ > + igt_assert(wait_for_active()); \ > +} while (0) > + > +static bool enable_one_screen_with_type(struct mode_set_data *data, > + enum screen_type type) > +{ > + struct modeset_params *params = NULL; > + > + switch (type) { > + case SCREEN_TYPE_ANY: > + params = default_mode_params; > + break; > + case SCREEN_TYPE_LPSP: > + params = &lpsp_mode_params; > + break; > + case SCREEN_TYPE_NON_LPSP: > + params = &non_lpsp_mode_params; > + break; > + default: > + igt_assert(0); > + } > + > + if (!params) > + return false; > + > + return set_mode_for_params(params); > +} > + > +static void enable_one_screen(struct mode_set_data *data) > +{ > + /* SKIP if there are no connected screens. */ > + igt_require(enable_one_screen_with_type(data, SCREEN_TYPE_ANY)); > +} > + > +#define enable_one_screen_and_wait(data) do { \ > + enable_one_screen(data); \ > + igt_assert(wait_for_active()); \ > +} while (0) > + > +static void > +enable_one_screen_or_forcewake_get_and_wait(struct mode_set_data *data) > +{ > + bool headless; > + > + /* Try to resume by enabling any type of display */ > + headless = !enable_one_screen_with_type(data, SCREEN_TYPE_ANY); > + > + /* > + * Get User Forcewake to trigger rpm resume in case of headless > + * as well as no display being connected. > + */ > + if (headless) { > + data->fw_fd = igt_open_forcewake_handle(drm_fd); > + igt_require(data->fw_fd > 0); > + } > + igt_assert(wait_for_active()); > +} > + > +static void forcewake_put(struct mode_set_data *data) > +{ > + if (data->fw_fd <= 0) > + return; > + > + data->fw_fd = close(data->fw_fd); > + igt_assert_eq(data->fw_fd, 0); > +} > + > +static drmModePropertyBlobPtr get_connector_edid(drmModeConnectorPtr connector, > + int index) > +{ > + bool found; > + uint64_t prop_value; > + drmModePropertyPtr prop; > + drmModePropertyBlobPtr blob = NULL; > + > + found = kmstest_get_property(drm_fd, connector->connector_id, > + DRM_MODE_OBJECT_CONNECTOR, "EDID", > + NULL, &prop_value, &prop); > + > + if (found) { > + igt_assert(prop->flags & DRM_MODE_PROP_BLOB); > + igt_assert(prop->count_blobs == 0); > + > + blob = drmModeGetPropertyBlob(drm_fd, prop_value); > + > + drmModeFreeProperty(prop); > + } > + > + return blob; > +} > + > +static void init_mode_set_data(struct mode_set_data *data) > +{ > + data->res = drmModeGetResources(drm_fd); > + if (data->res) { > + igt_assert(data->res->count_connectors <= MAX_CONNECTORS); > + for (int i = 0; i < data->res->count_connectors; i++) { > + data->connectors[i] = > + drmModeGetConnector(drm_fd, > + data->res->connectors[i]); > + data->edids[i] = get_connector_edid(data->connectors[i], i); > + } > + > + kmstest_set_vt_graphics_mode(); > + igt_display_require(&data->display, drm_fd); > + } > + > + init_modeset_cached_params(&ms_data); > +} > + > +static void fini_mode_set_data(struct mode_set_data *data) > +{ > + if (data->res) { > + for (int i = 0; i < data->res->count_connectors; i++) { > + drmModeFreeConnector(data->connectors[i]); > + drmModeFreePropertyBlob(data->edids[i]); > + } > + drmModeFreeResources(data->res); > + igt_display_fini(&data->display); > + } > +} > + > +static void get_drm_info(struct compare_data *data) > +{ > + int i; > + > + data->res = drmModeGetResources(drm_fd); > + if (!data->res) > + return; > + > + igt_assert(data->res->count_connectors <= MAX_CONNECTORS); > + igt_assert(data->res->count_encoders <= MAX_ENCODERS); > + igt_assert(data->res->count_crtcs <= MAX_CRTCS); > + > + for (i = 0; i < data->res->count_connectors; i++) { > + /* Don't use GetConnectorCurrent, we want to force a reprobe > + * here. */ > + data->connectors[i] = drmModeGetConnector(drm_fd, > + data->res->connectors[i]); > + data->edids[i] = get_connector_edid(data->connectors[i], i); > + } > + for (i = 0; i < data->res->count_encoders; i++) > + data->encoders[i] = drmModeGetEncoder(drm_fd, > + data->res->encoders[i]); > + for (i = 0; i < data->res->count_crtcs; i++) > + data->crtcs[i] = drmModeGetCrtc(drm_fd, data->res->crtcs[i]); > +} > + > +static void free_drm_info(struct compare_data *data) > +{ > + int i; > + > + if (!data->res) > + return; > + > + for (i = 0; i < data->res->count_connectors; i++) { > + drmModeFreeConnector(data->connectors[i]); > + drmModeFreePropertyBlob(data->edids[i]); > + } > + for (i = 0; i < data->res->count_encoders; i++) > + drmModeFreeEncoder(data->encoders[i]); > + for (i = 0; i < data->res->count_crtcs; i++) > + drmModeFreeCrtc(data->crtcs[i]); > + > + drmModeFreeResources(data->res); > +} > + > +#define COMPARE(d1, d2, data) igt_assert_eq(d1->data, d2->data) > +#define COMPARE_ARRAY(d1, d2, size, data) do { \ > + for (i = 0; i < size; i++) \ > + igt_assert(d1->data[i] == d2->data[i]); \ > +} while (0) > + > +static void assert_drm_resources_equal(struct compare_data *d1, > + struct compare_data *d2) > +{ > + COMPARE(d1, d2, res->count_connectors); > + COMPARE(d1, d2, res->count_encoders); > + COMPARE(d1, d2, res->count_crtcs); > + COMPARE(d1, d2, res->min_width); > + COMPARE(d1, d2, res->max_width); > + COMPARE(d1, d2, res->min_height); > + COMPARE(d1, d2, res->max_height); > +} > + > +static void assert_modes_equal(drmModeModeInfoPtr m1, drmModeModeInfoPtr m2) > +{ > + COMPARE(m1, m2, clock); > + COMPARE(m1, m2, hdisplay); > + COMPARE(m1, m2, hsync_start); > + COMPARE(m1, m2, hsync_end); > + COMPARE(m1, m2, htotal); > + COMPARE(m1, m2, hskew); > + COMPARE(m1, m2, vdisplay); > + COMPARE(m1, m2, vsync_start); > + COMPARE(m1, m2, vsync_end); > + COMPARE(m1, m2, vtotal); > + COMPARE(m1, m2, vscan); > + COMPARE(m1, m2, vrefresh); > + COMPARE(m1, m2, flags); > + COMPARE(m1, m2, type); > + igt_assert(strcmp(m1->name, m2->name) == 0); > +} > + > +static void assert_drm_connectors_equal(drmModeConnectorPtr c1, > + drmModeConnectorPtr c2) > +{ > + int i; > + > + COMPARE(c1, c2, connector_id); > + COMPARE(c1, c2, connector_type); > + COMPARE(c1, c2, connector_type_id); > + COMPARE(c1, c2, mmWidth); > + COMPARE(c1, c2, mmHeight); > + COMPARE(c1, c2, count_modes); > + COMPARE(c1, c2, count_props); > + COMPARE(c1, c2, count_encoders); > + COMPARE_ARRAY(c1, c2, c1->count_props, props); > + COMPARE_ARRAY(c1, c2, c1->count_encoders, encoders); > + > + for (i = 0; i < c1->count_modes; i++) > + assert_modes_equal(&c1->modes[0], &c2->modes[0]); > +} > + > +static void assert_drm_encoders_equal(drmModeEncoderPtr e1, > + drmModeEncoderPtr e2) > +{ > + COMPARE(e1, e2, encoder_id); > + COMPARE(e1, e2, encoder_type); > + COMPARE(e1, e2, possible_crtcs); > + COMPARE(e1, e2, possible_clones); > +} > + > +static void assert_drm_crtcs_equal(drmModeCrtcPtr c1, drmModeCrtcPtr c2) > +{ > + COMPARE(c1, c2, crtc_id); > +} > + > +static void assert_drm_edids_equal(drmModePropertyBlobPtr e1, > + drmModePropertyBlobPtr e2) > +{ > + if (!e1 && !e2) > + return; > + igt_assert(e1 && e2); > + > + COMPARE(e1, e2, length); > + > + igt_assert(memcmp(e1->data, e2->data, e1->length) == 0); > +} > + > +static void assert_drm_infos_equal(struct compare_data *d1, > + struct compare_data *d2) > +{ > + int i; > + > + if (d1->res == d2->res) > + return; > + > + igt_assert(d1->res); > + igt_assert(d2->res); > + > + assert_drm_resources_equal(d1, d2); > + > + for (i = 0; i < d1->res->count_connectors; i++) { > + assert_drm_connectors_equal(d1->connectors[i], > + d2->connectors[i]); > + assert_drm_edids_equal(d1->edids[i], d2->edids[i]); > + } > + > + for (i = 0; i < d1->res->count_encoders; i++) > + assert_drm_encoders_equal(d1->encoders[i], d2->encoders[i]); > + > + for (i = 0; i < d1->res->count_crtcs; i++) > + assert_drm_crtcs_equal(d1->crtcs[i], d2->crtcs[i]); > +} > + > +static void setup_pc8(void) > +{ > + has_pc8 = false; > + > + /* Only Haswell supports the PC8 feature. */ > + if (!IS_HASWELL(ms_data.devid) && !IS_BROADWELL(ms_data.devid)) > + return; > + > + /* Make sure our Kernel supports MSR and the module is loaded. */ > + igt_require(modprobe("msr") == 0); > + > + msr_fd = open("/dev/cpu/0/msr", O_RDONLY); > + igt_assert_f(msr_fd >= 0, > + "Can't open /dev/cpu/0/msr.\n"); > + > + /* Non-ULT machines don't support PC8+. */ > + if (!supports_pc8_plus_residencies()) > + return; > + > + pc8_status_fd = openat(debugfs, "i915_pc8_status", O_RDONLY); > + if (pc8_status_fd == -1) > + pc8_status_fd = openat(debugfs, > + "i915_runtime_pm_status", O_RDONLY); > + igt_assert_f(pc8_status_fd >= 0, > + "Can't open /sys/kernel/debug/dri/0/i915_runtime_pm_status"); > + > + has_pc8 = true; > +} > + > +static void dump_file(int dir, const char *filename) > +{ > + char *contents; > + > + contents = igt_sysfs_get(dir, filename); > + if (!contents) > + return; > + > + igt_info("%s:\n%s\n", filename, contents); > + free(contents); > +} > + > +static bool setup_environment(void) > +{ > + if (has_runtime_pm) > + goto out; > + > + drm_fd = __drm_open_driver(DRIVER_INTEL); > + igt_require(drm_fd != -1); > + igt_device_set_master(drm_fd); > + > + debugfs = igt_debugfs_dir(drm_fd); > + igt_require(debugfs != -1); > + > + ms_data.devid = intel_get_drm_devid(drm_fd); > + > + init_mode_set_data(&ms_data); > + > + igt_pm_enable_sata_link_power_management(); > + > + has_runtime_pm = igt_setup_runtime_pm(drm_fd); > + setup_pc8(); > + > + igt_info("Runtime PM support: %d\n", has_runtime_pm); > + igt_info("PC8 residency support: %d\n", has_pc8); > + igt_require(has_runtime_pm); > + igt_require(igt_pm_dmc_loaded(debugfs)); > + > +out: > + disable_all_screens(&ms_data); > + dump_file(debugfs, "i915_runtime_pm_status"); > + > + return wait_for_suspended(); > +} > + > +static void teardown_environment(void) > +{ > + close(msr_fd); > + if (has_pc8) > + close(pc8_status_fd); > + > + igt_restore_runtime_pm(); > + > + igt_pm_restore_sata_link_power_management(); > + > + fini_mode_set_data(&ms_data); > + > + close(debugfs); > + drm_close_driver(drm_fd); > + > + has_runtime_pm = false; > +} > + > +static void pc8_residency_subtest(void) > +{ > + igt_require(has_pc8); > + > + /* Make sure PC8+ residencies move! */ > + disable_all_screens(&ms_data); > + igt_assert_f(pc8_plus_residency_changed(30), > + "Machine is not reaching PC8+ states, please check its " > + "configuration.\n"); > + > + /* Make sure PC8+ residencies stop! */ > + enable_one_screen(&ms_data); > + igt_assert_f(!pc8_plus_residency_changed(10), > + "PC8+ residency didn't stop with screen enabled.\n"); > +} > + > +static void basic_subtest(void) > +{ > + disable_all_screens_and_wait(&ms_data); > + > + enable_one_screen_or_forcewake_get_and_wait(&ms_data); > + forcewake_put(&ms_data); > + > + /* XXX Also we can test wake up via exec nop */ > +} > + > +static void modeset_subtest(enum screen_type type, int rounds, int wait_flags) > +{ > + int i; > + > + if (wait_flags & WAIT_PC8_RES) > + igt_require(has_pc8); > + > + if (wait_flags & WAIT_EXTRA) > + rounds /= 2; > + > + for (i = 0; i < rounds; i++) { > + if (wait_flags & USE_DPMS) > + disable_all_screens_dpms(&ms_data); > + else > + disable_all_screens(&ms_data); > + > + if (wait_flags & WAIT_STATUS) > + igt_assert(wait_for_suspended()); > + if (wait_flags & WAIT_PC8_RES) > + igt_assert(pc8_plus_residency_changed(30)); > + if (wait_flags & WAIT_EXTRA) > + sleep(5); > + > + /* If we skip this line it's because the type of screen we want > + * is not connected. */ > + igt_require(enable_one_screen_with_type(&ms_data, type)); > + if (wait_flags & WAIT_STATUS) > + igt_assert(wait_for_active()); > + if (wait_flags & WAIT_PC8_RES) > + igt_assert(!pc8_plus_residency_changed(5)); > + if (wait_flags & WAIT_EXTRA) > + sleep(5); > + } > +} > + > +/* Test of the DRM resources reported by the IOCTLs are still the same. This > + * ensures we still see the monitors with the same eyes. We get the EDIDs and > + * compare them, which ensures we use DP AUX or GMBUS depending on what's > + * connected. */ > +static void drm_resources_equal_subtest(void) > +{ > + struct compare_data pre_suspend, during_suspend, post_suspend; > + > + enable_one_screen_and_wait(&ms_data); > + get_drm_info(&pre_suspend); > + igt_assert(wait_for_active()); > + > + disable_all_screens_and_wait(&ms_data); > + get_drm_info(&during_suspend); > + igt_assert(wait_for_suspended()); > + > + enable_one_screen_and_wait(&ms_data); > + get_drm_info(&post_suspend); > + igt_assert(wait_for_active()); > + > + assert_drm_infos_equal(&pre_suspend, &during_suspend); > + assert_drm_infos_equal(&pre_suspend, &post_suspend); > + > + free_drm_info(&pre_suspend); > + free_drm_info(&during_suspend); > + free_drm_info(&post_suspend); > +} > + > +static bool find_i2c_path(const char *connector_name, > + char *i2c_path, size_t i2c_path_size) > +{ > + struct dirent *dirent; > + DIR *dir; > + int sysfs_card_fd = igt_sysfs_open(drm_fd); > + int connector_fd = -1; > + bool found_i2c_file = false; > + ssize_t r; > + > + dir = fdopendir(sysfs_card_fd); > + igt_assert(dir); > + > + while ((dirent = readdir(dir))) { > + /* Skip "cardx-" prefix */ > + char *dirname = strchr(dirent->d_name, '-'); > + if (dirname==NULL) > + continue; > + ++dirname; > + > + if (strcmp(dirname, connector_name) == 0) { > + connector_fd = openat(sysfs_card_fd, dirent->d_name, O_RDONLY); > + break; > + } > + } > + closedir(dir); > + > + if (connector_fd < 0) > + return false; > + > + /* try the standard "ddc" symlink first */ > + r = readlinkat(connector_fd, "ddc", i2c_path, i2c_path_size); > + if (r > 0 && r != i2c_path_size) { > + int num; > + > + i2c_path[r] = '\0'; > + > + if (sscanf(basename(i2c_path), "i2c-%d", &num) == 1) { > + snprintf(i2c_path, i2c_path_size, "/dev/i2c-%d", num); > + return true; > + } > + } > + > + dir = fdopendir(connector_fd); > + igt_assert(dir); > + > + /* fall back to old "i2c-?" symlink */ > + /* FIXME nuke this at some point */ > + while ((dirent = readdir(dir))) { > + if (strncmp(dirent->d_name, "i2c-", 4) == 0) { > + sprintf(i2c_path, "/dev/%s", dirent->d_name); > + found_i2c_file = true; > + } > + } > + closedir(dir); > + return found_i2c_file; > +} > + > +static bool i2c_read_edid(const char *connector_name, unsigned char *edid) > +{ > + char i2c_path[PATH_MAX]; > + bool result; > + int rc, fd; > + struct i2c_msg msgs[] = { > + { /* Start at 0. */ > + .addr = 0x50, > + .flags = 0, > + .len = 1, > + .buf = edid, > + }, { /* Now read the EDID. */ > + .addr = 0x50, > + .flags = I2C_M_RD, > + .len = 128, > + .buf = edid, > + } > + }; > + struct i2c_rdwr_ioctl_data msgset = { > + .msgs = msgs, > + .nmsgs = 2, > + }; > + > + result = find_i2c_path(connector_name, i2c_path, sizeof(i2c_path)); > + if (!result) > + return false; > + > + igt_info("Testing %s %s\n", connector_name, i2c_path); > + > + fd = open(i2c_path, O_RDWR); > + igt_assert_neq(fd, -1); > + > + rc = ioctl(fd, I2C_RDWR, &msgset); > + if (rc==-1) { > + igt_debug("I2C access failed with errno %d, %s\n", > + errno, strerror(errno)); > + errno = 0; > + } > + > + close(fd); > + return rc >= 0; > +} > + > +static void format_hex_string(const unsigned char edid[static EDID_BLOCK_SIZE], > + char buf[static EDID_BLOCK_SIZE * 5 + 1]) > +{ > + for (int i = 0; i < EDID_BLOCK_SIZE; ++i) > + sprintf(buf+i*5, "0x%02x ", edid[i]); > +} > + > +static bool is_mst_connector(int fd, uint32_t connector_id) > +{ > + return kmstest_get_property(fd, connector_id, > + DRM_MODE_OBJECT_CONNECTOR, > + "PATH", NULL, NULL, NULL); > +} > + > +static void test_i2c(struct mode_set_data *data) > +{ > + bool edid_mistmach_i2c_vs_drm = false; > + igt_display_t display; > + igt_display_require(&display, drm_fd); > + > + for (int i = 0; i < data->res->count_connectors; i++) { > + unsigned char *drm_edid = data->edids[i] ? data->edids[i]->data : NULL; > + unsigned char i2c_edid[EDID_BLOCK_SIZE] = {}; > + > + igt_output_t *output = igt_output_from_connector(&display, > + data->connectors[i]); > + char *connector_name = (char *) igt_output_name(output); > + > + bool got_i2c_edid = i2c_read_edid(connector_name, i2c_edid); > + bool got_drm_edid = drm_edid != NULL; > + bool is_vga = data->connectors[i]->connector_type == DRM_MODE_CONNECTOR_VGA; > + > + bool edids_equal; > + > + if (data->connectors[i]->connection != DRM_MODE_CONNECTED || > + is_mst_connector(drm_fd, data->connectors[i]->connector_id)) > + continue; > + > + /* We fail to detect some VGA monitors using our i2c method. If you look > + * at the dmesg of these cases, you'll see the Kernel complaining about > + * the EDID reading mostly FFs and then disabling bit-banging. Since we > + * don't want to reimplement everything the Kernel does, let's just > + * accept the fact that some VGA outputs won't be properly detected. */ > + if (is_vga) > + continue; > + > + if (!got_i2c_edid && !got_drm_edid) > + continue; > + > + if (got_i2c_edid && got_drm_edid) > + edids_equal = (0 == memcmp(drm_edid, i2c_edid, EDID_BLOCK_SIZE)); > + else > + edids_equal = false; > + > + > + if (!edids_equal) { > + char buf[5 * EDID_BLOCK_SIZE + 1]; > + igt_critical("Detected EDID mismatch on connector %s\n", > + connector_name); > + > + if(got_i2c_edid) > + format_hex_string(i2c_edid, buf); > + else > + sprintf(buf, "NULL"); > + > + igt_critical("i2c: %s\n", buf); > + > + if(got_drm_edid) > + format_hex_string(drm_edid, buf); > + else > + sprintf(buf, "NULL"); > + > + igt_critical("drm: %s\n", buf); > + > + edid_mistmach_i2c_vs_drm = true; > + } > + } > + igt_fail_on_f(edid_mistmach_i2c_vs_drm, > + "There is an EDID mismatch between i2c and DRM!\n"); > +} > + > +static void i2c_subtest_check_environment(void) > +{ > + int i2c_dev_files = 0; > + DIR *dev_dir; > + struct dirent *dirent; > + > + /* Make sure the /dev/i2c-* files exist. */ > + igt_require(modprobe("i2c-dev") == 0); > + > + dev_dir = opendir("/dev"); > + igt_assert(dev_dir); > + while ((dirent = readdir(dev_dir))) { > + if (strncmp(dirent->d_name, "i2c-", 4) == 0) > + i2c_dev_files++; > + } > + closedir(dev_dir); > + igt_require(i2c_dev_files); > +} > + > +/* Try to use raw I2C, which also needs interrupts. */ > +static void i2c_subtest(void) > +{ > + i2c_subtest_check_environment(); > + > + enable_one_screen_and_wait(&ms_data); > + > + disable_all_screens_and_wait(&ms_data); > + test_i2c(&ms_data); > + igt_assert(wait_for_suspended()); > + > + enable_one_screen(&ms_data); > +} > + > +struct read_entry_elapsed { > + uint64_t elapsed; > + char *path; > +} max_read_entry; > + > +static bool device_in_pci_d3(struct pci_device *pci_dev) > +{ > + uint16_t val; > + int rc; > + > + rc = pci_device_cfg_read_u16(pci_dev, &val, 0xd4); > + igt_assert_eq(rc, 0); > + > + igt_debug("%s: PCI D3 state=%d\n", __func__, val & 0x3); > + return (val & 0x3) == 0x3; > +} > + > +static void pci_d3_state_subtest(void) > +{ > + struct pci_device *pci_dev, *bridge_pci_dev; > + > + igt_require(has_runtime_pm); > + > + pci_dev = igt_device_get_pci_device(drm_fd); > + bridge_pci_dev = pci_device_get_parent_bridge(pci_dev); > + > + disable_all_screens_and_wait(&ms_data); > + igt_assert(igt_wait(device_in_pci_d3(pci_dev), 2000, 100)); > + > + if (gem_has_lmem(drm_fd)) > + igt_require_f(pci_device_has_kernel_driver(bridge_pci_dev), > + "pci bridge device does not bind with pcieport driver\n"); > + > + enable_one_screen_or_forcewake_get_and_wait(&ms_data); > + igt_assert(!device_in_pci_d3(pci_dev)); > + forcewake_put(&ms_data); > +} > + > +__noreturn static void stay_subtest(void) > +{ > + disable_all_screens_and_wait(&ms_data); > + > + while (1) > + sleep(600); > +} > + > +static void system_suspend_modeset_subtest(void) > +{ > + disable_all_screens_and_wait(&ms_data); > + igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE); > + igt_assert(wait_for_suspended()); > + > + enable_one_screen_and_wait(&ms_data); > + disable_all_screens_and_wait(&ms_data); > +} > + > +/* Enable a screen, activate DPMS, then do a modeset. At some point our driver > + * produced WARNs on this case. */ > +static void dpms_mode_unset_subtest(enum screen_type type) > +{ > + disable_all_screens_and_wait(&ms_data); > + > + igt_require(enable_one_screen_with_type(&ms_data, type)); > + igt_assert(wait_for_active()); > + > + disable_all_screens_dpms(&ms_data); > + igt_assert(wait_for_suspended()); > + > + disable_all_screens_and_wait(&ms_data); > +} > + > +static void fill_igt_fb(struct igt_fb *fb, uint32_t color) > +{ > + int i; > + uint32_t *ptr; > + > + ptr = gem_mmap__device_coherent(drm_fd, fb->gem_handle, 0, fb->size, PROT_WRITE); > + for (i = 0; i < fb->size/sizeof(uint32_t); i++) > + ptr[i] = color; > + igt_assert(munmap(ptr, fb->size) == 0); > +} > + > +/* At some point, this test triggered WARNs in the Kernel. */ > +static void cursor_subtest(bool dpms) > +{ > + int rc; > + struct igt_fb cursor_fb1, cursor_fb2, cursor_fb3; > + uint32_t crtc_id; > + > + disable_all_screens_and_wait(&ms_data); > + > + igt_require(default_mode_params); > + crtc_id = default_mode_params->crtc_id; > + > + igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, > + DRM_FORMAT_MOD_LINEAR, &cursor_fb1); > + igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888, > + DRM_FORMAT_MOD_LINEAR, &cursor_fb2); > + igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_XRGB8888, > + I915_FORMAT_MOD_X_TILED, &cursor_fb3); > + > + fill_igt_fb(&cursor_fb1, 0xFF00FFFF); > + fill_igt_fb(&cursor_fb2, 0xFF00FF00); > + fill_igt_fb(&cursor_fb3, 0xFFFF0000); > + > + set_mode_for_params_and_wait(default_mode_params); > + > + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, > + cursor_fb1.width, cursor_fb1.height); > + igt_assert_eq(rc, 0); > + rc = drmModeMoveCursor(drm_fd, crtc_id, 0, 0); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_active()); > + > + disable_or_dpms_all_screens_and_wait(&ms_data, dpms); > + > + /* First, just move the cursor. */ > + rc = drmModeMoveCursor(drm_fd, crtc_id, 1, 1); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Then unset it, and set a new one. */ > + rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb2.gem_handle, > + cursor_fb1.width, cursor_fb2.height); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Move the new cursor. */ > + rc = drmModeMoveCursor(drm_fd, crtc_id, 2, 2); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Now set a new one without unsetting the previous one. */ > + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb1.gem_handle, > + cursor_fb1.width, cursor_fb1.height); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Cursor 3 was created with tiling and painted with a GTT mmap, so > + * hopefully it has some fences around it. */ > + rc = drmModeRmFB(drm_fd, cursor_fb3.fb_id); > + igt_assert_eq(rc, 0); > + __gem_set_tiling(drm_fd, cursor_fb3.gem_handle, false, cursor_fb3.strides[0]); > + igt_assert(wait_for_suspended()); > + > + rc = drmModeSetCursor(drm_fd, crtc_id, cursor_fb3.gem_handle, > + cursor_fb3.width, cursor_fb3.height); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Make sure nothing remains for the other tests. */ > + rc = drmModeSetCursor(drm_fd, crtc_id, 0, 0, 0); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > +} > + > +static enum plane_type get_plane_type(uint32_t plane_id) > +{ > + int i; > + bool found; > + uint64_t prop_value; > + drmModePropertyPtr prop; > + const char *enum_name = NULL; > + enum plane_type type; > + > + found = kmstest_get_property(drm_fd, plane_id, DRM_MODE_OBJECT_PLANE, > + "type", NULL, &prop_value, &prop); > + igt_assert(found); > + > + igt_assert(prop->flags & DRM_MODE_PROP_ENUM); > + igt_assert(prop_value < prop->count_enums); > + > + for (i = 0; i < prop->count_enums; i++) { > + if (prop->enums[i].value == prop_value) { > + enum_name = prop->enums[i].name; > + break; > + } > + } > + igt_assert(enum_name); > + > + if (strcmp(enum_name, "Overlay") == 0) > + type = PLANE_OVERLAY; > + else if (strcmp(enum_name, "Primary") == 0) > + type = PLANE_PRIMARY; > + else if (strcmp(enum_name, "Cursor") == 0) > + type = PLANE_CURSOR; > + else > + igt_assert(0); > + > + drmModeFreeProperty(prop); > + > + return type; > +} > + > +static void test_one_plane(bool dpms, uint32_t plane_id, > + enum plane_type plane_type) > +{ > + int rc; > + uint32_t plane_format, plane_w, plane_h; > + uint32_t crtc_id; > + struct igt_fb plane_fb1, plane_fb2; > + int32_t crtc_x = 0, crtc_y = 0; > + uint64_t modifier; > + > + disable_all_screens_and_wait(&ms_data); > + > + crtc_id = default_mode_params->crtc_id; > + > + switch (plane_type) { > + case PLANE_OVERLAY: > + plane_format = DRM_FORMAT_XRGB8888; > + plane_w = 64; > + plane_h = 64; > + modifier = I915_FORMAT_MOD_X_TILED; > + break; > + case PLANE_PRIMARY: > + plane_format = DRM_FORMAT_XRGB8888; > + plane_w = default_mode_params->mode->hdisplay; > + plane_h = default_mode_params->mode->vdisplay; > + modifier = I915_FORMAT_MOD_X_TILED; > + break; > + case PLANE_CURSOR: > + plane_format = DRM_FORMAT_ARGB8888; > + plane_w = 64; > + plane_h = 64; > + modifier = DRM_FORMAT_MOD_LINEAR; > + break; > + default: > + igt_assert(0); > + break; > + } > + > + igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, > + &plane_fb1); > + igt_create_fb(drm_fd, plane_w, plane_h, plane_format, modifier, > + &plane_fb2); > + fill_igt_fb(&plane_fb1, 0xFF00FFFF); > + fill_igt_fb(&plane_fb2, 0xFF00FF00); > + > + set_mode_for_params_and_wait(default_mode_params); > + > + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, > + 0, 0, plane_fb1.width, plane_fb1.height, > + 0 << 16, 0 << 16, plane_fb1.width << 16, > + plane_fb1.height << 16); > + igt_assert_eq(rc, 0); > + > + disable_or_dpms_all_screens_and_wait(&ms_data, dpms); > + > + /* Just move the plane around. */ > + if (plane_type != PLANE_PRIMARY) { > + crtc_x++; > + crtc_y++; > + } > + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, > + crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, > + 0 << 16, 0 << 16, plane_fb1.width << 16, > + plane_fb1.height << 16); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Unset, then change the plane. */ > + rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb2.fb_id, 0, > + crtc_x, crtc_y, plane_fb2.width, plane_fb2.height, > + 0 << 16, 0 << 16, plane_fb2.width << 16, > + plane_fb2.height << 16); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Now change the plane without unsetting first. */ > + rc = drmModeSetPlane(drm_fd, plane_id, crtc_id, plane_fb1.fb_id, 0, > + crtc_x, crtc_y, plane_fb1.width, plane_fb1.height, > + 0 << 16, 0 << 16, plane_fb1.width << 16, > + plane_fb1.height << 16); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > + > + /* Make sure nothing remains for the other tests. */ > + rc = drmModeSetPlane(drm_fd, plane_id, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); > + igt_assert_eq(rc, 0); > + igt_assert(wait_for_suspended()); > +} > + > +/* This one also triggered WARNs on our driver at some point in time. */ > +static void planes_subtest(bool universal, bool dpms) > +{ > + int i, crtc_idx; > + drmModePlaneResPtr planes; > + > + igt_require(default_mode_params); > + crtc_idx = kmstest_get_crtc_idx(ms_data.res, > + default_mode_params->crtc_id); > + > + igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, > + universal), 0); > + > + planes = drmModeGetPlaneResources(drm_fd); > + for (i = 0; i < planes->count_planes; i++) { > + drmModePlanePtr plane; > + > + plane = drmModeGetPlane(drm_fd, planes->planes[i]); > + igt_assert(plane); > + > + if (plane->possible_crtcs & (1 << crtc_idx)) { > + enum plane_type type; > + > + type = universal ? get_plane_type(plane->plane_id) : > + PLANE_OVERLAY; > + igt_dynamic_f("plane-%d", plane->plane_id) > + test_one_plane(dpms, plane->plane_id, type); > + } > + drmModeFreePlane(plane); > + } > + drmModeFreePlaneResources(planes); > + > + igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, > + 1), 0); > +} > + > +static void fences_subtest(bool dpms) > +{ > + int i; > + uint32_t *buf_ptr; > + uint32_t tiling = false, swizzle; > + struct modeset_params params; > + > + disable_all_screens_and_wait(&ms_data); > + > + igt_require(default_mode_params); > + params.crtc_id = default_mode_params->crtc_id; > + params.connector_id = default_mode_params->connector_id; > + params.mode = default_mode_params->mode; > + igt_create_fb(drm_fd, params.mode->hdisplay, params.mode->vdisplay, > + DRM_FORMAT_XRGB8888, I915_FORMAT_MOD_X_TILED, > + ¶ms.fb); > + > + /* Even though we passed "true" as the tiling argument, double-check > + * that the fb is really tiled. */ > + gem_get_tiling(drm_fd, params.fb.gem_handle, &tiling, &swizzle); > + igt_assert(tiling); > + > + buf_ptr = gem_mmap__gtt(drm_fd, params.fb.gem_handle, params.fb.size, > + PROT_WRITE | PROT_READ); > + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) > + buf_ptr[i] = i; > + > + set_mode_for_params_and_wait(¶ms); > + > + disable_or_dpms_all_screens_and_wait(&ms_data, dpms); > + > + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) > + igt_assert_eq(buf_ptr[i], i); > + igt_assert(wait_for_suspended()); > + > + if (dpms) { > + drmModeConnectorPtr c = NULL; > + > + for (i = 0; i < ms_data.res->count_connectors; i++) > + if (ms_data.connectors[i]->connector_id == > + params.connector_id) > + c = ms_data.connectors[i]; > + igt_assert(c); > + > + kmstest_set_connector_dpms(drm_fd, c, DRM_MODE_DPMS_ON); > + } else { > + set_mode_for_params(¶ms); > + } > + igt_assert(wait_for_active()); > + > + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) > + igt_assert_eq(buf_ptr[i], i); > + > + igt_assert(munmap(buf_ptr, params.fb.size) == 0); > +} > + > +static void pm_test_tiling(void) > +{ > + uint32_t *handles; > + uint8_t **gem_bufs; > + > + int max_gem_objs = 0; > + uint8_t off_bit = 14; > + uint32_t gtt_obj_max_size = (256 * 1024); > + > + uint32_t i, j, k, tiling_modes[3] = { > + I915_TILING_NONE, > + I915_TILING_X, > + I915_TILING_Y, > + }; > + uint32_t ti, sw; > + > + /* default stride value */ > + uint32_t stride = 512; > + > + /* calculate how many objects we can map */ > + for (i = 1 << off_bit; i <= gtt_obj_max_size; i <<= 1, max_gem_objs++) > + ; > + > + gem_bufs = calloc(max_gem_objs, sizeof(*gem_bufs)); > + handles = calloc(max_gem_objs, sizeof(*handles)); > + > + /* try to set different tiling for each handle */ > + for (i = 0; i < ARRAY_SIZE(tiling_modes); i++) { > + > + for (j = 0, k = 1 << off_bit; > + k <= gtt_obj_max_size; k <<= 1, j++) { > + handles[j] = gem_create(drm_fd, k); > + gem_bufs[j] = gem_mmap__gtt(drm_fd, handles[j], > + k, PROT_WRITE); > + memset(gem_bufs[j], 0x0, k); > + } > + > + disable_all_screens_and_wait(&ms_data); > + > + for (j = 0; j < max_gem_objs; j++) { > + gem_set_tiling(drm_fd, handles[j], > + tiling_modes[i], stride); > + gem_get_tiling(drm_fd, handles[j], &ti, &sw); > + igt_assert(tiling_modes[i] == ti); > + } > + > + enable_one_screen_and_wait(&ms_data); > + > + for (j = 0, k = 1 << off_bit; > + k <= gtt_obj_max_size; k <<= 1, j++) { > + igt_assert(munmap(gem_bufs[j], k) == 0); > + gem_close(drm_fd, handles[j]); > + } > + } > + > + free(gem_bufs); > + free(handles); > +} > + > +static void pm_test_caching(void) > +{ > + uint32_t handle; > + uint8_t *gem_buf; > + > + uint32_t i; > + uint32_t default_cache_level; > + uint32_t gtt_obj_max_size = (16 * 1024); > + uint32_t cache_levels[3] = { > + I915_CACHING_NONE, > + I915_CACHING_CACHED, /* LLC caching */ > + I915_CACHING_DISPLAY, /* eDRAM caching */ > + }; > + > + disable_all_screens(&ms_data); > + > + handle = gem_create(drm_fd, gtt_obj_max_size); > + default_cache_level = gem_get_caching(drm_fd, handle); > + gem_buf = gem_mmap__gtt(drm_fd, handle, gtt_obj_max_size, PROT_WRITE); > + > + for (i = 0; i < ARRAY_SIZE(cache_levels); i++) { > + igt_assert(wait_for_suspended()); > + if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) > + gem_set_caching(drm_fd, handle, default_cache_level); > + /* Ensure we bind the vma into the GGTT */ > + memset(gem_buf, 16 << i, gtt_obj_max_size); > + > + /* Now try changing the cache-level on the bound object. > + * This will either unlikely unbind the object from the GGTT, > + * or more likely just change the PTEs inside the GGTT. Either > + * way the driver must take the rpm wakelock around the GSM > + * access. > + */ > + igt_debug("Setting cache level %u\n", cache_levels[i]); > + igt_assert(wait_for_suspended()); > + if (igt_has_set_caching(intel_get_drm_devid(drm_fd))) > + gem_set_caching(drm_fd, handle, cache_levels[i]); > + } > + > + igt_assert(munmap(gem_buf, gtt_obj_max_size) == 0); > + gem_close(drm_fd, handle); > +} > + > +int rounds = 10; > +bool stay = false; > + > +static int opt_handler(int opt, int opt_index, void *data) > +{ > + switch (opt) { > + case 'l': > + rounds = 50; > + break; > + case 's': > + stay = true; > + break; > + default: > + return IGT_OPT_HANDLER_ERROR; > + } > + > + return IGT_OPT_HANDLER_SUCCESS; > +} > + > +const char *help_str = > + " --stress\t\tMake the stress-tests more stressful.\n" > + " --stay\t\tDisable all screen and try to go into runtime pm. Useful for debugging."; > +static struct option long_options[] = { > + {"stress", 0, 0, 'l'}, > + {"stay", 0, 0, 's'}, > + { 0, 0, 0, 0 } > +}; > + > +igt_main_args("", long_options, help_str, opt_handler, NULL) > +{ > + igt_subtest("basic-rte") { > + igt_assert(setup_environment()); > + basic_subtest(); > + } > + > + igt_fixture { > + igt_require(setup_environment()); > + } > + > + if (stay) > + igt_subtest("stay") > + stay_subtest(); > + > + /* Essential things */ > + igt_subtest("drm-resources-equal") > + drm_resources_equal_subtest(); > + igt_subtest("basic-pci-d3-state") > + pci_d3_state_subtest(); > + > + /* Basic modeset */ > + igt_subtest("modeset-lpsp") > + modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS); > + igt_subtest("modeset-non-lpsp") > + modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS); > + igt_subtest("dpms-lpsp") > + modeset_subtest(SCREEN_TYPE_LPSP, 1, WAIT_STATUS | USE_DPMS); > + igt_subtest("dpms-non-lpsp") > + modeset_subtest(SCREEN_TYPE_NON_LPSP, 1, WAIT_STATUS | USE_DPMS); > + > + /* Planes and cursors */ > + igt_subtest("cursor") > + cursor_subtest(false); > + igt_subtest("cursor-dpms") > + cursor_subtest(true); > + igt_subtest_with_dynamic("legacy-planes") > + planes_subtest(false, false); > + igt_subtest_with_dynamic("legacy-planes-dpms") > + planes_subtest(false, true); > + igt_subtest_with_dynamic("universal-planes") > + planes_subtest(true, false); > + igt_subtest_with_dynamic("universal-planes-dpms") > + planes_subtest(true, true); > + > + /* Misc */ > + igt_subtest("i2c") > + i2c_subtest(); > + igt_subtest("dpms-mode-unset-lpsp") > + dpms_mode_unset_subtest(SCREEN_TYPE_LPSP); > + igt_subtest("dpms-mode-unset-non-lpsp") > + dpms_mode_unset_subtest(SCREEN_TYPE_NON_LPSP); > + igt_subtest("fences") { > + gem_require_mappable_ggtt(drm_fd); > + fences_subtest(false); > + } > + igt_subtest("fences-dpms") { > + gem_require_mappable_ggtt(drm_fd); > + fences_subtest(true); > + } > + igt_subtest("pc8-residency") > + pc8_residency_subtest(); > + > + /* Modeset stress */ > + igt_subtest("modeset-lpsp-stress") > + modeset_subtest(SCREEN_TYPE_LPSP, rounds, WAIT_STATUS); > + igt_subtest("modeset-non-lpsp-stress") > + modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, WAIT_STATUS); > + igt_subtest("modeset-lpsp-stress-no-wait") > + modeset_subtest(SCREEN_TYPE_LPSP, rounds, DONT_WAIT); > + igt_subtest("modeset-non-lpsp-stress-no-wait") > + modeset_subtest(SCREEN_TYPE_NON_LPSP, rounds, DONT_WAIT); > + igt_subtest("modeset-pc8-residency-stress") > + modeset_subtest(SCREEN_TYPE_ANY, rounds, WAIT_PC8_RES); > + igt_subtest("modeset-stress-extra-wait") > + modeset_subtest(SCREEN_TYPE_ANY, rounds, > + WAIT_STATUS | WAIT_EXTRA); > + > + /* System suspend */ > + igt_subtest("system-suspend-modeset") > + system_suspend_modeset_subtest(); > + > + /* power-wake reference tests */ > + igt_subtest("pm-tiling") { > + gem_require_mappable_ggtt(drm_fd); > + pm_test_tiling(); > + } > + igt_subtest("pm-caching") { > + gem_require_mappable_ggtt(drm_fd); > + pm_test_caching(); > + } > + > + igt_fixture { > + teardown_environment(); > + forcewake_put(&ms_data); > + } > +} > diff --git a/tests/meson.build b/tests/meson.build > index 92729e0c3..37d101281 100644 > --- a/tests/meson.build > +++ b/tests/meson.build > @@ -262,6 +262,7 @@ intel_kms_progs = [ > 'kms_pm_backlight', > 'kms_pm_dc', > 'kms_pm_lpsp', > + 'kms_pm_rpm', > 'kms_psr', > 'kms_psr2_sf', > 'kms_psr2_su', ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for Separate display PM tests from Core (rev3) 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (6 preceding siblings ...) 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 7/7] tests/intel/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem @ 2023-09-07 18:38 ` Patchwork 2023-09-07 19:17 ` [igt-dev] ✓ CI.xeBAT: " Patchwork 2023-09-07 20:52 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 9 siblings, 0 replies; 18+ messages in thread From: Patchwork @ 2023-09-07 18:38 UTC (permalink / raw) To: Modem, Bhanuprakash; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 32053 bytes --] == Series Details == Series: Separate display PM tests from Core (rev3) URL : https://patchwork.freedesktop.org/series/122790/ State : success == Summary == CI Bug Log - changes from CI_DRM_13609 -> IGTPW_9745 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/index.html Participating hosts (22 -> 38) ------------------------------ Additional (19): fi-apl-guc fi-pnv-d510 fi-blb-e6850 fi-skl-6600u fi-ilk-650 fi-elk-e7500 fi-bsw-nick fi-kbl-7567u bat-kbl-2 bat-adlp-9 fi-skl-guc fi-cfl-8700k fi-glk-j4005 bat-mtlp-6 bat-adlp-11 fi-cfl-guc fi-kbl-guc fi-kbl-x1275 fi-kbl-8809g Missing (3): fi-kbl-soraka bat-dg2-8 fi-snb-2520m Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_9745: ### IGT changes ### #### Possible regressions #### * {igt@kms_pm_backlight@basic-brightness} (NEW): - fi-rkl-11600: NOTRUN -> [SKIP][1] +1 other test skip [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-rkl-11600/igt@kms_pm_backlight@basic-brightness.html - bat-rpls-1: NOTRUN -> [SKIP][2] +1 other test skip [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-rpls-1/igt@kms_pm_backlight@basic-brightness.html * {igt@kms_pm_rpm@module-reload} (NEW): - bat-adls-5: NOTRUN -> [SKIP][3] +1 other test skip [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adls-5/igt@kms_pm_rpm@module-reload.html - bat-dg1-5: NOTRUN -> [SKIP][4] +1 other test skip [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-dg1-5/igt@kms_pm_rpm@module-reload.html - bat-atsm-1: NOTRUN -> [SKIP][5] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-atsm-1/igt@kms_pm_rpm@module-reload.html - bat-adlp-9: NOTRUN -> [SKIP][6] +1 other test skip [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@kms_pm_rpm@module-reload.html - bat-dg2-11: NOTRUN -> [SKIP][7] +1 other test skip [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-dg2-11/igt@kms_pm_rpm@module-reload.html - bat-adlm-1: NOTRUN -> [SKIP][8] +1 other test skip [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlm-1/igt@kms_pm_rpm@module-reload.html - fi-tgl-1115g4: NOTRUN -> [SKIP][9] +1 other test skip [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-tgl-1115g4/igt@kms_pm_rpm@module-reload.html - bat-mtlp-6: NOTRUN -> [SKIP][10] +1 other test skip [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_pm_rpm@module-reload.html - bat-dg2-9: NOTRUN -> [SKIP][11] +1 other test skip [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-dg2-9/igt@kms_pm_rpm@module-reload.html - bat-mtlp-8: NOTRUN -> [SKIP][12] [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-8/igt@kms_pm_rpm@module-reload.html New tests --------- New tests have been introduced between CI_DRM_13609 and IGTPW_9745: ### New IGT tests (5) ### * igt@kms_pm_backlight@basic-brightness: - Statuses : 28 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@basic-brightness@edp-1: - Statuses : 2 abort(s) 5 pass(s) - Exec time: [0.0] s * igt@kms_pm_rpm@basic-pci-d3-state: - Statuses : 1 abort(s) 27 pass(s) 5 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@basic-rte: - Statuses : 27 pass(s) 5 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@module-reload: - Statuses : 32 skip(s) - Exec time: [0.0] s Known issues ------------ Here are the changes found in IGTPW_9745 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@core_hotunplug@unbind-rebind: - fi-kbl-8809g: NOTRUN -> [DMESG-WARN][13] ([i915#8298]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@core_hotunplug@unbind-rebind.html * igt@debugfs_test@basic-hwmon: - bat-adlp-9: NOTRUN -> [SKIP][14] ([i915#7456]) [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@debugfs_test@basic-hwmon.html - bat-adlp-11: NOTRUN -> [SKIP][15] ([i915#7456]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-11/igt@debugfs_test@basic-hwmon.html - bat-mtlp-6: NOTRUN -> [SKIP][16] ([i915#7456]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@debugfs_test@basic-hwmon.html * igt@debugfs_test@read_all_entries: - fi-kbl-7567u: NOTRUN -> [ABORT][17] ([i915#8913]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-7567u/igt@debugfs_test@read_all_entries.html * igt@fbdev@info: - fi-kbl-x1275: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#1849]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-x1275/igt@fbdev@info.html - fi-kbl-guc: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#1849]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-guc/igt@fbdev@info.html - fi-kbl-8809g: NOTRUN -> [SKIP][20] ([fdo#109271] / [i915#1849]) [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@fbdev@info.html - bat-kbl-2: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#1849]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-kbl-2/igt@fbdev@info.html - bat-mtlp-6: NOTRUN -> [SKIP][22] ([i915#1849] / [i915#2582]) [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@fbdev@info.html * igt@fbdev@write: - bat-mtlp-6: NOTRUN -> [SKIP][23] ([i915#2582]) +3 other tests skip [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@fbdev@write.html * igt@gem_huc_copy@huc-copy: - fi-kbl-8809g: NOTRUN -> [SKIP][24] ([fdo#109271] / [i915#2190]) [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@gem_huc_copy@huc-copy.html - fi-cfl-8700k: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#2190]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-cfl-8700k/igt@gem_huc_copy@huc-copy.html - fi-skl-6600u: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#2190]) [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-skl-6600u/igt@gem_huc_copy@huc-copy.html - fi-glk-j4005: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#2190]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-glk-j4005/igt@gem_huc_copy@huc-copy.html - fi-kbl-x1275: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#2190]) [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-x1275/igt@gem_huc_copy@huc-copy.html * igt@gem_lmem_swapping@basic: - fi-apl-guc: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#4613]) +3 other tests skip [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-apl-guc/igt@gem_lmem_swapping@basic.html - fi-glk-j4005: NOTRUN -> [SKIP][30] ([fdo#109271] / [i915#4613]) +3 other tests skip [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-glk-j4005/igt@gem_lmem_swapping@basic.html - bat-adlp-9: NOTRUN -> [SKIP][31] ([i915#4613]) +3 other tests skip [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@gem_lmem_swapping@basic.html - fi-skl-guc: NOTRUN -> [SKIP][32] ([fdo#109271] / [i915#4613]) +3 other tests skip [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-skl-guc/igt@gem_lmem_swapping@basic.html - fi-cfl-8700k: NOTRUN -> [SKIP][33] ([fdo#109271] / [i915#4613]) +3 other tests skip [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-cfl-8700k/igt@gem_lmem_swapping@basic.html - fi-kbl-8809g: NOTRUN -> [SKIP][34] ([fdo#109271] / [i915#4613]) +3 other tests skip [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@gem_lmem_swapping@basic.html * igt@gem_lmem_swapping@parallel-random-engines: - fi-bsw-nick: NOTRUN -> [SKIP][35] ([fdo#109271]) +19 other tests skip [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-bsw-nick/igt@gem_lmem_swapping@parallel-random-engines.html - bat-kbl-2: NOTRUN -> [SKIP][36] ([fdo#109271]) +40 other tests skip [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-kbl-2/igt@gem_lmem_swapping@parallel-random-engines.html * igt@gem_lmem_swapping@random-engines: - fi-skl-6600u: NOTRUN -> [SKIP][37] ([fdo#109271] / [i915#4613]) +3 other tests skip [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-skl-6600u/igt@gem_lmem_swapping@random-engines.html * igt@gem_lmem_swapping@verify-random: - fi-cfl-guc: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#4613]) +3 other tests skip [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-cfl-guc/igt@gem_lmem_swapping@verify-random.html - bat-mtlp-6: NOTRUN -> [SKIP][39] ([i915#4613]) +3 other tests skip [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@gem_lmem_swapping@verify-random.html - fi-kbl-x1275: NOTRUN -> [SKIP][40] ([fdo#109271] / [i915#4613]) +3 other tests skip [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-x1275/igt@gem_lmem_swapping@verify-random.html - fi-kbl-guc: NOTRUN -> [SKIP][41] ([fdo#109271] / [i915#4613]) +3 other tests skip [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-guc/igt@gem_lmem_swapping@verify-random.html * igt@gem_mmap@basic: - bat-mtlp-6: NOTRUN -> [SKIP][42] ([i915#4083]) [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@gem_mmap@basic.html * igt@gem_tiled_blits@basic: - bat-mtlp-6: NOTRUN -> [SKIP][43] ([i915#4077]) +2 other tests skip [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@gem_tiled_blits@basic.html * igt@gem_tiled_pread_basic: - bat-adlp-9: NOTRUN -> [SKIP][44] ([i915#3282]) [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@gem_tiled_pread_basic.html - bat-mtlp-6: NOTRUN -> [SKIP][45] ([i915#4079]) +1 other test skip [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@gem_tiled_pread_basic.html - bat-adlp-11: NOTRUN -> [SKIP][46] ([i915#3282]) [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-11/igt@gem_tiled_pread_basic.html * igt@i915_pm_rps@basic-api: - bat-adlp-9: NOTRUN -> [SKIP][47] ([i915#6621]) [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@i915_pm_rps@basic-api.html - bat-mtlp-6: NOTRUN -> [SKIP][48] ([i915#6621]) [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@i915_pm_rps@basic-api.html * igt@i915_selftest@live@gt_engines: - bat-mtlp-6: NOTRUN -> [FAIL][49] ([i915#9278]) [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@i915_selftest@live@gt_engines.html * igt@i915_selftest@live@gt_heartbeat: - fi-glk-j4005: NOTRUN -> [DMESG-FAIL][50] ([i915#5334]) [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-glk-j4005/igt@i915_selftest@live@gt_heartbeat.html * igt@i915_selftest@live@gt_pm: - bat-mtlp-6: NOTRUN -> [DMESG-FAIL][51] ([i915#9270]) [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@i915_selftest@live@gt_pm.html * igt@i915_suspend@basic-s3-without-i915: - bat-adlp-9: NOTRUN -> [INCOMPLETE][52] ([i915#7443]) [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@i915_suspend@basic-s3-without-i915.html - bat-mtlp-6: NOTRUN -> [SKIP][53] ([i915#6645]) [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@i915_suspend@basic-s3-without-i915.html * igt@kms_addfb_basic@addfb25-x-tiled-legacy: - bat-mtlp-6: NOTRUN -> [SKIP][54] ([i915#4212]) +8 other tests skip [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_addfb_basic@addfb25-x-tiled-legacy.html * igt@kms_addfb_basic@addfb25-y-tiled-small-legacy: - bat-mtlp-6: NOTRUN -> [SKIP][55] ([i915#5190]) [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html * igt@kms_addfb_basic@too-high: - fi-kbl-8809g: NOTRUN -> [FAIL][56] ([i915#8296]) +2 other tests fail [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@kms_addfb_basic@too-high.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic: - fi-glk-j4005: NOTRUN -> [SKIP][57] ([fdo#109271]) +10 other tests skip [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-glk-j4005/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html - bat-adlp-9: NOTRUN -> [SKIP][58] ([i915#4103]) +1 other test skip [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy: - fi-cfl-guc: NOTRUN -> [SKIP][59] ([fdo#109271]) +11 other tests skip [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-cfl-guc/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html - bat-adlp-11: NOTRUN -> [SKIP][60] ([i915#4103]) +1 other test skip [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-11/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html * igt@kms_cursor_legacy@basic-flip-after-cursor-legacy: - bat-mtlp-6: NOTRUN -> [SKIP][61] ([i915#1845]) +11 other tests skip [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html * igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size: - fi-kbl-guc: NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#1845]) +8 other tests skip [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-guc/igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size.html * igt@kms_flip@basic-flip-vs-dpms: - bat-mtlp-6: NOTRUN -> [SKIP][63] ([i915#3637]) +3 other tests skip [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_flip@basic-flip-vs-dpms.html * igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2: - fi-bsw-n3050: [PASS][64] -> [FAIL][65] ([i915#2122]) [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2.html [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-bsw-n3050/igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2.html * igt@kms_force_connector_basic@force-connector-state: - fi-kbl-8809g: NOTRUN -> [DMESG-FAIL][66] ([i915#8299]) [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@kms_force_connector_basic@force-connector-state.html * igt@kms_force_connector_basic@force-edid: - fi-kbl-8809g: NOTRUN -> [CRASH][67] ([i915#8299]) [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@kms_force_connector_basic@force-edid.html * igt@kms_force_connector_basic@force-load-detect: - fi-cfl-8700k: NOTRUN -> [SKIP][68] ([fdo#109271]) +11 other tests skip [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-cfl-8700k/igt@kms_force_connector_basic@force-load-detect.html - bat-mtlp-6: NOTRUN -> [SKIP][69] ([fdo#109285]) [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_force_connector_basic@force-load-detect.html - bat-adlp-9: NOTRUN -> [SKIP][70] ([fdo#109285]) [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@kms_force_connector_basic@force-load-detect.html * igt@kms_force_connector_basic@prune-stale-modes: - bat-adlp-11: NOTRUN -> [SKIP][71] ([i915#4093]) +3 other tests skip [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-11/igt@kms_force_connector_basic@prune-stale-modes.html - bat-mtlp-6: NOTRUN -> [SKIP][72] ([i915#5274]) [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_force_connector_basic@prune-stale-modes.html * igt@kms_frontbuffer_tracking@basic: - bat-mtlp-6: NOTRUN -> [SKIP][73] ([i915#4342]) [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_frontbuffer_tracking@basic.html - fi-bsw-nick: NOTRUN -> [FAIL][74] ([i915#9276]) [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-bsw-nick/igt@kms_frontbuffer_tracking@basic.html * igt@kms_hdmi_inject@inject-audio: - fi-apl-guc: NOTRUN -> [SKIP][75] ([fdo#109271]) +17 other tests skip [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-apl-guc/igt@kms_hdmi_inject@inject-audio.html - fi-skl-guc: NOTRUN -> [FAIL][76] ([IGT#3]) [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-skl-guc/igt@kms_hdmi_inject@inject-audio.html - fi-bsw-nick: NOTRUN -> [FAIL][77] ([IGT#3]) [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-bsw-nick/igt@kms_hdmi_inject@inject-audio.html - bat-adlp-11: NOTRUN -> [SKIP][78] ([i915#4369]) [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-11/igt@kms_hdmi_inject@inject-audio.html - fi-kbl-guc: NOTRUN -> [FAIL][79] ([IGT#3] / [i915#6121]) [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-guc/igt@kms_hdmi_inject@inject-audio.html * igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-a-hdmi-a-2: - fi-skl-guc: NOTRUN -> [SKIP][80] ([fdo#109271]) +13 other tests skip [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-skl-guc/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-a-hdmi-a-2.html * igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-c-edp-1: - fi-skl-6600u: NOTRUN -> [SKIP][81] ([fdo#109271]) +8 other tests skip [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-skl-6600u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-c-edp-1.html * igt@kms_pipe_crc_basic@read-crc: - fi-kbl-x1275: NOTRUN -> [SKIP][82] ([fdo#109271]) +37 other tests skip [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-x1275/igt@kms_pipe_crc_basic@read-crc.html * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-a-dp-5: - bat-adlp-11: NOTRUN -> [ABORT][83] ([i915#8668]) [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-11/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-a-dp-5.html * igt@kms_pipe_crc_basic@suspend-read-crc: - fi-kbl-guc: NOTRUN -> [SKIP][84] ([fdo#109271]) +26 other tests skip [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-guc/igt@kms_pipe_crc_basic@suspend-read-crc.html - bat-mtlp-6: NOTRUN -> [SKIP][85] ([i915#1845] / [i915#4078]) +4 other tests skip [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_pipe_crc_basic@suspend-read-crc.html * {igt@kms_pm_backlight@basic-brightness} (NEW): - fi-blb-e6850: NOTRUN -> [SKIP][86] ([fdo#109271]) +31 other tests skip [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-blb-e6850/igt@kms_pm_backlight@basic-brightness.html - bat-atsm-1: NOTRUN -> [SKIP][87] ([i915#6078]) [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-atsm-1/igt@kms_pm_backlight@basic-brightness.html * {igt@kms_pm_backlight@basic-brightness@edp-1} (NEW): - bat-adlp-6: NOTRUN -> [ABORT][88] ([i915#8668]) [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-6/igt@kms_pm_backlight@basic-brightness@edp-1.html - bat-rplp-1: NOTRUN -> [ABORT][89] ([i915#8668]) [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-rplp-1/igt@kms_pm_backlight@basic-brightness@edp-1.html * {igt@kms_pm_rpm@basic-pci-d3-state} (NEW): - bat-adln-1: NOTRUN -> [ABORT][90] ([i915#8668]) [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adln-1/igt@kms_pm_rpm@basic-pci-d3-state.html - fi-ivb-3770: NOTRUN -> [SKIP][91] ([fdo#109271]) +3 other tests skip [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-ivb-3770/igt@kms_pm_rpm@basic-pci-d3-state.html - fi-elk-e7500: NOTRUN -> [SKIP][92] ([fdo#109271]) +23 other tests skip [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-elk-e7500/igt@kms_pm_rpm@basic-pci-d3-state.html - fi-ilk-650: NOTRUN -> [SKIP][93] ([fdo#109271]) +21 other tests skip [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-ilk-650/igt@kms_pm_rpm@basic-pci-d3-state.html * {igt@kms_pm_rpm@module-reload} (NEW): - bat-jsl-3: NOTRUN -> [SKIP][94] ([fdo#112080]) [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-jsl-3/igt@kms_pm_rpm@module-reload.html - fi-cfl-8109u: NOTRUN -> [SKIP][95] ([fdo#109271]) +1 other test skip [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-cfl-8109u/igt@kms_pm_rpm@module-reload.html - fi-bsw-n3050: NOTRUN -> [SKIP][96] ([fdo#109271]) +1 other test skip [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-bsw-n3050/igt@kms_pm_rpm@module-reload.html - bat-jsl-1: NOTRUN -> [SKIP][97] ([fdo#112080]) [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-jsl-1/igt@kms_pm_rpm@module-reload.html * igt@kms_psr@cursor_plane_move: - fi-kbl-8809g: NOTRUN -> [SKIP][98] ([fdo#109271]) +57 other tests skip [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-kbl-8809g/igt@kms_psr@cursor_plane_move.html - bat-mtlp-6: NOTRUN -> [SKIP][99] ([i915#1072]) +3 other tests skip [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_psr@cursor_plane_move.html * igt@kms_psr@primary_page_flip: - fi-pnv-d510: NOTRUN -> [SKIP][100] ([fdo#109271]) +31 other tests skip [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/fi-pnv-d510/igt@kms_psr@primary_page_flip.html * igt@kms_psr@sprite_plane_onoff: - bat-adlp-9: NOTRUN -> [SKIP][101] ([i915#1072]) +3 other tests skip [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@kms_psr@sprite_plane_onoff.html * igt@kms_setmode@basic-clone-single-crtc: - bat-adlp-9: NOTRUN -> [SKIP][102] ([i915#3555]) [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@kms_setmode@basic-clone-single-crtc.html - bat-mtlp-6: NOTRUN -> [SKIP][103] ([i915#3555] / [i915#8809]) [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@kms_setmode@basic-clone-single-crtc.html * igt@prime_vgem@basic-fence-flip: - bat-mtlp-6: NOTRUN -> [SKIP][104] ([i915#1845] / [i915#3708]) [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@prime_vgem@basic-fence-flip.html * igt@prime_vgem@basic-fence-mmap: - bat-mtlp-6: NOTRUN -> [SKIP][105] ([i915#3708] / [i915#4077]) +1 other test skip [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@prime_vgem@basic-fence-mmap.html * igt@prime_vgem@basic-fence-read: - bat-adlp-9: NOTRUN -> [SKIP][106] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 other tests skip [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-adlp-9/igt@prime_vgem@basic-fence-read.html * igt@prime_vgem@basic-write: - bat-mtlp-6: NOTRUN -> [SKIP][107] ([i915#3708]) +2 other tests skip [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-mtlp-6/igt@prime_vgem@basic-write.html #### Possible fixes #### * igt@gem_exec_suspend@basic-s0@smem: - bat-jsl-3: [INCOMPLETE][108] ([i915#9275]) -> [PASS][109] [108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/bat-jsl-3/igt@gem_exec_suspend@basic-s0@smem.html [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-jsl-3/igt@gem_exec_suspend@basic-s0@smem.html - bat-dg2-9: [INCOMPLETE][110] ([i915#9275]) -> [PASS][111] [110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/bat-dg2-9/igt@gem_exec_suspend@basic-s0@smem.html [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-dg2-9/igt@gem_exec_suspend@basic-s0@smem.html * igt@i915_suspend@basic-s3-without-i915: - bat-jsl-3: [FAIL][112] ([fdo#103375]) -> [PASS][113] [112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/bat-jsl-3/igt@i915_suspend@basic-s3-without-i915.html [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-jsl-3/igt@i915_suspend@basic-s3-without-i915.html * igt@kms_chamelium_edid@hdmi-edid-read: - {bat-dg2-13}: [DMESG-WARN][114] ([i915#7952]) -> [PASS][115] [114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/bat-dg2-13/igt@kms_chamelium_edid@hdmi-edid-read.html [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/bat-dg2-13/igt@kms_chamelium_edid@hdmi-edid-read.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [IGT#3]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/3 [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849 [i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122 [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190 [i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582 [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282 [i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637 [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078 [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4093]: https://gitlab.freedesktop.org/drm/intel/issues/4093 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212 [i915#4342]: https://gitlab.freedesktop.org/drm/intel/issues/4342 [i915#4369]: https://gitlab.freedesktop.org/drm/intel/issues/4369 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190 [i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274 [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334 [i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078 [i915#6121]: https://gitlab.freedesktop.org/drm/intel/issues/6121 [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621 [i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645 [i915#7443]: https://gitlab.freedesktop.org/drm/intel/issues/7443 [i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456 [i915#7952]: https://gitlab.freedesktop.org/drm/intel/issues/7952 [i915#8296]: https://gitlab.freedesktop.org/drm/intel/issues/8296 [i915#8298]: https://gitlab.freedesktop.org/drm/intel/issues/8298 [i915#8299]: https://gitlab.freedesktop.org/drm/intel/issues/8299 [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668 [i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809 [i915#8913]: https://gitlab.freedesktop.org/drm/intel/issues/8913 [i915#9270]: https://gitlab.freedesktop.org/drm/intel/issues/9270 [i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275 [i915#9276]: https://gitlab.freedesktop.org/drm/intel/issues/9276 [i915#9278]: https://gitlab.freedesktop.org/drm/intel/issues/9278 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7474 -> IGTPW_9745 CI-20190529: 20190529 CI_DRM_13609: 1b25a43002e4409156a9b3aa1cb8c08eb4dd343d @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_9745: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/index.html IGT_7474: 9d91cf2c6e7bb64d60c2030d1535e40ca0ad53ee @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git Testlist changes ---------------- +igt@kms_pm_backlight@bad-brightness +igt@kms_pm_backlight@basic-brightness +igt@kms_pm_backlight@fade +igt@kms_pm_backlight@fade-with-dpms +igt@kms_pm_backlight@fade-with-suspend +igt@kms_pm_dc@dc3co-vpb-simulation +igt@kms_pm_dc@dc5-dpms +igt@kms_pm_dc@dc5-dpms-negative +igt@kms_pm_dc@dc5-psr +igt@kms_pm_dc@dc6-dpms +igt@kms_pm_dc@dc6-psr +igt@kms_pm_dc@dc9-dpms +igt@kms_pm_lpsp@kms-lpsp +igt@kms_pm_lpsp@screens-disabled +igt@kms_pm_rpm@basic-pci-d3-state +igt@kms_pm_rpm@basic-rte +igt@kms_pm_rpm@cursor +igt@kms_pm_rpm@cursor-dpms +igt@kms_pm_rpm@dpms-lpsp +igt@kms_pm_rpm@dpms-mode-unset-lpsp +igt@kms_pm_rpm@dpms-mode-unset-non-lpsp +igt@kms_pm_rpm@dpms-non-lpsp +igt@kms_pm_rpm@drm-resources-equal +igt@kms_pm_rpm@fences +igt@kms_pm_rpm@fences-dpms +igt@kms_pm_rpm@i2c +igt@kms_pm_rpm@legacy-planes +igt@kms_pm_rpm@legacy-planes-dpms +igt@kms_pm_rpm@modeset-lpsp +igt@kms_pm_rpm@modeset-lpsp-stress +igt@kms_pm_rpm@modeset-lpsp-stress-no-wait +igt@kms_pm_rpm@modeset-non-lpsp +igt@kms_pm_rpm@modeset-non-lpsp-stress +igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait +igt@kms_pm_rpm@modeset-pc8-residency-stress +igt@kms_pm_rpm@modeset-stress-extra-wait +igt@kms_pm_rpm@pc8-residency +igt@kms_pm_rpm@pm-caching +igt@kms_pm_rpm@pm-tiling +igt@kms_pm_rpm@system-suspend-modeset +igt@kms_pm_rpm@universal-planes +igt@kms_pm_rpm@universal-planes-dpms -igt@i915_pm_backlight@bad-brightness -igt@i915_pm_backlight@basic-brightness -igt@i915_pm_backlight@fade -igt@i915_pm_backlight@fade-with-dpms -igt@i915_pm_backlight@fade-with-suspend -igt@i915_pm_dc@dc3co-vpb-simulation -igt@i915_pm_dc@dc5-dpms -igt@i915_pm_dc@dc5-dpms-negative -igt@i915_pm_dc@dc5-psr -igt@i915_pm_dc@dc6-dpms -igt@i915_pm_dc@dc6-psr -igt@i915_pm_dc@dc9-dpms -igt@i915_pm_lpsp@kms-lpsp -igt@i915_pm_lpsp@screens-disabled -igt@i915_pm_rpm@basic-pci-d3-state -igt@i915_pm_rpm@basic-rte -igt@i915_pm_rpm@cursor -igt@i915_pm_rpm@cursor-dpms -igt@i915_pm_rpm@dpms-lpsp -igt@i915_pm_rpm@dpms-mode-unset-lpsp -igt@i915_pm_rpm@dpms-mode-unset-non-lpsp -igt@i915_pm_rpm@dpms-non-lpsp -igt@i915_pm_rpm@drm-resources-equal -igt@i915_pm_rpm@fences -igt@i915_pm_rpm@fences-dpms -igt@i915_pm_rpm@i2c -igt@i915_pm_rpm@legacy-planes -igt@i915_pm_rpm@legacy-planes-dpms -igt@i915_pm_rpm@modeset-lpsp -igt@i915_pm_rpm@modeset-lpsp-stress -igt@i915_pm_rpm@modeset-lpsp-stress-no-wait -igt@i915_pm_rpm@modeset-non-lpsp -igt@i915_pm_rpm@modeset-non-lpsp-stress -igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait -igt@i915_pm_rpm@modeset-pc8-residency-stress -igt@i915_pm_rpm@modeset-stress-extra-wait -igt@i915_pm_rpm@pc8-residency -igt@i915_pm_rpm@pm-caching -igt@i915_pm_rpm@pm-tiling -igt@i915_pm_rpm@system-suspend-modeset -igt@i915_pm_rpm@universal-planes -igt@i915_pm_rpm@universal-planes-dpms -igt@kms_writeback@writeback-check-output-xrgb2101010 -igt@kms_writeback@writeback-fb-id-xrgb2101010 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/index.html [-- Attachment #2: Type: text/html, Size: 40775 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] ✓ CI.xeBAT: success for Separate display PM tests from Core (rev3) 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (7 preceding siblings ...) 2023-09-07 18:38 ` [igt-dev] ✓ Fi.CI.BAT: success for Separate display PM tests from Core (rev3) Patchwork @ 2023-09-07 19:17 ` Patchwork 2023-09-07 20:52 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 9 siblings, 0 replies; 18+ messages in thread From: Patchwork @ 2023-09-07 19:17 UTC (permalink / raw) To: Modem, Bhanuprakash; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 1903 bytes --] == Series Details == Series: Separate display PM tests from Core (rev3) URL : https://patchwork.freedesktop.org/series/122790/ State : success == Summary == CI Bug Log - changes from XEIGT_7474_BAT -> XEIGTPW_9745_BAT ==================================================== Summary ------- **SUCCESS** No regressions found. Participating hosts (4 -> 4) ------------------------------ No changes in participating hosts Known issues ------------ Here are the changes found in XEIGTPW_9745_BAT that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1: - bat-adlp-7: [PASS][1] -> [FAIL][2] ([Intel XE#480]) +1 other test fail [1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7474/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1.html [2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_9745/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [Intel XE#480]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/480 [Intel XE#526]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/526 Build changes ------------- * IGT: IGT_7474 -> IGTPW_9745 * Linux: xe-357-bae46e59a7f667734376ddb0d2451967dfb264f1 -> xe-361-bae46e59a7f667734376ddb0d2451967dfb264f1 IGTPW_9745: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/index.html IGT_7474: 9d91cf2c6e7bb64d60c2030d1535e40ca0ad53ee @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git xe-357-bae46e59a7f667734376ddb0d2451967dfb264f1: bae46e59a7f667734376ddb0d2451967dfb264f1 xe-361-bae46e59a7f667734376ddb0d2451967dfb264f1: bae46e59a7f667734376ddb0d2451967dfb264f1 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_9745/index.html [-- Attachment #2: Type: text/html, Size: 2415 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for Separate display PM tests from Core (rev3) 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (8 preceding siblings ...) 2023-09-07 19:17 ` [igt-dev] ✓ CI.xeBAT: " Patchwork @ 2023-09-07 20:52 ` Patchwork 9 siblings, 0 replies; 18+ messages in thread From: Patchwork @ 2023-09-07 20:52 UTC (permalink / raw) To: Modem, Bhanuprakash; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 100261 bytes --] == Series Details == Series: Separate display PM tests from Core (rev3) URL : https://patchwork.freedesktop.org/series/122790/ State : failure == Summary == CI Bug Log - changes from CI_DRM_13609_full -> IGTPW_9745_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_9745_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_9745_full, please notify your bug team (lgci.bug.filing@intel.com) 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_9745/index.html Participating hosts (9 -> 9) ------------------------------ No changes in participating hosts Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_9745_full: ### IGT changes ### #### Possible regressions #### * igt@kms_fbcon_fbt@fbc-suspend: - shard-tglu: [PASS][1] -> [INCOMPLETE][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-tglu-4/igt@kms_fbcon_fbt@fbc-suspend.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-2/igt@kms_fbcon_fbt@fbc-suspend.html * {igt@kms_pm_backlight@fade-with-dpms} (NEW): - shard-rkl: NOTRUN -> [SKIP][3] +21 other tests skip [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_pm_backlight@fade-with-dpms.html - shard-dg1: NOTRUN -> [SKIP][4] +14 other tests skip [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-18/igt@kms_pm_backlight@fade-with-dpms.html * {igt@kms_pm_dc@dc6-dpms} (NEW): - shard-mtlp: NOTRUN -> [FAIL][5] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_pm_dc@dc6-dpms.html * {igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a} (NEW): - shard-dg2: NOTRUN -> [SKIP][6] +13 other tests skip [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-1/igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a.html - shard-tglu: NOTRUN -> [FAIL][7] +1 other test fail [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-3/igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a.html * {igt@kms_pm_rpm@dpms-non-lpsp} (NEW): - shard-tglu: NOTRUN -> [SKIP][8] +15 other tests skip [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-10/igt@kms_pm_rpm@dpms-non-lpsp.html - shard-mtlp: NOTRUN -> [SKIP][9] +6 other tests skip [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_pm_rpm@dpms-non-lpsp.html #### Warnings #### * igt@gem_create@create-ext-cpu-access-big: - shard-dg2: [ABORT][10] ([i915#7461]) -> [INCOMPLETE][11] [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-7/igt@gem_create@create-ext-cpu-access-big.html [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@gem_create@create-ext-cpu-access-big.html New tests --------- New tests have been introduced between CI_DRM_13609_full and IGTPW_9745_full: ### New IGT tests (47) ### * igt@kms_pm_backlight@bad-brightness: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@basic-brightness: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@fade: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@fade-with-dpms: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@fade-with-dpms@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_pm_backlight@fade-with-suspend: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc3co-vpb-simulation: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc5-dpms: - Statuses : 7 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc5-dpms-negative: - Statuses : 6 pass(s) 2 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc5-psr: - Statuses : 1 pass(s) 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc6-dpms: - Statuses : 2 fail(s) 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc6-psr: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc9-dpms: - Statuses : 3 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_lpsp@kms-lpsp: - Statuses : - Exec time: [None] s * igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-dp: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-edp: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a: - Statuses : 1 fail(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-vga: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_lpsp@screens-disabled: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@basic-pci-d3-state: - Statuses : 6 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@basic-rte: - Statuses : 7 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@cursor: - Statuses : 7 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@cursor-dpms: - Statuses : 7 pass(s) - Exec time: [0.0] s * igt@kms_pm_rpm@dpms-lpsp: - Statuses : 2 pass(s) 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@dpms-mode-unset-lpsp: - Statuses : 3 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@dpms-mode-unset-non-lpsp: - Statuses : 3 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@dpms-non-lpsp: - Statuses : 3 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@drm-resources-equal: - Statuses : 6 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@fences: - Statuses : 4 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@fences-dpms: - Statuses : 4 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@i2c: - Statuses : 6 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@legacy-planes: - Statuses : - Exec time: [None] s * igt@kms_pm_rpm@legacy-planes-dpms: - Statuses : - Exec time: [None] s * igt@kms_pm_rpm@modeset-lpsp: - Statuses : 3 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-lpsp-stress: - Statuses : 2 pass(s) 5 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-lpsp-stress-no-wait: - Statuses : 1 pass(s) 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-non-lpsp: - Statuses : 4 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-non-lpsp-stress: - Statuses : 4 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait: - Statuses : 5 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-pc8-residency-stress: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-stress-extra-wait: - Statuses : - Exec time: [None] s * igt@kms_pm_rpm@pc8-residency: - Statuses : 8 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@pm-caching: - Statuses : 4 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@pm-tiling: - Statuses : 4 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@system-suspend-modeset: - Statuses : 6 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@universal-planes: - Statuses : - Exec time: [None] s * igt@kms_pm_rpm@universal-planes-dpms: - Statuses : - Exec time: [None] s Known issues ------------ Here are the changes found in IGTPW_9745_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@api_intel_bb@blit-reloc-keep-cache: - shard-mtlp: NOTRUN -> [SKIP][12] ([i915#8411]) [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@api_intel_bb@blit-reloc-keep-cache.html * igt@core_hotunplug@unbind-rebind: - shard-dg1: [PASS][13] -> [DMESG-WARN][14] ([i915#4391] / [i915#4423]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-19/igt@core_hotunplug@unbind-rebind.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-15/igt@core_hotunplug@unbind-rebind.html * igt@debugfs_test@basic-hwmon: - shard-mtlp: NOTRUN -> [SKIP][15] ([i915#7456]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@debugfs_test@basic-hwmon.html * igt@device_reset@unbind-cold-reset-rebind: - shard-dg2: NOTRUN -> [SKIP][16] ([i915#7701]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@device_reset@unbind-cold-reset-rebind.html * igt@drm_buddy@drm_buddy_test: - shard-mtlp: NOTRUN -> [SKIP][17] ([i915#8661]) +1 other test skip [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@drm_buddy@drm_buddy_test.html - shard-dg2: NOTRUN -> [SKIP][18] ([i915#8661]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@drm_buddy@drm_buddy_test.html - shard-rkl: NOTRUN -> [SKIP][19] ([i915#8661]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@drm_buddy@drm_buddy_test.html * igt@drm_fdinfo@all-busy-idle-check-all: - shard-dg2: NOTRUN -> [SKIP][20] ([i915#8414]) +1 other test skip [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@drm_fdinfo@all-busy-idle-check-all.html * igt@drm_fdinfo@busy-check-all@ccs0: - shard-mtlp: NOTRUN -> [SKIP][21] ([i915#8414]) +23 other tests skip [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@drm_fdinfo@busy-check-all@ccs0.html * igt@drm_fdinfo@busy@vcs1: - shard-dg1: NOTRUN -> [SKIP][22] ([i915#8414]) +4 other tests skip [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-19/igt@drm_fdinfo@busy@vcs1.html * igt@feature_discovery@chamelium: - shard-mtlp: NOTRUN -> [SKIP][23] ([i915#4854]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@feature_discovery@chamelium.html * igt@feature_discovery@display-3x: - shard-mtlp: NOTRUN -> [SKIP][24] ([i915#1839]) +1 other test skip [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@feature_discovery@display-3x.html - shard-dg2: NOTRUN -> [SKIP][25] ([i915#1839]) +1 other test skip [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@feature_discovery@display-3x.html * igt@feature_discovery@psr1: - shard-dg2: NOTRUN -> [SKIP][26] ([i915#658]) +4 other tests skip [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@feature_discovery@psr1.html * igt@gem_busy@semaphore: - shard-dg1: NOTRUN -> [SKIP][27] ([i915#3936]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@gem_busy@semaphore.html * igt@gem_caching@reads: - shard-mtlp: NOTRUN -> [SKIP][28] ([i915#4873]) [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-8/igt@gem_caching@reads.html * igt@gem_ccs@block-copy-compressed: - shard-mtlp: NOTRUN -> [SKIP][29] ([i915#3555] / [i915#5325]) +1 other test skip [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@gem_ccs@block-copy-compressed.html * igt@gem_ccs@suspend-resume@xmajor-compressed-compfmt0-smem-lmem0: - shard-dg2: [PASS][30] -> [INCOMPLETE][31] ([i915#7297]) [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-10/igt@gem_ccs@suspend-resume@xmajor-compressed-compfmt0-smem-lmem0.html [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@gem_ccs@suspend-resume@xmajor-compressed-compfmt0-smem-lmem0.html * igt@gem_close_race@multigpu-basic-process: - shard-mtlp: NOTRUN -> [SKIP][32] ([i915#7697]) [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_close_race@multigpu-basic-process.html * igt@gem_ctx_persistence@engines-hang: - shard-snb: NOTRUN -> [SKIP][33] ([fdo#109271] / [i915#1099]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-snb4/igt@gem_ctx_persistence@engines-hang.html * igt@gem_ctx_persistence@hang: - shard-mtlp: NOTRUN -> [SKIP][34] ([i915#8555]) +2 other tests skip [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_ctx_persistence@hang.html * igt@gem_ctx_persistence@heartbeat-stop: - shard-dg2: NOTRUN -> [SKIP][35] ([i915#8555]) +1 other test skip [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@gem_ctx_persistence@heartbeat-stop.html * igt@gem_ctx_sseu@engines: - shard-dg2: NOTRUN -> [SKIP][36] ([i915#280]) [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@gem_ctx_sseu@engines.html - shard-mtlp: NOTRUN -> [SKIP][37] ([i915#280]) [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_ctx_sseu@engines.html * igt@gem_eio@kms: - shard-dg2: NOTRUN -> [FAIL][38] ([i915#5784]) [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@gem_eio@kms.html - shard-dg1: NOTRUN -> [FAIL][39] ([i915#5784]) [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-18/igt@gem_eio@kms.html * igt@gem_eio@reset-stress: - shard-dg1: [PASS][40] -> [FAIL][41] ([i915#5784]) [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-12/igt@gem_eio@reset-stress.html [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-16/igt@gem_eio@reset-stress.html * igt@gem_exec_balancer@bonded-dual: - shard-mtlp: NOTRUN -> [SKIP][42] ([i915#4771]) +1 other test skip [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@gem_exec_balancer@bonded-dual.html * igt@gem_exec_capture@pi@vcs0: - shard-mtlp: NOTRUN -> [FAIL][43] ([i915#4475]) [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@gem_exec_capture@pi@vcs0.html * igt@gem_exec_capture@pi@vcs1: - shard-mtlp: NOTRUN -> [DMESG-WARN][44] ([i915#5591] / [i915#8504]) [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@gem_exec_capture@pi@vcs1.html * igt@gem_exec_fair@basic-deadline: - shard-mtlp: NOTRUN -> [SKIP][45] ([i915#4473] / [i915#4771]) +2 other tests skip [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_exec_fair@basic-deadline.html * igt@gem_exec_fair@basic-pace-share@rcs0: - shard-tglu: [PASS][46] -> [FAIL][47] ([i915#2842]) [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-tglu-5/igt@gem_exec_fair@basic-pace-share@rcs0.html [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-5/igt@gem_exec_fair@basic-pace-share@rcs0.html * igt@gem_exec_fair@basic-pace@rcs0: - shard-glk: [PASS][48] -> [FAIL][49] ([i915#2842]) +2 other tests fail [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-glk6/igt@gem_exec_fair@basic-pace@rcs0.html [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-glk8/igt@gem_exec_fair@basic-pace@rcs0.html * igt@gem_exec_fair@basic-pace@vecs0: - shard-rkl: [PASS][50] -> [FAIL][51] ([i915#2842]) +1 other test fail [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-rkl-4/igt@gem_exec_fair@basic-pace@vecs0.html [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-2/igt@gem_exec_fair@basic-pace@vecs0.html * igt@gem_exec_fair@basic-throttle: - shard-dg2: NOTRUN -> [SKIP][52] ([i915#3539]) +2 other tests skip [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@gem_exec_fair@basic-throttle.html * igt@gem_exec_fence@submit67: - shard-dg2: NOTRUN -> [SKIP][53] ([i915#4812]) +2 other tests skip [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@gem_exec_fence@submit67.html - shard-dg1: NOTRUN -> [SKIP][54] ([i915#4812]) [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@gem_exec_fence@submit67.html - shard-mtlp: NOTRUN -> [SKIP][55] ([i915#4812]) [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@gem_exec_fence@submit67.html * igt@gem_exec_flush@basic-batch-kernel-default-cmd: - shard-dg2: NOTRUN -> [SKIP][56] ([i915#3539] / [i915#4852]) +1 other test skip [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-7/igt@gem_exec_flush@basic-batch-kernel-default-cmd.html * igt@gem_exec_params@secure-non-root: - shard-mtlp: NOTRUN -> [SKIP][57] ([fdo#112283]) [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@gem_exec_params@secure-non-root.html * igt@gem_exec_reloc@basic-gtt-cpu-noreloc: - shard-mtlp: NOTRUN -> [SKIP][58] ([i915#3281]) +14 other tests skip [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_exec_reloc@basic-gtt-cpu-noreloc.html * igt@gem_exec_reloc@basic-gtt-wc-active: - shard-rkl: NOTRUN -> [SKIP][59] ([i915#3281]) +1 other test skip [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-2/igt@gem_exec_reloc@basic-gtt-wc-active.html - shard-dg1: NOTRUN -> [SKIP][60] ([i915#3281]) +1 other test skip [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@gem_exec_reloc@basic-gtt-wc-active.html * igt@gem_exec_reloc@basic-write-read-active: - shard-dg2: NOTRUN -> [SKIP][61] ([i915#3281]) +14 other tests skip [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@gem_exec_reloc@basic-write-read-active.html * igt@gem_exec_schedule@deep@rcs0: - shard-mtlp: NOTRUN -> [SKIP][62] ([i915#4537]) [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@gem_exec_schedule@deep@rcs0.html * igt@gem_exec_schedule@preempt-queue-contexts-chain: - shard-dg2: NOTRUN -> [SKIP][63] ([i915#4537] / [i915#4812]) +1 other test skip [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@gem_exec_schedule@preempt-queue-contexts-chain.html * igt@gem_exec_schedule@preemptive-hang@vcs0: - shard-mtlp: [PASS][64] -> [FAIL][65] ([i915#9051]) [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-6/igt@gem_exec_schedule@preemptive-hang@vcs0.html [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@gem_exec_schedule@preemptive-hang@vcs0.html * igt@gem_exec_schedule@semaphore-power: - shard-mtlp: NOTRUN -> [SKIP][66] ([i915#4537] / [i915#4812]) +1 other test skip [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@gem_exec_schedule@semaphore-power.html * igt@gem_exec_suspend@basic-s3-devices@smem: - shard-mtlp: [PASS][67] -> [DMESG-WARN][68] ([i915#9260]) [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-8/igt@gem_exec_suspend@basic-s3-devices@smem.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@gem_exec_suspend@basic-s3-devices@smem.html * igt@gem_exec_suspend@basic-s4-devices@lmem0: - shard-dg2: NOTRUN -> [ABORT][69] ([i915#7975] / [i915#8213]) [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-1/igt@gem_exec_suspend@basic-s4-devices@lmem0.html * igt@gem_fence_thrash@bo-write-verify-x: - shard-dg2: NOTRUN -> [SKIP][70] ([i915#4860]) +2 other tests skip [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-7/igt@gem_fence_thrash@bo-write-verify-x.html * igt@gem_fenced_exec_thrash@no-spare-fences-interruptible: - shard-mtlp: NOTRUN -> [SKIP][71] ([i915#4860]) +1 other test skip [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@gem_fenced_exec_thrash@no-spare-fences-interruptible.html * igt@gem_lmem_swapping@parallel-random-verify-ccs: - shard-mtlp: NOTRUN -> [SKIP][72] ([i915#4613]) +5 other tests skip [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@gem_lmem_swapping@parallel-random-verify-ccs.html - shard-apl: NOTRUN -> [SKIP][73] ([fdo#109271] / [i915#4613]) [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-apl2/igt@gem_lmem_swapping@parallel-random-verify-ccs.html * igt@gem_lmem_swapping@smem-oom@lmem0: - shard-dg2: [PASS][74] -> [TIMEOUT][75] ([i915#5493]) [74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-1/igt@gem_lmem_swapping@smem-oom@lmem0.html [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@gem_lmem_swapping@smem-oom@lmem0.html * igt@gem_mmap_gtt@cpuset-big-copy: - shard-dg2: NOTRUN -> [SKIP][76] ([i915#4077]) +20 other tests skip [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@gem_mmap_gtt@cpuset-big-copy.html * igt@gem_mmap_gtt@cpuset-medium-copy: - shard-mtlp: NOTRUN -> [SKIP][77] ([i915#4077]) +22 other tests skip [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_mmap_gtt@cpuset-medium-copy.html * igt@gem_mmap_wc@set-cache-level: - shard-mtlp: NOTRUN -> [SKIP][78] ([i915#4083]) +7 other tests skip [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@gem_mmap_wc@set-cache-level.html * igt@gem_mmap_wc@write-gtt-read-wc: - shard-dg2: NOTRUN -> [SKIP][79] ([i915#4083]) +3 other tests skip [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@gem_mmap_wc@write-gtt-read-wc.html * igt@gem_partial_pwrite_pread@reads-uncached: - shard-dg2: NOTRUN -> [SKIP][80] ([i915#3282]) +11 other tests skip [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@gem_partial_pwrite_pread@reads-uncached.html * igt@gem_partial_pwrite_pread@writes-after-reads-display: - shard-rkl: NOTRUN -> [SKIP][81] ([i915#3282]) +2 other tests skip [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@gem_partial_pwrite_pread@writes-after-reads-display.html - shard-dg1: NOTRUN -> [SKIP][82] ([i915#3282]) +1 other test skip [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-16/igt@gem_partial_pwrite_pread@writes-after-reads-display.html * igt@gem_pxp@display-protected-crc: - shard-dg2: NOTRUN -> [SKIP][83] ([i915#4270]) +3 other tests skip [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@gem_pxp@display-protected-crc.html * igt@gem_pxp@verify-pxp-stale-buf-optout-execution: - shard-mtlp: NOTRUN -> [SKIP][84] ([i915#4270]) +5 other tests skip [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@gem_pxp@verify-pxp-stale-buf-optout-execution.html * igt@gem_readwrite@read-bad-handle: - shard-mtlp: NOTRUN -> [SKIP][85] ([i915#3282]) +12 other tests skip [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@gem_readwrite@read-bad-handle.html * igt@gem_render_copy@y-tiled-ccs-to-yf-tiled: - shard-mtlp: NOTRUN -> [SKIP][86] ([i915#8428]) +9 other tests skip [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_render_copy@y-tiled-ccs-to-yf-tiled.html * igt@gem_set_tiling_vs_pwrite: - shard-mtlp: NOTRUN -> [SKIP][87] ([i915#4079]) +2 other tests skip [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@gem_set_tiling_vs_pwrite.html * igt@gem_softpin@evict-snoop: - shard-mtlp: NOTRUN -> [SKIP][88] ([i915#4885]) [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@gem_softpin@evict-snoop.html * igt@gem_spin_batch@spin-all-new: - shard-dg2: NOTRUN -> [FAIL][89] ([i915#5889]) [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@gem_spin_batch@spin-all-new.html * igt@gem_tiled_pread_pwrite: - shard-dg2: NOTRUN -> [SKIP][90] ([i915#4079]) +1 other test skip [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-7/igt@gem_tiled_pread_pwrite.html * igt@gem_userptr_blits@map-fixed-invalidate-overlap: - shard-dg2: NOTRUN -> [SKIP][91] ([i915#3297] / [i915#4880]) +2 other tests skip [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@gem_userptr_blits@map-fixed-invalidate-overlap.html * igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy: - shard-dg1: NOTRUN -> [SKIP][92] ([i915#3297] / [i915#4880]) [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html * igt@gem_userptr_blits@mmap-offset-banned@gtt: - shard-mtlp: NOTRUN -> [SKIP][93] ([i915#3297]) +8 other tests skip [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@gem_userptr_blits@mmap-offset-banned@gtt.html * igt@gem_userptr_blits@unsync-unmap-cycles: - shard-dg2: NOTRUN -> [SKIP][94] ([i915#3297]) [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@gem_userptr_blits@unsync-unmap-cycles.html * igt@gem_workarounds@suspend-resume: - shard-mtlp: [PASS][95] -> [ABORT][96] ([i915#9262]) [95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-6/igt@gem_workarounds@suspend-resume.html [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@gem_workarounds@suspend-resume.html * igt@gen3_render_tiledx_blits: - shard-rkl: NOTRUN -> [SKIP][97] ([fdo#109289]) [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@gen3_render_tiledx_blits.html * igt@gen7_exec_parse@basic-offset: - shard-dg2: NOTRUN -> [SKIP][98] ([fdo#109289]) +5 other tests skip [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@gen7_exec_parse@basic-offset.html * igt@gen9_exec_parse@batch-zero-length: - shard-dg1: NOTRUN -> [SKIP][99] ([i915#2527]) [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-18/igt@gen9_exec_parse@batch-zero-length.html * igt@gen9_exec_parse@bb-chained: - shard-dg2: NOTRUN -> [SKIP][100] ([i915#2856]) +1 other test skip [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@gen9_exec_parse@bb-chained.html * igt@gen9_exec_parse@unaligned-jump: - shard-mtlp: NOTRUN -> [SKIP][101] ([i915#2856]) +9 other tests skip [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@gen9_exec_parse@unaligned-jump.html * igt@i915_module_load@load: - shard-mtlp: NOTRUN -> [SKIP][102] ([i915#6227]) [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@i915_module_load@load.html - shard-dg2: NOTRUN -> [SKIP][103] ([i915#6227]) [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@i915_module_load@load.html * igt@i915_module_load@reload-with-fault-injection: - shard-dg2: NOTRUN -> [DMESG-WARN][104] ([i915#7061] / [i915#8617]) [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@i915_module_load@reload-with-fault-injection.html * igt@i915_module_load@resize-bar: - shard-mtlp: NOTRUN -> [SKIP][105] ([i915#6412]) [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@i915_module_load@resize-bar.html * igt@i915_pipe_stress@stress-xrgb8888-ytiled: - shard-dg2: NOTRUN -> [SKIP][106] ([i915#7091]) [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@i915_pipe_stress@stress-xrgb8888-ytiled.html * igt@i915_pm_rc6_residency@rc6-idle@rcs0: - shard-dg1: [PASS][107] -> [FAIL][108] ([i915#3591]) [107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-14/igt@i915_pm_rc6_residency@rc6-idle@rcs0.html [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-18/igt@i915_pm_rc6_residency@rc6-idle@rcs0.html * igt@i915_pm_rpm@gem-mmap-type@gtt-smem0: - shard-mtlp: NOTRUN -> [SKIP][109] ([i915#8431]) [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@i915_pm_rpm@gem-mmap-type@gtt-smem0.html * igt@i915_pm_rps@min-max-config-idle: - shard-dg2: NOTRUN -> [SKIP][110] ([i915#6621]) [110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@i915_pm_rps@min-max-config-idle.html * igt@i915_pm_rps@reset: - shard-tglu: [PASS][111] -> [INCOMPLETE][112] ([i915#8320]) [111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-tglu-4/igt@i915_pm_rps@reset.html [112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-2/igt@i915_pm_rps@reset.html - shard-mtlp: NOTRUN -> [FAIL][113] ([i915#8346]) [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@i915_pm_rps@reset.html * igt@i915_pm_rps@thresholds-park@gt1: - shard-mtlp: NOTRUN -> [SKIP][114] ([i915#8925]) +1 other test skip [114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@i915_pm_rps@thresholds-park@gt1.html * igt@i915_query@query-topology-coherent-slice-mask: - shard-mtlp: NOTRUN -> [SKIP][115] ([i915#6188]) [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@i915_query@query-topology-coherent-slice-mask.html - shard-dg2: NOTRUN -> [SKIP][116] ([i915#6188]) [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@i915_query@query-topology-coherent-slice-mask.html * igt@i915_suspend@basic-s3-without-i915: - shard-mtlp: NOTRUN -> [SKIP][117] ([i915#6645]) [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-8/igt@i915_suspend@basic-s3-without-i915.html * igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy: - shard-mtlp: NOTRUN -> [SKIP][118] ([i915#4212]) +1 other test skip [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy.html - shard-dg2: NOTRUN -> [SKIP][119] ([i915#4212]) [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy.html - shard-dg1: NOTRUN -> [SKIP][120] ([i915#4212]) [120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy.html * igt@kms_addfb_basic@addfb25-y-tiled-small-legacy: - shard-mtlp: NOTRUN -> [SKIP][121] ([i915#5190]) [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html * igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-2-y-rc_ccs: - shard-rkl: NOTRUN -> [SKIP][122] ([i915#8502]) +3 other tests skip [122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-2-y-rc_ccs.html * igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-4-mc_ccs: - shard-dg2: NOTRUN -> [SKIP][123] ([i915#8502] / [i915#8709]) +11 other tests skip [123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-4-mc_ccs.html * igt@kms_async_flips@crc@pipe-a-hdmi-a-3: - shard-dg2: NOTRUN -> [FAIL][124] ([i915#8247]) +3 other tests fail [124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-1/igt@kms_async_flips@crc@pipe-a-hdmi-a-3.html * igt@kms_async_flips@crc@pipe-b-hdmi-a-3: - shard-dg1: NOTRUN -> [FAIL][125] ([i915#8247]) +3 other tests fail [125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@kms_async_flips@crc@pipe-b-hdmi-a-3.html * igt@kms_atomic@plane-primary-overlay-mutable-zpos: - shard-mtlp: NOTRUN -> [SKIP][126] ([i915#404]) [126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_atomic@plane-primary-overlay-mutable-zpos.html - shard-dg2: NOTRUN -> [SKIP][127] ([i915#404]) [127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@kms_atomic@plane-primary-overlay-mutable-zpos.html - shard-rkl: NOTRUN -> [SKIP][128] ([i915#404]) [128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@kms_atomic@plane-primary-overlay-mutable-zpos.html - shard-dg1: NOTRUN -> [SKIP][129] ([i915#404]) [129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-15/igt@kms_atomic@plane-primary-overlay-mutable-zpos.html * igt@kms_atomic_transition@plane-all-modeset-transition-fencing: - shard-mtlp: NOTRUN -> [SKIP][130] ([i915#1769] / [i915#3555]) +1 other test skip [130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_atomic_transition@plane-all-modeset-transition-fencing.html * igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels: - shard-dg2: NOTRUN -> [SKIP][131] ([i915#1769] / [i915#3555]) [131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels.html * igt@kms_big_fb@4-tiled-16bpp-rotate-90: - shard-dg1: NOTRUN -> [SKIP][132] ([i915#4538] / [i915#5286]) +1 other test skip [132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@kms_big_fb@4-tiled-16bpp-rotate-90.html * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-async-flip: - shard-rkl: NOTRUN -> [SKIP][133] ([i915#5286]) [133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip: - shard-mtlp: NOTRUN -> [FAIL][134] ([i915#5138]) [134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip.html * igt@kms_big_fb@linear-64bpp-rotate-270: - shard-mtlp: NOTRUN -> [SKIP][135] ([fdo#111614]) +8 other tests skip [135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@kms_big_fb@linear-64bpp-rotate-270.html * igt@kms_big_fb@x-tiled-16bpp-rotate-90: - shard-dg2: NOTRUN -> [SKIP][136] ([fdo#111614]) +5 other tests skip [136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_big_fb@x-tiled-16bpp-rotate-90.html * igt@kms_big_fb@y-tiled-8bpp-rotate-90: - shard-dg2: NOTRUN -> [SKIP][137] ([i915#5190]) +18 other tests skip [137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-7/igt@kms_big_fb@y-tiled-8bpp-rotate-90.html - shard-rkl: NOTRUN -> [SKIP][138] ([fdo#111614] / [i915#3638]) +1 other test skip [138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_big_fb@y-tiled-8bpp-rotate-90.html - shard-dg1: NOTRUN -> [SKIP][139] ([i915#3638]) +2 other tests skip [139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@kms_big_fb@y-tiled-8bpp-rotate-90.html * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip: - shard-mtlp: NOTRUN -> [SKIP][140] ([fdo#111615]) +17 other tests skip [140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip.html * igt@kms_big_fb@yf-tiled-16bpp-rotate-90: - shard-dg2: NOTRUN -> [SKIP][141] ([i915#4538] / [i915#5190]) +7 other tests skip [141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_big_fb@yf-tiled-16bpp-rotate-90.html * igt@kms_big_fb@yf-tiled-64bpp-rotate-270: - shard-rkl: NOTRUN -> [SKIP][142] ([fdo#110723]) [142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-2/igt@kms_big_fb@yf-tiled-64bpp-rotate-270.html * igt@kms_big_fb@yf-tiled-addfb-size-overflow: - shard-mtlp: NOTRUN -> [SKIP][143] ([i915#6187]) [143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_big_fb@yf-tiled-addfb-size-overflow.html * igt@kms_big_joiner@2x-modeset: - shard-dg2: NOTRUN -> [SKIP][144] ([i915#2705]) [144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@kms_big_joiner@2x-modeset.html * igt@kms_ccs@pipe-a-bad-pixel-format-4_tiled_mtl_rc_ccs: - shard-rkl: NOTRUN -> [SKIP][145] ([i915#5354] / [i915#6095]) +1 other test skip [145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@kms_ccs@pipe-a-bad-pixel-format-4_tiled_mtl_rc_ccs.html * igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs: - shard-mtlp: NOTRUN -> [SKIP][146] ([i915#3886] / [i915#6095]) +19 other tests skip [146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_ccs: - shard-rkl: NOTRUN -> [SKIP][147] ([i915#3734] / [i915#5354] / [i915#6095]) [147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_ccs.html * igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs: - shard-mtlp: NOTRUN -> [SKIP][148] ([i915#6095]) +62 other tests skip [148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs.html * igt@kms_ccs@pipe-b-bad-aux-stride-4_tiled_mtl_mc_ccs: - shard-tglu: NOTRUN -> [SKIP][149] ([i915#5354] / [i915#6095]) [149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-9/igt@kms_ccs@pipe-b-bad-aux-stride-4_tiled_mtl_mc_ccs.html * igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs: - shard-rkl: NOTRUN -> [SKIP][150] ([i915#3886] / [i915#5354] / [i915#6095]) +2 other tests skip [150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html - shard-dg1: NOTRUN -> [SKIP][151] ([i915#3689] / [i915#3886] / [i915#5354] / [i915#6095]) +1 other test skip [151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-16/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-b-random-ccs-data-4_tiled_dg2_rc_ccs: - shard-snb: NOTRUN -> [SKIP][152] ([fdo#109271]) +115 other tests skip [152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-snb4/igt@kms_ccs@pipe-b-random-ccs-data-4_tiled_dg2_rc_ccs.html * igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_mc_ccs: - shard-apl: NOTRUN -> [SKIP][153] ([fdo#109271] / [i915#3886]) +1 other test skip [153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-apl4/igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-c-crc-primary-rotation-180-yf_tiled_ccs: - shard-tglu: NOTRUN -> [SKIP][154] ([fdo#111615] / [i915#3689] / [i915#5354] / [i915#6095]) [154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-7/igt@kms_ccs@pipe-c-crc-primary-rotation-180-yf_tiled_ccs.html * igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_mc_ccs: - shard-dg1: NOTRUN -> [SKIP][155] ([i915#3689] / [i915#5354] / [i915#6095]) +1 other test skip [155]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_mc_ccs.html * igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs_cc: - shard-dg1: NOTRUN -> [SKIP][156] ([i915#5354] / [i915#6095]) +1 other test skip [156]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-19/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs_cc.html * igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc: - shard-dg2: NOTRUN -> [SKIP][157] ([i915#3689] / [i915#3886] / [i915#5354]) +14 other tests skip [157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html * igt@kms_ccs@pipe-d-crc-primary-basic-y_tiled_gen12_rc_ccs: - shard-dg2: NOTRUN -> [SKIP][158] ([i915#3689] / [i915#5354]) +33 other tests skip [158]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_ccs@pipe-d-crc-primary-basic-y_tiled_gen12_rc_ccs.html * igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc: - shard-rkl: NOTRUN -> [SKIP][159] ([i915#5354]) +5 other tests skip [159]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-1/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html * igt@kms_cdclk@mode-transition@pipe-b-hdmi-a-2: - shard-dg2: NOTRUN -> [SKIP][160] ([i915#7213]) +3 other tests skip [160]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_cdclk@mode-transition@pipe-b-hdmi-a-2.html * igt@kms_chamelium_color@ctm-0-50: - shard-rkl: NOTRUN -> [SKIP][161] ([fdo#111827]) [161]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@kms_chamelium_color@ctm-0-50.html - shard-tglu: NOTRUN -> [SKIP][162] ([fdo#111827]) [162]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-5/igt@kms_chamelium_color@ctm-0-50.html * igt@kms_chamelium_color@ctm-blue-to-red: - shard-mtlp: NOTRUN -> [SKIP][163] ([fdo#111827]) +3 other tests skip [163]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_chamelium_color@ctm-blue-to-red.html * igt@kms_chamelium_color@ctm-green-to-red: - shard-dg2: NOTRUN -> [SKIP][164] ([fdo#111827]) +2 other tests skip [164]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@kms_chamelium_color@ctm-green-to-red.html * igt@kms_chamelium_frames@hdmi-crc-multiple: - shard-dg2: NOTRUN -> [SKIP][165] ([i915#7828]) +10 other tests skip [165]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-7/igt@kms_chamelium_frames@hdmi-crc-multiple.html - shard-rkl: NOTRUN -> [SKIP][166] ([i915#7828]) +2 other tests skip [166]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_chamelium_frames@hdmi-crc-multiple.html - shard-dg1: NOTRUN -> [SKIP][167] ([i915#7828]) [167]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-18/igt@kms_chamelium_frames@hdmi-crc-multiple.html * igt@kms_chamelium_hpd@dp-hpd-for-each-pipe: - shard-mtlp: NOTRUN -> [SKIP][168] ([i915#7828]) +16 other tests skip [168]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_chamelium_hpd@dp-hpd-for-each-pipe.html * igt@kms_color@deep-color: - shard-rkl: NOTRUN -> [SKIP][169] ([i915#3555]) +2 other tests skip [169]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-2/igt@kms_color@deep-color.html - shard-dg1: NOTRUN -> [SKIP][170] ([i915#3555]) +2 other tests skip [170]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@kms_color@deep-color.html * igt@kms_color@deep-color@pipe-b-edp-1-degamma: - shard-mtlp: NOTRUN -> [FAIL][171] ([i915#6892]) +3 other tests fail [171]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_color@deep-color@pipe-b-edp-1-degamma.html * igt@kms_color@degamma@pipe-a: - shard-mtlp: NOTRUN -> [FAIL][172] ([i915#9257]) +3 other tests fail [172]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@kms_color@degamma@pipe-a.html * igt@kms_content_protection@dp-mst-lic-type-1: - shard-dg2: NOTRUN -> [SKIP][173] ([i915#3299]) +2 other tests skip [173]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_content_protection@dp-mst-lic-type-1.html - shard-mtlp: NOTRUN -> [SKIP][174] ([i915#3299]) [174]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@kms_content_protection@dp-mst-lic-type-1.html * igt@kms_content_protection@lic: - shard-mtlp: NOTRUN -> [SKIP][175] ([i915#6944]) +2 other tests skip [175]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_content_protection@lic.html * igt@kms_content_protection@srm@pipe-a-dp-4: - shard-dg2: NOTRUN -> [TIMEOUT][176] ([i915#7173]) [176]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_content_protection@srm@pipe-a-dp-4.html * igt@kms_cursor_crc@cursor-onscreen-512x512: - shard-mtlp: NOTRUN -> [SKIP][177] ([i915#3359]) +1 other test skip [177]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_cursor_crc@cursor-onscreen-512x512.html * igt@kms_cursor_crc@cursor-random-512x170: - shard-dg2: NOTRUN -> [SKIP][178] ([i915#3359]) +2 other tests skip [178]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@kms_cursor_crc@cursor-random-512x170.html * igt@kms_cursor_crc@cursor-sliding-32x32: - shard-mtlp: NOTRUN -> [SKIP][179] ([i915#3555] / [i915#8814]) +5 other tests skip [179]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_cursor_crc@cursor-sliding-32x32.html * igt@kms_cursor_crc@cursor-sliding-512x170: - shard-rkl: NOTRUN -> [SKIP][180] ([i915#3359]) [180]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-2/igt@kms_cursor_crc@cursor-sliding-512x170.html - shard-dg1: NOTRUN -> [SKIP][181] ([i915#3359]) [181]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@kms_cursor_crc@cursor-sliding-512x170.html * igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy: - shard-mtlp: NOTRUN -> [SKIP][182] ([i915#3546]) +7 other tests skip [182]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic: - shard-mtlp: NOTRUN -> [SKIP][183] ([i915#4213]) +1 other test skip [183]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size: - shard-dg2: NOTRUN -> [SKIP][184] ([i915#4103] / [i915#4213]) [184]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html * igt@kms_cursor_legacy@cursorb-vs-flipa-legacy: - shard-rkl: NOTRUN -> [SKIP][185] ([fdo#111825]) +3 other tests skip [185]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-2/igt@kms_cursor_legacy@cursorb-vs-flipa-legacy.html - shard-dg1: NOTRUN -> [SKIP][186] ([fdo#111825]) +11 other tests skip [186]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-19/igt@kms_cursor_legacy@cursorb-vs-flipa-legacy.html * igt@kms_cursor_legacy@cursorb-vs-flipb-atomic: - shard-dg2: NOTRUN -> [SKIP][187] ([fdo#109274] / [i915#5354]) +5 other tests skip [187]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic.html * igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions: - shard-mtlp: NOTRUN -> [SKIP][188] ([fdo#111767] / [i915#3546]) +1 other test skip [188]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html - shard-dg2: NOTRUN -> [SKIP][189] ([fdo#109274] / [fdo#111767] / [i915#5354]) [189]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html * igt@kms_dirtyfb@dirtyfb-ioctl@fbc-hdmi-a-1: - shard-rkl: NOTRUN -> [SKIP][190] ([i915#9227]) [190]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@kms_dirtyfb@dirtyfb-ioctl@fbc-hdmi-a-1.html * igt@kms_dirtyfb@dirtyfb-ioctl@psr-hdmi-a-1: - shard-rkl: NOTRUN -> [SKIP][191] ([i915#9226] / [i915#9261]) +1 other test skip [191]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@kms_dirtyfb@dirtyfb-ioctl@psr-hdmi-a-1.html * igt@kms_display_modes@extended-mode-basic: - shard-mtlp: NOTRUN -> [SKIP][192] ([i915#3555] / [i915#8827]) [192]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@kms_display_modes@extended-mode-basic.html * igt@kms_display_modes@mst-extended-mode-negative: - shard-dg2: NOTRUN -> [SKIP][193] ([i915#8588]) [193]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_display_modes@mst-extended-mode-negative.html - shard-mtlp: NOTRUN -> [SKIP][194] ([i915#8588]) [194]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@kms_display_modes@mst-extended-mode-negative.html * igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-2: - shard-rkl: NOTRUN -> [SKIP][195] ([i915#3804]) [195]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-2.html * igt@kms_dither@fb-8bpc-vs-panel-8bpc: - shard-dg2: NOTRUN -> [SKIP][196] ([i915#3555]) +9 other tests skip [196]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@kms_dither@fb-8bpc-vs-panel-8bpc.html * igt@kms_draw_crc@draw-method-mmap-wc: - shard-dg2: NOTRUN -> [SKIP][197] ([i915#8812]) [197]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@kms_draw_crc@draw-method-mmap-wc.html * igt@kms_dsc@dsc-with-formats: - shard-dg2: NOTRUN -> [SKIP][198] ([i915#3555] / [i915#3840]) [198]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@kms_dsc@dsc-with-formats.html * igt@kms_fbcon_fbt@psr-suspend: - shard-dg2: NOTRUN -> [SKIP][199] ([i915#3469]) [199]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@kms_fbcon_fbt@psr-suspend.html * igt@kms_fence_pin_leak: - shard-mtlp: NOTRUN -> [SKIP][200] ([i915#4881]) [200]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_fence_pin_leak.html * igt@kms_flip@2x-flip-vs-blocking-wf-vblank: - shard-snb: NOTRUN -> [SKIP][201] ([fdo#109271] / [fdo#111767]) +1 other test skip [201]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-snb5/igt@kms_flip@2x-flip-vs-blocking-wf-vblank.html * igt@kms_flip@2x-flip-vs-expired-vblank-interruptible: - shard-mtlp: NOTRUN -> [SKIP][202] ([fdo#111767] / [i915#3637]) [202]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html * igt@kms_flip@2x-flip-vs-expired-vblank@bc-hdmi-a1-hdmi-a2: - shard-glk: [PASS][203] -> [FAIL][204] ([i915#79]) [203]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-glk9/igt@kms_flip@2x-flip-vs-expired-vblank@bc-hdmi-a1-hdmi-a2.html [204]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-glk9/igt@kms_flip@2x-flip-vs-expired-vblank@bc-hdmi-a1-hdmi-a2.html * igt@kms_flip@2x-flip-vs-suspend-interruptible: - shard-mtlp: NOTRUN -> [SKIP][205] ([i915#3637]) +10 other tests skip [205]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@kms_flip@2x-flip-vs-suspend-interruptible.html * igt@kms_flip@2x-flip-vs-wf_vblank-interruptible: - shard-dg2: NOTRUN -> [SKIP][206] ([fdo#109274]) +10 other tests skip [206]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html * igt@kms_flip@flip-vs-suspend-interruptible@d-edp1: - shard-mtlp: [PASS][207] -> [DMESG-WARN][208] ([i915#9260] / [i915#9262]) +2 other tests dmesg-warn [207]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-6/igt@kms_flip@flip-vs-suspend-interruptible@d-edp1.html [208]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@kms_flip@flip-vs-suspend-interruptible@d-edp1.html * igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling@pipe-a-default-mode: - shard-mtlp: NOTRUN -> [SKIP][209] ([i915#8810]) [209]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling@pipe-a-default-mode.html * igt@kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling@pipe-a-default-mode: - shard-mtlp: NOTRUN -> [SKIP][210] ([i915#3555] / [i915#8810]) [210]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling@pipe-a-default-mode.html * igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-default-mode: - shard-mtlp: NOTRUN -> [SKIP][211] ([i915#2672]) +6 other tests skip [211]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-default-mode.html * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-default-mode: - shard-mtlp: NOTRUN -> [SKIP][212] ([i915#2672] / [i915#3555]) [212]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-default-mode.html * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling@pipe-a-valid-mode: - shard-dg2: NOTRUN -> [SKIP][213] ([i915#2672]) +3 other tests skip [213]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-7/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling@pipe-a-valid-mode.html * igt@kms_force_connector_basic@force-load-detect: - shard-dg2: NOTRUN -> [SKIP][214] ([fdo#109285]) [214]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@kms_force_connector_basic@force-load-detect.html * igt@kms_force_connector_basic@prune-stale-modes: - shard-mtlp: NOTRUN -> [SKIP][215] ([i915#5274]) [215]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_force_connector_basic@prune-stale-modes.html - shard-dg2: NOTRUN -> [SKIP][216] ([i915#5274]) [216]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_force_connector_basic@prune-stale-modes.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-wc: - shard-dg2: NOTRUN -> [SKIP][217] ([i915#8708]) +29 other tests skip [217]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-pwrite: - shard-mtlp: NOTRUN -> [SKIP][218] ([i915#1825]) +57 other tests skip [218]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-8/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-pwrite.html * igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-gtt: - shard-dg1: NOTRUN -> [SKIP][219] ([i915#8708]) +3 other tests skip [219]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu: - shard-dg2: NOTRUN -> [FAIL][220] ([i915#6880]) [220]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@fbc-rgb565-draw-render: - shard-dg2: [PASS][221] -> [FAIL][222] ([i915#6880]) +3 other tests fail [221]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-2/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-render.html [222]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-render.html * igt@kms_frontbuffer_tracking@fbc-suspend: - shard-dg2: [PASS][223] -> [FAIL][224] ([fdo#103375]) [223]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-1/igt@kms_frontbuffer_tracking@fbc-suspend.html [224]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-suspend.html * igt@kms_frontbuffer_tracking@fbc-tiling-y: - shard-mtlp: NOTRUN -> [SKIP][225] ([i915#5460]) [225]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@kms_frontbuffer_tracking@fbc-tiling-y.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-render: - shard-dg2: NOTRUN -> [SKIP][226] ([i915#5354]) +64 other tests skip [226]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-render.html - shard-rkl: NOTRUN -> [SKIP][227] ([fdo#111825] / [i915#1825]) +5 other tests skip [227]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-render.html * igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render: - shard-tglu: NOTRUN -> [SKIP][228] ([fdo#110189]) [228]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render.html * igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-gtt: - shard-mtlp: NOTRUN -> [SKIP][229] ([i915#8708]) +14 other tests skip [229]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-blt: - shard-dg2: NOTRUN -> [SKIP][230] ([i915#3458]) +24 other tests skip [230]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-blt.html * igt@kms_frontbuffer_tracking@psr-suspend: - shard-rkl: NOTRUN -> [SKIP][231] ([i915#3023]) +8 other tests skip [231]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-1/igt@kms_frontbuffer_tracking@psr-suspend.html - shard-dg1: NOTRUN -> [SKIP][232] ([i915#3458]) +5 other tests skip [232]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-19/igt@kms_frontbuffer_tracking@psr-suspend.html - shard-mtlp: NOTRUN -> [ABORT][233] ([i915#9262]) +6 other tests abort [233]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@kms_frontbuffer_tracking@psr-suspend.html * igt@kms_getfb@getfb-reject-ccs: - shard-dg2: NOTRUN -> [SKIP][234] ([i915#6118]) [234]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_getfb@getfb-reject-ccs.html * igt@kms_hdr@bpc-switch-suspend: - shard-rkl: NOTRUN -> [SKIP][235] ([i915#3555] / [i915#8228]) [235]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@kms_hdr@bpc-switch-suspend.html * igt@kms_hdr@static-swap: - shard-mtlp: NOTRUN -> [SKIP][236] ([i915#3555] / [i915#8228]) [236]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_hdr@static-swap.html * igt@kms_hdr@static-toggle: - shard-dg2: NOTRUN -> [SKIP][237] ([i915#3555] / [i915#8228]) +1 other test skip [237]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_hdr@static-toggle.html * igt@kms_multipipe_modeset@basic-max-pipe-crc-check: - shard-mtlp: NOTRUN -> [SKIP][238] ([i915#4816]) [238]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html - shard-dg2: NOTRUN -> [SKIP][239] ([i915#4816]) [239]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html * igt@kms_panel_fitting@legacy: - shard-dg2: NOTRUN -> [SKIP][240] ([i915#6301]) [240]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-7/igt@kms_panel_fitting@legacy.html * igt@kms_pipe_b_c_ivb@pipe-b-double-modeset-then-modeset-pipe-c: - shard-mtlp: NOTRUN -> [SKIP][241] ([fdo#109289]) +7 other tests skip [241]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_pipe_b_c_ivb@pipe-b-double-modeset-then-modeset-pipe-c.html * igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-vga-1: - shard-snb: NOTRUN -> [DMESG-WARN][242] ([i915#8841]) +2 other tests dmesg-warn [242]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-snb4/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-vga-1.html * igt@kms_plane_lowres@tiling-x@pipe-c-edp-1: - shard-mtlp: NOTRUN -> [SKIP][243] ([i915#3582]) +3 other tests skip [243]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@kms_plane_lowres@tiling-x@pipe-c-edp-1.html * igt@kms_plane_lowres@tiling-y: - shard-dg2: NOTRUN -> [SKIP][244] ([i915#8821]) [244]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_plane_lowres@tiling-y.html - shard-mtlp: NOTRUN -> [SKIP][245] ([i915#8821]) [245]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@kms_plane_lowres@tiling-y.html * igt@kms_plane_multiple@tiling-yf: - shard-mtlp: NOTRUN -> [SKIP][246] ([i915#3555] / [i915#8806]) [246]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@kms_plane_multiple@tiling-yf.html * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-b-hdmi-a-1: - shard-dg2: NOTRUN -> [SKIP][247] ([i915#5176]) +11 other tests skip [247]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-b-hdmi-a-1.html * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-edp-1: - shard-mtlp: NOTRUN -> [SKIP][248] ([i915#5176]) +3 other tests skip [248]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-edp-1.html * igt@kms_plane_scaling@plane-upscale-with-rotation-20x20@pipe-a-hdmi-a-2: - shard-rkl: NOTRUN -> [SKIP][249] ([i915#5176]) +5 other tests skip [249]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@kms_plane_scaling@plane-upscale-with-rotation-20x20@pipe-a-hdmi-a-2.html * igt@kms_plane_scaling@plane-upscale-with-rotation-factor-0-25@pipe-a-hdmi-a-3: - shard-dg1: NOTRUN -> [SKIP][250] ([i915#5176]) +7 other tests skip [250]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@kms_plane_scaling@plane-upscale-with-rotation-factor-0-25@pipe-a-hdmi-a-3.html * igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-a-dp-4: - shard-dg2: NOTRUN -> [SKIP][251] ([i915#5235]) +15 other tests skip [251]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-a-dp-4.html * igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-b-edp-1: - shard-mtlp: NOTRUN -> [SKIP][252] ([i915#5235]) +27 other tests skip [252]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-b-edp-1.html * igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-d-hdmi-a-4: - shard-dg1: NOTRUN -> [SKIP][253] ([i915#5235]) +11 other tests skip [253]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-15/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-d-hdmi-a-4.html * igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-b-hdmi-a-1: - shard-rkl: NOTRUN -> [SKIP][254] ([i915#5235]) +3 other tests skip [254]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-b-hdmi-a-1.html * {igt@kms_pm_dc@dc6-psr} (NEW): - shard-glk: NOTRUN -> [SKIP][255] ([fdo#109271]) +18 other tests skip [255]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-glk4/igt@kms_pm_dc@dc6-psr.html * {igt@kms_pm_rpm@fences} (NEW): - shard-dg1: NOTRUN -> [SKIP][256] ([i915#4077]) +7 other tests skip [256]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-17/igt@kms_pm_rpm@fences.html * igt@kms_prime@basic-modeset-hybrid: - shard-dg2: NOTRUN -> [SKIP][257] ([i915#6524] / [i915#6805]) +1 other test skip [257]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_prime@basic-modeset-hybrid.html - shard-mtlp: NOTRUN -> [SKIP][258] ([i915#6524]) [258]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@kms_prime@basic-modeset-hybrid.html * igt@kms_psr2_sf@overlay-plane-move-continuous-sf: - shard-apl: NOTRUN -> [SKIP][259] ([fdo#109271] / [i915#658]) [259]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-apl4/igt@kms_psr2_sf@overlay-plane-move-continuous-sf.html * igt@kms_psr2_sf@overlay-plane-update-continuous-sf: - shard-rkl: NOTRUN -> [SKIP][260] ([fdo#111068] / [i915#658]) [260]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-1/igt@kms_psr2_sf@overlay-plane-update-continuous-sf.html * igt@kms_psr2_su@frontbuffer-xrgb8888: - shard-mtlp: NOTRUN -> [SKIP][261] ([i915#4348]) +1 other test skip [261]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@kms_psr2_su@frontbuffer-xrgb8888.html * igt@kms_psr@dpms: - shard-dg2: NOTRUN -> [SKIP][262] ([i915#1072]) +10 other tests skip [262]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_psr@dpms.html * igt@kms_psr@primary_page_flip: - shard-rkl: NOTRUN -> [SKIP][263] ([i915#1072]) +1 other test skip [263]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@kms_psr@primary_page_flip.html - shard-dg1: NOTRUN -> [SKIP][264] ([i915#1072]) +1 other test skip [264]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-17/igt@kms_psr@primary_page_flip.html * igt@kms_psr_stress_test@invalidate-primary-flip-overlay: - shard-dg2: NOTRUN -> [SKIP][265] ([i915#5461] / [i915#658]) [265]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html * igt@kms_rotation_crc@bad-pixel-format: - shard-mtlp: NOTRUN -> [SKIP][266] ([i915#4235]) +2 other tests skip [266]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-8/igt@kms_rotation_crc@bad-pixel-format.html * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0: - shard-mtlp: NOTRUN -> [SKIP][267] ([i915#5289]) +2 other tests skip [267]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0.html * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270: - shard-dg2: NOTRUN -> [SKIP][268] ([i915#4235] / [i915#5190]) [268]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270.html * igt@kms_rotation_crc@sprite-rotation-90-pos-100-0: - shard-dg2: NOTRUN -> [SKIP][269] ([i915#4235]) +1 other test skip [269]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_rotation_crc@sprite-rotation-90-pos-100-0.html * igt@kms_scaling_modes@scaling-mode-center: - shard-apl: NOTRUN -> [SKIP][270] ([fdo#109271]) +56 other tests skip [270]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-apl2/igt@kms_scaling_modes@scaling-mode-center.html * igt@kms_scaling_modes@scaling-mode-none@edp-1-pipe-d: - shard-mtlp: NOTRUN -> [SKIP][271] ([i915#5030]) +3 other tests skip [271]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@kms_scaling_modes@scaling-mode-none@edp-1-pipe-d.html * igt@kms_setmode@basic@pipe-a-vga-1: - shard-snb: NOTRUN -> [FAIL][272] ([i915#5465]) +1 other test fail [272]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-snb6/igt@kms_setmode@basic@pipe-a-vga-1.html * igt@kms_setmode@clone-exclusive-crtc: - shard-mtlp: NOTRUN -> [SKIP][273] ([i915#3555] / [i915#8809]) [273]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@kms_setmode@clone-exclusive-crtc.html * igt@kms_setmode@invalid-clone-exclusive-crtc: - shard-mtlp: NOTRUN -> [SKIP][274] ([i915#3555] / [i915#8823]) [274]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@kms_setmode@invalid-clone-exclusive-crtc.html * igt@kms_sysfs_edid_timing: - shard-dg2: NOTRUN -> [FAIL][275] ([IGT#2]) [275]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_sysfs_edid_timing.html * igt@kms_tv_load_detect@load-detect: - shard-mtlp: NOTRUN -> [SKIP][276] ([fdo#109309]) [276]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_tv_load_detect@load-detect.html * igt@kms_universal_plane@universal-plane-pipe-d-functional: - shard-rkl: NOTRUN -> [SKIP][277] ([i915#4070] / [i915#533] / [i915#6768]) +1 other test skip [277]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@kms_universal_plane@universal-plane-pipe-d-functional.html * igt@kms_vblank@pipe-d-ts-continuation-suspend: - shard-dg2: NOTRUN -> [FAIL][278] ([fdo#103375]) [278]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@kms_vblank@pipe-d-ts-continuation-suspend.html * igt@kms_writeback@writeback-check-output: - shard-dg1: NOTRUN -> [SKIP][279] ([i915#2437]) [279]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-16/igt@kms_writeback@writeback-check-output.html - shard-mtlp: NOTRUN -> [SKIP][280] ([i915#2437]) [280]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@kms_writeback@writeback-check-output.html * igt@kms_writeback@writeback-invalid-parameters: - shard-apl: NOTRUN -> [SKIP][281] ([fdo#109271] / [i915#2437]) [281]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-apl6/igt@kms_writeback@writeback-invalid-parameters.html * igt@perf@buffer-fill@0-rcs0: - shard-mtlp: NOTRUN -> [FAIL][282] ([i915#7823] / [i915#9265]) [282]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@perf@buffer-fill@0-rcs0.html * igt@perf@enable-disable@0-rcs0: - shard-mtlp: NOTRUN -> [FAIL][283] ([i915#7823]) [283]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@perf@enable-disable@0-rcs0.html * igt@perf@gen12-group-concurrent-oa-buffer-read: - shard-mtlp: NOTRUN -> [FAIL][284] ([i915#9259]) +4 other tests fail [284]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@perf@gen12-group-concurrent-oa-buffer-read.html * igt@perf@mi-rpc: - shard-dg2: NOTRUN -> [SKIP][285] ([i915#2434]) [285]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@perf@mi-rpc.html * igt@perf_pmu@all-busy-idle-check-all: - shard-mtlp: NOTRUN -> [FAIL][286] ([i915#5234]) [286]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@perf_pmu@all-busy-idle-check-all.html * igt@perf_pmu@busy-hang@ccs0: - shard-mtlp: NOTRUN -> [FAIL][287] ([i915#4349]) +11 other tests fail [287]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@perf_pmu@busy-hang@ccs0.html * igt@perf_pmu@busy-idle-check-all@bcs0: - shard-mtlp: NOTRUN -> [FAIL][288] ([i915#4521]) +5 other tests fail [288]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@perf_pmu@busy-idle-check-all@bcs0.html * igt@perf_pmu@cpu-hotplug: - shard-dg2: NOTRUN -> [SKIP][289] ([i915#8850]) [289]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-2/igt@perf_pmu@cpu-hotplug.html - shard-mtlp: NOTRUN -> [SKIP][290] ([i915#8850]) [290]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@perf_pmu@cpu-hotplug.html * igt@perf_pmu@faulting-read@gtt: - shard-mtlp: NOTRUN -> [SKIP][291] ([i915#8440]) [291]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-4/igt@perf_pmu@faulting-read@gtt.html * igt@perf_pmu@frequency@gt0: - shard-dg2: NOTRUN -> [FAIL][292] ([i915#6806]) [292]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-5/igt@perf_pmu@frequency@gt0.html * igt@perf_pmu@rc6-suspend: - shard-mtlp: NOTRUN -> [INCOMPLETE][293] ([i915#9268]) [293]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-5/igt@perf_pmu@rc6-suspend.html * igt@perf_pmu@render-node-busy-idle@vcs1: - shard-dg2: [PASS][294] -> [FAIL][295] ([i915#4349]) +7 other tests fail [294]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-1/igt@perf_pmu@render-node-busy-idle@vcs1.html [295]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@perf_pmu@render-node-busy-idle@vcs1.html - shard-dg1: [PASS][296] -> [FAIL][297] ([i915#4349]) +2 other tests fail [296]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-12/igt@perf_pmu@render-node-busy-idle@vcs1.html [297]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@perf_pmu@render-node-busy-idle@vcs1.html - shard-mtlp: [PASS][298] -> [FAIL][299] ([i915#4349]) +2 other tests fail [298]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-1/igt@perf_pmu@render-node-busy-idle@vcs1.html [299]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@perf_pmu@render-node-busy-idle@vcs1.html * igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem: - shard-dg2: NOTRUN -> [INCOMPLETE][300] ([i915#5493]) [300]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-3/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html * igt@prime_vgem@basic-blt: - shard-mtlp: NOTRUN -> [FAIL][301] ([i915#8445]) +1 other test fail [301]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-1/igt@prime_vgem@basic-blt.html * igt@prime_vgem@fence-read-hang: - shard-dg2: NOTRUN -> [SKIP][302] ([i915#3708]) +2 other tests skip [302]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@prime_vgem@fence-read-hang.html * igt@syncobj_wait@invalid-signal-zero-handles: - shard-dg1: NOTRUN -> [DMESG-WARN][303] ([i915#4423]) +1 other test dmesg-warn [303]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-15/igt@syncobj_wait@invalid-signal-zero-handles.html * igt@v3d/v3d_job_submission@array-job-submission: - shard-dg2: NOTRUN -> [SKIP][304] ([i915#2575]) +15 other tests skip [304]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-1/igt@v3d/v3d_job_submission@array-job-submission.html * igt@v3d/v3d_mmap@mmap-bo: - shard-mtlp: NOTRUN -> [SKIP][305] ([i915#2575]) +24 other tests skip [305]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-7/igt@v3d/v3d_mmap@mmap-bo.html * igt@v3d/v3d_submit_cl@bad-extension: - shard-rkl: NOTRUN -> [SKIP][306] ([fdo#109315]) [306]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-1/igt@v3d/v3d_submit_cl@bad-extension.html * igt@v3d/v3d_submit_csd@bad-in-sync: - shard-dg1: NOTRUN -> [SKIP][307] ([i915#2575]) [307]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@v3d/v3d_submit_csd@bad-in-sync.html * igt@vc4/vc4_perfmon@get-values-invalid-pointer: - shard-mtlp: NOTRUN -> [SKIP][308] ([i915#7711]) +14 other tests skip [308]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@vc4/vc4_perfmon@get-values-invalid-pointer.html * igt@vc4/vc4_tiling@get-bad-flags: - shard-rkl: NOTRUN -> [SKIP][309] ([i915#7711]) +1 other test skip [309]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@vc4/vc4_tiling@get-bad-flags.html - shard-dg1: NOTRUN -> [SKIP][310] ([i915#7711]) +1 other test skip [310]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-15/igt@vc4/vc4_tiling@get-bad-flags.html * igt@vc4/vc4_wait_seqno@bad-seqno-1ns: - shard-dg2: NOTRUN -> [SKIP][311] ([i915#7711]) +15 other tests skip [311]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@vc4/vc4_wait_seqno@bad-seqno-1ns.html #### Possible fixes #### * igt@drm_fdinfo@most-busy-check-all@rcs0: - shard-rkl: [FAIL][312] ([i915#7742]) -> [PASS][313] [312]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-rkl-4/igt@drm_fdinfo@most-busy-check-all@rcs0.html [313]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@drm_fdinfo@most-busy-check-all@rcs0.html * igt@gem_ctx_exec@basic-nohangcheck: - shard-tglu: [FAIL][314] ([i915#6268]) -> [PASS][315] [314]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-tglu-8/igt@gem_ctx_exec@basic-nohangcheck.html [315]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-6/igt@gem_ctx_exec@basic-nohangcheck.html * igt@gem_ctx_isolation@preservation-s3@vcs0: - shard-mtlp: [DMESG-WARN][316] ([i915#9262]) -> [PASS][317] +2 other tests pass [316]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-4/igt@gem_ctx_isolation@preservation-s3@vcs0.html [317]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-3/igt@gem_ctx_isolation@preservation-s3@vcs0.html * igt@gem_eio@hibernate: - shard-dg1: [ABORT][318] ([i915#7975] / [i915#8213]) -> [PASS][319] [318]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-14/igt@gem_eio@hibernate.html [319]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-12/igt@gem_eio@hibernate.html * igt@gem_eio@in-flight-suspend: - shard-dg2: [INCOMPLETE][320] ([i915#7892]) -> [PASS][321] [320]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-5/igt@gem_eio@in-flight-suspend.html [321]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-10/igt@gem_eio@in-flight-suspend.html * igt@gem_exec_fair@basic-pace-solo@rcs0: - shard-rkl: [FAIL][322] ([i915#2842]) -> [PASS][323] +1 other test pass [322]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-rkl-7/igt@gem_exec_fair@basic-pace-solo@rcs0.html [323]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-2/igt@gem_exec_fair@basic-pace-solo@rcs0.html * igt@gem_exec_suspend@basic-s0@smem: - shard-dg2: [INCOMPLETE][324] -> [PASS][325] [324]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-10/igt@gem_exec_suspend@basic-s0@smem.html [325]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@gem_exec_suspend@basic-s0@smem.html * igt@i915_hangman@gt-engine-error@vcs0: - shard-mtlp: [FAIL][326] ([i915#7069]) -> [PASS][327] [326]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-2/igt@i915_hangman@gt-engine-error@vcs0.html [327]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-2/igt@i915_hangman@gt-engine-error@vcs0.html * igt@i915_module_load@reload-with-fault-injection: - shard-mtlp: [INCOMPLETE][328] ([i915#8489]) -> [PASS][329] [328]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-2/igt@i915_module_load@reload-with-fault-injection.html [329]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-6/igt@i915_module_load@reload-with-fault-injection.html * igt@i915_selftest@live@gt_pm: - shard-rkl: [DMESG-FAIL][330] ([i915#4258]) -> [PASS][331] [330]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-rkl-6/igt@i915_selftest@live@gt_pm.html [331]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-4/igt@i915_selftest@live@gt_pm.html * igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a3: - shard-dg2: [FAIL][332] ([fdo#103375]) -> [PASS][333] +2 other tests pass [332]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-5/igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a3.html [333]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@kms_flip@flip-vs-suspend-interruptible@a-hdmi-a3.html * igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-dp-1: - shard-apl: [INCOMPLETE][334] ([i915#180]) -> [PASS][335] [334]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-apl6/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-dp-1.html [335]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-apl4/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-dp-1.html * igt@kms_plane@pixel-format@pipe-a-planes: - shard-mtlp: [FAIL][336] ([i915#1623]) -> [PASS][337] +1 other test pass [336]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-6/igt@kms_plane@pixel-format@pipe-a-planes.html [337]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-8/igt@kms_plane@pixel-format@pipe-a-planes.html * igt@perf@i915-ref-count: - shard-apl: [FAIL][338] -> [PASS][339] [338]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-apl2/igt@perf@i915-ref-count.html [339]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-apl2/igt@perf@i915-ref-count.html - shard-tglu: [FAIL][340] -> [PASS][341] [340]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-tglu-9/igt@perf@i915-ref-count.html [341]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-tglu-8/igt@perf@i915-ref-count.html * igt@perf_pmu@busy-double-start@vecs1: - shard-dg2: [FAIL][342] ([i915#4349]) -> [PASS][343] +3 other tests pass [342]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-1/igt@perf_pmu@busy-double-start@vecs1.html [343]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-6/igt@perf_pmu@busy-double-start@vecs1.html #### Warnings #### * igt@gem_ctx_persistence@legacy-engines-hang@bsd2: - shard-mtlp: [ABORT][344] ([i915#9262]) -> [ABORT][345] ([i915#8865]) [344]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-mtlp-4/igt@gem_ctx_persistence@legacy-engines-hang@bsd2.html [345]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-mtlp-8/igt@gem_ctx_persistence@legacy-engines-hang@bsd2.html * igt@gem_exec_suspend@basic-s3-devices@smem: - shard-snb: [DMESG-WARN][346] ([i915#8841]) -> [ABORT][347] ([i915#8841]) [346]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-snb6/igt@gem_exec_suspend@basic-s3-devices@smem.html [347]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-snb2/igt@gem_exec_suspend@basic-s3-devices@smem.html * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip: - shard-dg1: [SKIP][348] ([i915#4538] / [i915#5286]) -> [SKIP][349] ([i915#4423] / [i915#4538] / [i915#5286]) [348]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-15/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip.html [349]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-15/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip.html * igt@kms_content_protection@mei_interface: - shard-dg2: [SKIP][350] ([i915#7118]) -> [SKIP][351] ([i915#7118] / [i915#7162]) [350]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg2-2/igt@kms_content_protection@mei_interface.html [351]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg2-11/igt@kms_content_protection@mei_interface.html * igt@kms_fbcon_fbt@psr: - shard-rkl: [SKIP][352] ([fdo#110189] / [i915#3955]) -> [SKIP][353] ([i915#3955]) [352]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-rkl-2/igt@kms_fbcon_fbt@psr.html [353]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@kms_fbcon_fbt@psr.html * igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode: - shard-dg1: [SKIP][354] ([i915#2587] / [i915#2672]) -> [SKIP][355] ([i915#2587] / [i915#2672] / [i915#4423]) [354]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-14/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode.html [355]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-14/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode.html * igt@kms_force_connector_basic@force-load-detect: - shard-rkl: [SKIP][356] ([fdo#109285] / [i915#4098]) -> [SKIP][357] ([fdo#109285]) [356]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-rkl-2/igt@kms_force_connector_basic@force-load-detect.html [357]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-7/igt@kms_force_connector_basic@force-load-detect.html * igt@kms_multipipe_modeset@basic-max-pipe-crc-check: - shard-rkl: [SKIP][358] ([i915#4816]) -> [SKIP][359] ([i915#4070] / [i915#4816]) [358]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-rkl-7/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html [359]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-rkl-6/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html * igt@kms_psr@cursor_plane_move: - shard-dg1: [SKIP][360] ([i915#1072]) -> [SKIP][361] ([i915#1072] / [i915#4078]) +1 other test skip [360]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13609/shard-dg1-15/igt@kms_psr@cursor_plane_move.html [361]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/shard-dg1-18/igt@kms_psr@cursor_plane_move.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2 [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274 [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289 [fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309 [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315 [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189 [fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614 [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615 [fdo#111767]: https://bugs.freedesktop.org/show_bug.cgi?id=111767 [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825 [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827 [fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099 [i915#1623]: https://gitlab.freedesktop.org/drm/intel/issues/1623 [i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825 [i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839 [i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434 [i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437 [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527 [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575 [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587 [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672 [i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705 [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280 [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842 [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856 [i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023 [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281 [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282 [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297 [i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299 [i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359 [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458 [i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469 [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539 [i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3582]: https://gitlab.freedesktop.org/drm/intel/issues/3582 [i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591 [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637 [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638 [i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689 [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708 [i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734 [i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804 [i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840 [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886 [i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936 [i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955 [i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404 [i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078 [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212 [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213 [i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235 [i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258 [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270 [i915#4348]: https://gitlab.freedesktop.org/drm/intel/issues/4348 [i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349 [i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391 [i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423 [i915#4473]: https://gitlab.freedesktop.org/drm/intel/issues/4473 [i915#4475]: https://gitlab.freedesktop.org/drm/intel/issues/4475 [i915#4521]: https://gitlab.freedesktop.org/drm/intel/issues/4521 [i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537 [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771 [i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812 [i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816 [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852 [i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854 [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860 [i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873 [i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880 [i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881 [i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885 [i915#5030]: https://gitlab.freedesktop.org/drm/intel/issues/5030 [i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138 [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176 [i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190 [i915#5234]: https://gitlab.freedesktop.org/drm/intel/issues/5234 [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235 [i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274 [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286 [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289 [i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325 [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533 [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354 [i915#5460]: https://gitlab.freedesktop.org/drm/intel/issues/5460 [i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461 [i915#5465]: https://gitlab.freedesktop.org/drm/intel/issues/5465 [i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493 [i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591 [i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784 [i915#5889]: https://gitlab.freedesktop.org/drm/intel/issues/5889 [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095 [i915#6118]: https://gitlab.freedesktop.org/drm/intel/issues/6118 [i915#6187]: https://gitlab.freedesktop.org/drm/intel/issues/6187 [i915#6188]: https://gitlab.freedesktop.org/drm/intel/issues/6188 [i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227 [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268 [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301 [i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412 [i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524 [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658 [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621 [i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645 [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768 [i915#6805]: https://gitlab.freedesktop.org/drm/intel/issues/6805 [i915#6806]: https://gitlab.freedesktop.org/drm/intel/issues/6806 [i915#6880]: https://gitlab.freedesktop.org/drm/intel/issues/6880 [i915#6892]: https://gitlab.freedesktop.org/drm/intel/issues/6892 [i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944 [i915#7061]: https://gitlab.freedesktop.org/drm/intel/issues/7061 [i915#7069]: https://gitlab.freedesktop.org/drm/intel/issues/7069 [i915#7091]: https://gitlab.freedesktop.org/drm/intel/issues/7091 [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118 [i915#7162]: https://gitlab.freedesktop.org/drm/intel/issues/7162 [i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173 [i915#7213]: https://gitlab.freedesktop.org/drm/intel/issues/7213 [i915#7297]: https://gitlab.freedesktop.org/drm/intel/issues/7297 [i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456 [i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461 [i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697 [i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701 [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711 [i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742 [i915#7823]: https://gitlab.freedesktop.org/drm/intel/issues/7823 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#7892]: https://gitlab.freedesktop.org/drm/intel/issues/7892 [i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79 [i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975 [i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213 [i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228 [i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247 [i915#8320]: https://gitlab.freedesktop.org/drm/intel/issues/8320 [i915#8346]: https://gitlab.freedesktop.org/drm/intel/issues/8346 [i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411 [i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414 [i915#8428]: https://gitlab.freedesktop.org/drm/intel/issues/8428 [i915#8431]: https://gitlab.freedesktop.org/drm/intel/issues/8431 [i915#8440]: https://gitlab.freedesktop.org/drm/intel/issues/8440 [i915#8445]: https://gitlab.freedesktop.org/drm/intel/issues/8445 [i915#8489]: https://gitlab.freedesktop.org/drm/intel/issues/8489 [i915#8502]: https://gitlab.freedesktop.org/drm/intel/issues/8502 [i915#8504]: https://gitlab.freedesktop.org/drm/intel/issues/8504 [i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555 [i915#8588]: https://gitlab.freedesktop.org/drm/intel/issues/8588 [i915#8617]: https://gitlab.freedesktop.org/drm/intel/issues/8617 [i915#8661]: https://gitlab.freedesktop.org/drm/intel/issues/8661 [i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708 [i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709 [i915#8806]: https://gitlab.freedesktop.org/drm/intel/issues/8806 [i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809 [i915#8810]: https://gitlab.freedesktop.org/drm/intel/issues/8810 [i915#8812]: https://gitlab.freedesktop.org/drm/intel/issues/8812 [i915#8814]: https://gitlab.freedesktop.org/drm/intel/issues/8814 [i915#8821]: https://gitlab.freedesktop.org/drm/intel/issues/8821 [i915#8823]: https://gitlab.freedesktop.org/drm/intel/issues/8823 [i915#8827]: https://gitlab.freedesktop.org/drm/intel/issues/8827 [i915#8841]: https://gitlab.freedesktop.org/drm/intel/issues/8841 [i915#8850]: https://gitlab.freedesktop.org/drm/intel/issues/8850 [i915#8865]: https://gitlab.freedesktop.org/drm/intel/issues/8865 [i915#8925]: https://gitlab.freedesktop.org/drm/intel/issues/8925 [i915#9051]: https://gitlab.freedesktop.org/drm/intel/issues/9051 [i915#9053]: https://gitlab.freedesktop.org/drm/intel/issues/9053 [i915#9226]: https://gitlab.freedesktop.org/drm/intel/issues/9226 [i915#9227]: https://gitlab.freedesktop.org/drm/intel/issues/9227 [i915#9257]: https://gitlab.freedesktop.org/drm/intel/issues/9257 [i915#9259]: https://gitlab.freedesktop.org/drm/intel/issues/9259 [i915#9260]: https://gitlab.freedesktop.org/ == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9745/index.html [-- Attachment #2: Type: text/html, Size: 122911 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2023-09-08 12:29 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-09-07 16:11 [igt-dev] [i-g-t V3 0/7] Separate display PM tests from Core Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 1/7] tests/intel/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem 2023-09-08 8:25 ` Sharma, Swati2 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 2/7] tests/intel/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem 2023-09-08 8:29 ` Sharma, Swati2 2023-09-08 12:17 ` [igt-dev] [i-g-t V4 " Bhanuprakash Modem 2023-09-08 12:29 ` Sharma, Swati2 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 3/7] tests/intel/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem 2023-09-08 8:30 ` Sharma, Swati2 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 4/7] tests/intel/kms_pm_dc: Fix testplan documentation Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 5/7] tests/intel/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem 2023-09-08 8:32 ` Sharma, Swati2 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 6/7] tests/intel/kms_pm_lpsp: Fix testplan documentation Bhanuprakash Modem 2023-09-07 16:11 ` [igt-dev] [i-g-t V3 7/7] tests/intel/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem 2023-09-08 8:42 ` Sharma, Swati2 2023-09-07 18:38 ` [igt-dev] ✓ Fi.CI.BAT: success for Separate display PM tests from Core (rev3) Patchwork 2023-09-07 19:17 ` [igt-dev] ✓ CI.xeBAT: " Patchwork 2023-09-07 20:52 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox