* [igt-dev] [i-g-t 0/7] Separate display PM tests from Core
@ 2023-08-23 11:43 Bhanuprakash Modem
2023-08-23 11:43 ` [igt-dev] [i-g-t 1/7] tests/i915/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem
` (10 more replies)
0 siblings, 11 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-08-23 11:43 UTC (permalink / raw)
To: igt-dev
Separate display specific tests from Core and maintain the
binary names with kms_ prefix.
Bhanuprakash Modem (7):
tests/i915/pm: Rename i915_pm_backlight to kms_pm_backlight
tests/i915/kms_pm_backlight: Fix testplan documentation
tests/i915/pm: Rename i915_pm_dc to kms_pm_dc
tests/i915/kms_pm_dc: Fix testplan documentation
tests/i915/pm: Rename i915_pm_lpsp to kms_pm_lpsp
tests/i915/kms_pm_lpsp: Fix testplan documentation
tests/i915/pm: Separate display specific tests from i915_pm_rpm
tests/i915/i915_pm_rpm.c | 869 ---------
...i915_pm_backlight.c => kms_pm_backlight.c} | 43 +-
tests/i915/{i915_pm_dc.c => kms_pm_dc.c} | 69 +-
tests/i915/{i915_pm_lpsp.c => kms_pm_lpsp.c} | 18 +-
tests/i915/kms_pm_rpm.c | 1665 +++++++++++++++++
tests/intel-ci/blacklist-pre-merge.txt | 8 +-
tests/intel-ci/blacklist.txt | 2 +-
tests/intel-ci/fast-feedback.testlist | 8 +-
tests/meson.build | 7 +-
9 files changed, 1771 insertions(+), 918 deletions(-)
rename tests/i915/{i915_pm_backlight.c => kms_pm_backlight.c} (90%)
rename tests/i915/{i915_pm_dc.c => kms_pm_dc.c} (92%)
rename tests/i915/{i915_pm_lpsp.c => kms_pm_lpsp.c} (94%)
create mode 100644 tests/i915/kms_pm_rpm.c
--
2.40.0
^ permalink raw reply [flat|nested] 13+ messages in thread* [igt-dev] [i-g-t 1/7] tests/i915/pm: Rename i915_pm_backlight to kms_pm_backlight 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem @ 2023-08-23 11:43 ` Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 2/7] tests/i915/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem ` (9 subsequent siblings) 10 siblings, 0 replies; 13+ messages in thread From: Bhanuprakash Modem @ 2023-08-23 11:43 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. Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/i915/{i915_pm_backlight.c => kms_pm_backlight.c} | 3 ++- tests/intel-ci/fast-feedback.testlist | 2 +- tests/meson.build | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename tests/i915/{i915_pm_backlight.c => kms_pm_backlight.c} (99%) diff --git a/tests/i915/i915_pm_backlight.c b/tests/i915/kms_pm_backlight.c similarity index 99% rename from tests/i915/i915_pm_backlight.c rename to tests/i915/kms_pm_backlight.c index 3c73b054b..ade5539d2 100644 --- a/tests/i915/i915_pm_backlight.c +++ b/tests/i915/kms_pm_backlight.c @@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: MIT */ /* - * Copyright © 2015 Intel Corporation + * Copyright © 2023 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist index c09c6c417..4e1ed921c 100644 --- a/tests/intel-ci/fast-feedback.testlist +++ b/tests/intel-ci/fast-feedback.testlist @@ -117,12 +117,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/meson.build b/tests/meson.build index 4d325bed1..c98a98dc4 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -223,7 +223,6 @@ i915_progs = [ 'i915_module_load', 'i915_pciid', 'i915_pipe_stress', - 'i915_pm_backlight', 'i915_pm_freq_mult', 'i915_pm_lpsp', 'i915_pm_rpm', @@ -251,6 +250,7 @@ i915_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] 13+ messages in thread
* [igt-dev] [i-g-t 2/7] tests/i915/kms_pm_backlight: Fix testplan documentation 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 1/7] tests/i915/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem @ 2023-08-23 11:43 ` Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 3/7] tests/i915/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem ` (8 subsequent siblings) 10 siblings, 0 replies; 13+ messages in thread From: Bhanuprakash Modem @ 2023-08-23 11:43 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 Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/i915/kms_pm_backlight.c | 40 ++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/tests/i915/kms_pm_backlight.c b/tests/i915/kms_pm_backlight.c index ade5539d2..2e8fb4254 100644 --- a/tests/i915/kms_pm_backlight.c +++ b/tests/i915/kms_pm_backlight.c @@ -38,29 +38,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. - * Run type: FULL + * Description: Test basic fade. + * Driver requirement: i915 + * Functionality: backlight + * Mega feature: Display Power + * Run type: BAT + * Test category: functionality test * * SUBTEST: fade-with-dpms - * Description: test the fade with DPMS. - * Run type: FULL + * Description: Test the fade with DPMS. + * Driver requirement: i915 + * Functionality: dpms, backlight + * Mega feature: Display Power + * Run type: BAT + * Test category: functionality test * * SUBTEST: fade-with-suspend - * Description: test the fade with suspend. - * Run type: FULL + * Description: Test the fade with suspend. + * Driver requirement: i915 + * Functionality: backlight, suspend + * Mega feature: Display Power + * Run type: BAT + * Test category: functionality test */ struct context { -- 2.40.0 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [igt-dev] [i-g-t 3/7] tests/i915/pm: Rename i915_pm_dc to kms_pm_dc 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 1/7] tests/i915/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 2/7] tests/i915/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem @ 2023-08-23 11:43 ` Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 4/7] tests/i915/kms_pm_dc: Fix testplan documentation Bhanuprakash Modem ` (7 subsequent siblings) 10 siblings, 0 replies; 13+ messages in thread From: Bhanuprakash Modem @ 2023-08-23 11:43 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. Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/i915/{i915_pm_dc.c => kms_pm_dc.c} | 3 ++- tests/meson.build | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename tests/i915/{i915_pm_dc.c => kms_pm_dc.c} (99%) diff --git a/tests/i915/i915_pm_dc.c b/tests/i915/kms_pm_dc.c similarity index 99% rename from tests/i915/i915_pm_dc.c rename to tests/i915/kms_pm_dc.c index 90fe847fc..43d88f38b 100644 --- a/tests/i915/i915_pm_dc.c +++ b/tests/i915/kms_pm_dc.c @@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: MIT */ /* - * Copyright © 2018 Intel Corporation + * Copyright © 2023 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/tests/meson.build b/tests/meson.build index c98a98dc4..4ba6299f3 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -226,7 +226,6 @@ 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', @@ -251,6 +250,7 @@ i915_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] 13+ messages in thread
* [igt-dev] [i-g-t 4/7] tests/i915/kms_pm_dc: Fix testplan documentation 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (2 preceding siblings ...) 2023-08-23 11:43 ` [igt-dev] [i-g-t 3/7] tests/i915/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem @ 2023-08-23 11:43 ` Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 5/7] tests/i915/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem ` (6 subsequent siblings) 10 siblings, 0 replies; 13+ messages in thread From: Bhanuprakash Modem @ 2023-08-23 11:43 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> --- tests/i915/kms_pm_dc.c | 66 ++++++++++++++++++++++++++++-------------- 1 file changed, 45 insertions(+), 21 deletions(-) diff --git a/tests/i915/kms_pm_dc.c b/tests/i915/kms_pm_dc.c index 43d88f38b..47febaa53 100644 --- a/tests/i915/kms_pm_dc.c +++ b/tests/i915/kms_pm_dc.c @@ -38,45 +38,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] 13+ messages in thread
* [igt-dev] [i-g-t 5/7] tests/i915/pm: Rename i915_pm_lpsp to kms_pm_lpsp 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (3 preceding siblings ...) 2023-08-23 11:43 ` [igt-dev] [i-g-t 4/7] tests/i915/kms_pm_dc: Fix testplan documentation Bhanuprakash Modem @ 2023-08-23 11:43 ` Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 6/7] tests/i915/kms_pm_lpsp: Fix testplan documentation Bhanuprakash Modem ` (5 subsequent siblings) 10 siblings, 0 replies; 13+ messages in thread From: Bhanuprakash Modem @ 2023-08-23 11:43 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. Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/i915/{i915_pm_lpsp.c => kms_pm_lpsp.c} | 3 ++- tests/meson.build | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename tests/i915/{i915_pm_lpsp.c => kms_pm_lpsp.c} (98%) diff --git a/tests/i915/i915_pm_lpsp.c b/tests/i915/kms_pm_lpsp.c similarity index 98% rename from tests/i915/i915_pm_lpsp.c rename to tests/i915/kms_pm_lpsp.c index 291e56674..a1bd7c10c 100644 --- a/tests/i915/i915_pm_lpsp.c +++ b/tests/i915/kms_pm_lpsp.c @@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: MIT */ /* - * Copyright © 2013 Intel Corporation + * Copyright © 2023 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/tests/meson.build b/tests/meson.build index 4ba6299f3..9cf630b94 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -224,7 +224,6 @@ i915_progs = [ 'i915_pciid', 'i915_pipe_stress', 'i915_pm_freq_mult', - 'i915_pm_lpsp', 'i915_pm_rpm', 'i915_pm_rc6_residency', 'i915_pm_rps', @@ -251,6 +250,7 @@ i915_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] 13+ messages in thread
* [igt-dev] [i-g-t 6/7] tests/i915/kms_pm_lpsp: Fix testplan documentation 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (4 preceding siblings ...) 2023-08-23 11:43 ` [igt-dev] [i-g-t 5/7] tests/i915/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem @ 2023-08-23 11:43 ` Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 7/7] tests/i915/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem ` (4 subsequent siblings) 10 siblings, 0 replies; 13+ messages in thread From: Bhanuprakash Modem @ 2023-08-23 11:43 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> --- tests/i915/kms_pm_lpsp.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tests/i915/kms_pm_lpsp.c b/tests/i915/kms_pm_lpsp.c index a1bd7c10c..c58afabd0 100644 --- a/tests/i915/kms_pm_lpsp.c +++ b/tests/i915/kms_pm_lpsp.c @@ -34,16 +34,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] 13+ messages in thread
* [igt-dev] [i-g-t 7/7] tests/i915/pm: Separate display specific tests from i915_pm_rpm 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (5 preceding siblings ...) 2023-08-23 11:43 ` [igt-dev] [i-g-t 6/7] tests/i915/kms_pm_lpsp: Fix testplan documentation Bhanuprakash Modem @ 2023-08-23 11:43 ` Bhanuprakash Modem 2023-08-23 14:57 ` Kamil Konieczny 2023-08-23 12:05 ` [igt-dev] ✗ GitLab.Pipeline: warning for Separate display PM tests from Core Patchwork ` (3 subsequent siblings) 10 siblings, 1 reply; 13+ messages in thread From: Bhanuprakash Modem @ 2023-08-23 11:43 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. Cc: Anshuman Gupta <anshuman.gupta@intel.com> Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> --- tests/i915/i915_pm_rpm.c | 869 ------------- tests/i915/kms_pm_rpm.c | 1665 ++++++++++++++++++++++++ tests/intel-ci/blacklist-pre-merge.txt | 8 +- tests/intel-ci/blacklist.txt | 2 +- tests/intel-ci/fast-feedback.testlist | 6 +- tests/meson.build | 1 + 6 files changed, 1674 insertions(+), 877 deletions(-) create mode 100644 tests/i915/kms_pm_rpm.c diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c index 17413ffe5..2a6b077a2 100644 --- a/tests/i915/i915_pm_rpm.c +++ b/tests/i915/i915_pm_rpm.c @@ -43,25 +43,10 @@ /** * 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 @@ -94,10 +79,6 @@ * 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,50 +108,6 @@ * 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 @@ -214,18 +151,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__) @@ -707,343 +632,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; @@ -1165,102 +753,6 @@ static void pc8_residency_subtest(void) "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 +1367,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,287 +1422,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; @@ -2436,22 +1626,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,25 +1651,9 @@ 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") @@ -2504,33 +1662,10 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) 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 +1674,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); @@ -2600,8 +1733,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/i915/kms_pm_rpm.c b/tests/i915/kms_pm_rpm.c new file mode 100644 index 000000000..547f2e19c --- /dev/null +++ b/tests/i915/kms_pm_rpm.c @@ -0,0 +1,1665 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2023 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> + * Bhanuprakash Modem <bhanuprakash.modem@intel.com> + * + */ + +#include "config.h" + +#include <stdio.h> +#include <stdint.h> +#include <stdbool.h> +#include <string.h> +#include <ftw.h> + +#include <unistd.h> +#include <fcntl.h> +#include <dirent.h> +#include <sys/ioctl.h> +#include <sys/mman.h> +#include <sys/types.h> +#include <sys/stat.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: 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-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: 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 + */ + +#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 <drm.h> + +#include "i915/gem.h" +#include "i915/gem_create.h" +#include "igt.h" +#include "igt_kmod.h" +#include "igt_sysfs.h" +#include "igt_debugfs.h" +#include "igt_device.h" +#include "igt_edid.h" +#include "intel_blt.h" + +#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(bool display_enabled) +{ + 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); + + if (display_enabled) + 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: + if (display_enabled) + disable_all_screens(&ms_data); + dump_file(debugfs, "i915_runtime_pm_status"); + + return wait_for_suspended(); +} + +static void teardown_environment(bool display_enabled) +{ + close(msr_fd); + if (has_pc8) + close(pc8_status_fd); + + igt_restore_runtime_pm(); + + igt_pm_restore_sata_link_power_management(); + + if (display_enabled) + fini_mode_set_data(&ms_data); + + close(debugfs); + close(drm_fd); + + has_runtime_pm = false; +} + +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(void) +{ + int i; + uint32_t *buf_ptr; + uint32_t tiling = false, swizzle; + struct modeset_params params; + drmModeConnectorPtr c = NULL; + + 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, true); + + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) + igt_assert_eq(buf_ptr[i], i); + igt_assert(wait_for_suspended()); + + 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); + 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; + +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_fixture { + igt_require(setup_environment(true)); + } + + 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-dpms") { + gem_require_mappable_ggtt(drm_fd); + fences_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(); + + igt_fixture { + teardown_environment(true); + forcewake_put(&ms_data); + } +} 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 4e1ed921c..99dc90c79 100644 --- a/tests/intel-ci/fast-feedback.testlist +++ b/tests/intel-ci/fast-feedback.testlist @@ -118,13 +118,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 @@ -160,7 +160,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/meson.build b/tests/meson.build index 9cf630b94..9888c6d8d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -251,6 +251,7 @@ i915_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] 13+ messages in thread
* Re: [igt-dev] [i-g-t 7/7] tests/i915/pm: Separate display specific tests from i915_pm_rpm 2023-08-23 11:43 ` [igt-dev] [i-g-t 7/7] tests/i915/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem @ 2023-08-23 14:57 ` Kamil Konieczny 0 siblings, 0 replies; 13+ messages in thread From: Kamil Konieczny @ 2023-08-23 14:57 UTC (permalink / raw) To: igt-dev Hi Bhanuprakash, On 2023-08-23 at 17:13:54 +0530, 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. > > Cc: Anshuman Gupta <anshuman.gupta@intel.com> > Cc: Swati Sharma <swati2.sharma@intel.com> > Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> > --- > tests/i915/i915_pm_rpm.c | 869 ------------- > tests/i915/kms_pm_rpm.c | 1665 ++++++++++++++++++++++++ > tests/intel-ci/blacklist-pre-merge.txt | 8 +- > tests/intel-ci/blacklist.txt | 2 +- > tests/intel-ci/fast-feedback.testlist | 6 +- > tests/meson.build | 1 + > 6 files changed, 1674 insertions(+), 877 deletions(-) > create mode 100644 tests/i915/kms_pm_rpm.c > > diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c > index 17413ffe5..2a6b077a2 100644 > --- a/tests/i915/i915_pm_rpm.c > +++ b/tests/i915/i915_pm_rpm.c > @@ -43,25 +43,10 @@ > /** > * 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 > @@ -94,10 +79,6 @@ > * 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,50 +108,6 @@ > * 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 > @@ -214,18 +151,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__) > @@ -707,343 +632,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; > @@ -1165,102 +753,6 @@ static void pc8_residency_subtest(void) > "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 +1367,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,287 +1422,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; > @@ -2436,22 +1626,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,25 +1651,9 @@ 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") > @@ -2504,33 +1662,10 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > 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 +1674,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); > @@ -2600,8 +1733,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/i915/kms_pm_rpm.c b/tests/i915/kms_pm_rpm.c > new file mode 100644 > index 000000000..547f2e19c > --- /dev/null > +++ b/tests/i915/kms_pm_rpm.c > @@ -0,0 +1,1665 @@ > +/* SPDX-License-Identifier: MIT */ -- ^^ ---------------------------- ^^ Use '//' in .c files, please also check your patches with perl script checkpatch.pl from linux kernel, there are other style errors. > +/* > + * Copyright © 2023 Intel Corporation > + * > + * Permission is hereby granted, free of charge, to any person obtaining a Delete this text, it is replaced by SPDX. > + * 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> > + * Bhanuprakash Modem <bhanuprakash.modem@intel.com> > + * > + */ > + > +#include "config.h" Move this after sys includes. > + > +#include <stdio.h> > +#include <stdint.h> > +#include <stdbool.h> > +#include <string.h> > +#include <ftw.h> ------------ ^ Sort alphabetically. > + > +#include <unistd.h> > +#include <fcntl.h> ------------ ^ > +#include <dirent.h> ------------ ^ > +#include <sys/ioctl.h> > +#include <sys/mman.h> > +#include <sys/types.h> > +#include <sys/stat.h> Please sort system includes, also place TEST documentation after includes (so we will not place docs in a middle). > +/** > + * 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: 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-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: 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 > + */ > + > +#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 <drm.h> -------------^ Sort it. > + > +#include "i915/gem.h" > +#include "i915/gem_create.h" > +#include "igt.h" > +#include "igt_kmod.h" > +#include "igt_sysfs.h" > +#include "igt_debugfs.h" ---------------- ^ > +#include "igt_device.h" ---------------- ^ > +#include "igt_edid.h" ---------------- ^ Regards, Kamil > +#include "intel_blt.h" > + > +#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(bool display_enabled) > +{ > + 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); > + > + if (display_enabled) > + 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: > + if (display_enabled) > + disable_all_screens(&ms_data); > + dump_file(debugfs, "i915_runtime_pm_status"); > + > + return wait_for_suspended(); > +} > + > +static void teardown_environment(bool display_enabled) > +{ > + close(msr_fd); > + if (has_pc8) > + close(pc8_status_fd); > + > + igt_restore_runtime_pm(); > + > + igt_pm_restore_sata_link_power_management(); > + > + if (display_enabled) > + fini_mode_set_data(&ms_data); > + > + close(debugfs); > + close(drm_fd); > + > + has_runtime_pm = false; > +} > + > +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(void) > +{ > + int i; > + uint32_t *buf_ptr; > + uint32_t tiling = false, swizzle; > + struct modeset_params params; > + drmModeConnectorPtr c = NULL; > + > + 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, true); > + > + for (i = 0; i < params.fb.size/sizeof(uint32_t); i++) > + igt_assert_eq(buf_ptr[i], i); > + igt_assert(wait_for_suspended()); > + > + 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); > + 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; > + > +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_fixture { > + igt_require(setup_environment(true)); > + } > + > + 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-dpms") { > + gem_require_mappable_ggtt(drm_fd); > + fences_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(); > + > + igt_fixture { > + teardown_environment(true); > + forcewake_put(&ms_data); > + } > +} > 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 4e1ed921c..99dc90c79 100644 > --- a/tests/intel-ci/fast-feedback.testlist > +++ b/tests/intel-ci/fast-feedback.testlist > @@ -118,13 +118,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 > @@ -160,7 +160,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/meson.build b/tests/meson.build > index 9cf630b94..9888c6d8d 100644 > --- a/tests/meson.build > +++ b/tests/meson.build > @@ -251,6 +251,7 @@ i915_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 [flat|nested] 13+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: warning for Separate display PM tests from Core 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (6 preceding siblings ...) 2023-08-23 11:43 ` [igt-dev] [i-g-t 7/7] tests/i915/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem @ 2023-08-23 12:05 ` Patchwork 2023-08-23 12:29 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork ` (2 subsequent siblings) 10 siblings, 0 replies; 13+ messages in thread From: Patchwork @ 2023-08-23 12:05 UTC (permalink / raw) To: Bhanuprakash Modem; +Cc: igt-dev == Series Details == Series: Separate display PM tests from Core URL : https://patchwork.freedesktop.org/series/122790/ State : warning == Summary == Pipeline status: FAILED. see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/968565 for the overview. build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903462): Running with gitlab-runner 15.10.1 (dcfb4b66) on fdo-equinix-m3l-21 y559XLTy, system ID: s_e106cb9ff99a section_start:1692792149:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792155:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903465): Running with gitlab-runner 15.10.1 (dcfb4b66) on fdo-equinix-m3l-21 y559XLTy, system ID: s_e106cb9ff99a section_start:1692792150:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-arm64:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-arm64:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-arm64:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-arm64: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-arm64:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792156:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-arm64:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-arm64:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-arm64: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-arm64:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903464): Running with gitlab-runner 16.2.1 (674e0e29) on fdo-equinix-m3l-23 M5DzQX4r, system ID: r_uRhul1c53zbG section_start:1692792150:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-armhf:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-armhf:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-armhf:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-armhf: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-armhf:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792154:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-armhf:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-armhf:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-armhf: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-armhf:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903466): Running with gitlab-runner 16.2.1 (674e0e29) on fdo-equinix-m3l-24 wL1RuQ-s, system ID: r_MoZu10MFma0h section_start:1692792150:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-mips:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-mips:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-mips:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-mips: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-mips:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792155:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-mips:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-mips:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-mips: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-mips:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903463): Running with gitlab-runner 16.2.1 (674e0e29) on fdo-equinix-m3l-22 YyH_tCiK, system ID: r_a0v3jgyTbvyU section_start:1692792150:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-minimal:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-minimal:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-minimal:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-minimal: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-minimal:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792154:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-minimal:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-minimal:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-debian-minimal: unknown: artifact cache/gfx-ci/igt-ci-tags/build-debian-minimal:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903457): Running with gitlab-runner 16.2.1 (674e0e29) on fdo-equinix-m3l-24 wL1RuQ-s, system ID: r_MoZu10MFma0h section_start:1692792148:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792153:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903461): Running with gitlab-runner 16.2.1 (674e0e29) on fdo-equinix-m3l-24 wL1RuQ-s, system ID: r_MoZu10MFma0h section_start:1692792149:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792154:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903460): Running with gitlab-runner 16.2.1 (674e0e29) on fdo-equinix-m3l-24 wL1RuQ-s, system ID: r_MoZu10MFma0h section_start:1692792149:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792154:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903458): Running with gitlab-runner 16.2.1 (674e0e29) on fdo-equinix-m3l-22 YyH_tCiK, system ID: r_a0v3jgyTbvyU section_start:1692792149:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792154:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47903459): Running with gitlab-runner 15.10.1 (dcfb4b66) on fdo-equinix-m3l-21 y559XLTy, system ID: s_e106cb9ff99a section_start:1692792149:prepare_executor Preparing the "docker" executor Using Docker executor with image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... Authenticating with credentials from job payload (GitLab Registry) Pulling docker image registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb ... WARNING: Failed to pull image with policy "if-not-present": initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) section_end:1692792154:prepare_executor ERROR: Job failed: failed to pull image "registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb" with specified policies [if-not-present]: initializing source docker://registry.freedesktop.org/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb: reading manifest commit-076d202da336162fab8394fe7970b8ee2902dbbb in harbor.freedesktop.org/cache/gfx-ci/igt-ci-tags/build-fedora: unknown: artifact cache/gfx-ci/igt-ci-tags/build-fedora:commit-076d202da336162fab8394fe7970b8ee2902dbbb not found (manager.go:237:4s) == Logs == For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/968565 ^ permalink raw reply [flat|nested] 13+ messages in thread
* [igt-dev] ✓ CI.xeBAT: success for Separate display PM tests from Core 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (7 preceding siblings ...) 2023-08-23 12:05 ` [igt-dev] ✗ GitLab.Pipeline: warning for Separate display PM tests from Core Patchwork @ 2023-08-23 12:29 ` Patchwork 2023-08-23 12:49 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork 2023-08-23 22:13 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 10 siblings, 0 replies; 13+ messages in thread From: Patchwork @ 2023-08-23 12:29 UTC (permalink / raw) To: Bhanuprakash Modem; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 1784 bytes --] == Series Details == Series: Separate display PM tests from Core URL : https://patchwork.freedesktop.org/series/122790/ State : success == Summary == CI Bug Log - changes from XEIGT_7451_BAT -> XEIGTPW_9643_BAT ==================================================== Summary ------- **SUCCESS** No regressions found. Participating hosts (3 -> 3) ------------------------------ No changes in participating hosts Known issues ------------ Here are the changes found in XEIGTPW_9643_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 similar issue [1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7451/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_9643/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1.html * igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12: - bat-adlp-7: [PASS][3] -> [FAIL][4] ([Intel XE#400]) +1 similar issue [3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7451/bat-adlp-7/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12.html [4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_9643/bat-adlp-7/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12.html [Intel XE#400]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/400 [Intel XE#480]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/480 Build changes ------------- * IGT: IGT_7451 -> IGTPW_9643 IGTPW_9643: 9643 IGT_7451: 5d48d1fb231f449fe2f80cda14ea7a1ecfda59fa @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git xe-330-3a964d06598874329aab6f8db7fd52840135d568: 3a964d06598874329aab6f8db7fd52840135d568 [-- Attachment #2: Type: text/html, Size: 2289 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for Separate display PM tests from Core 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (8 preceding siblings ...) 2023-08-23 12:29 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork @ 2023-08-23 12:49 ` Patchwork 2023-08-23 22:13 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 10 siblings, 0 replies; 13+ messages in thread From: Patchwork @ 2023-08-23 12:49 UTC (permalink / raw) To: Bhanuprakash Modem; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 16996 bytes --] == Series Details == Series: Separate display PM tests from Core URL : https://patchwork.freedesktop.org/series/122790/ State : success == Summary == CI Bug Log - changes from CI_DRM_13551 -> IGTPW_9643 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/index.html Participating hosts (41 -> 40) ------------------------------ Additional (1): fi-kbl-soraka Missing (2): bat-adlp-11 fi-snb-2520m Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_9643: ### IGT changes ### #### Possible regressions #### * {igt@kms_pm_backlight@basic-brightness} (NEW): - fi-rkl-11600: NOTRUN -> [SKIP][1] +2 similar issues [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-rkl-11600/igt@kms_pm_backlight@basic-brightness.html - {bat-dg2-13}: NOTRUN -> [SKIP][2] [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-13/igt@kms_pm_backlight@basic-brightness.html - {bat-dg2-14}: NOTRUN -> [SKIP][3] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-14/igt@kms_pm_backlight@basic-brightness.html * {igt@kms_pm_rpm@basic-pci-d3-state} (NEW): - {bat-dg2-14}: NOTRUN -> [ABORT][4] [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-14/igt@kms_pm_rpm@basic-pci-d3-state.html - {bat-dg2-13}: NOTRUN -> [ABORT][5] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-13/igt@kms_pm_rpm@basic-pci-d3-state.html * {igt@kms_pm_rpm@basic-rte} (NEW): - bat-atsm-1: NOTRUN -> [SKIP][6] +1 similar issue [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-atsm-1/igt@kms_pm_rpm@basic-rte.html - bat-dg2-9: NOTRUN -> [SKIP][7] +2 similar issues [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-9/igt@kms_pm_rpm@basic-rte.html - bat-dg2-11: NOTRUN -> [SKIP][8] +2 similar issues [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-11/igt@kms_pm_rpm@basic-rte.html - bat-adlm-1: NOTRUN -> [SKIP][9] +2 similar issues [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-adlm-1/igt@kms_pm_rpm@basic-rte.html - fi-tgl-1115g4: NOTRUN -> [SKIP][10] +2 similar issues [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-tgl-1115g4/igt@kms_pm_rpm@basic-rte.html - bat-rpls-1: NOTRUN -> [SKIP][11] +2 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-rpls-1/igt@kms_pm_rpm@basic-rte.html - bat-mtlp-6: NOTRUN -> [SKIP][12] +2 similar issues [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-mtlp-6/igt@kms_pm_rpm@basic-rte.html - bat-rpls-2: NOTRUN -> [SKIP][13] +2 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-rpls-2/igt@kms_pm_rpm@basic-rte.html - bat-mtlp-8: NOTRUN -> [SKIP][14] +1 similar issue [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-mtlp-8/igt@kms_pm_rpm@basic-rte.html * {igt@kms_pm_rpm@module-reload} (NEW): - bat-adls-5: NOTRUN -> [SKIP][15] +2 similar issues [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-adls-5/igt@kms_pm_rpm@module-reload.html - bat-dg1-5: NOTRUN -> [SKIP][16] +2 similar issues [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg1-5/igt@kms_pm_rpm@module-reload.html - bat-adlp-9: NOTRUN -> [SKIP][17] +2 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-adlp-9/igt@kms_pm_rpm@module-reload.html New tests --------- New tests have been introduced between CI_DRM_13551 and IGTPW_9643: ### New IGT tests (5) ### * igt@kms_pm_backlight@basic-brightness: - Statuses : 31 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@basic-brightness@edp-1: - Statuses : 1 abort(s) 6 pass(s) - Exec time: [0.0] s * igt@kms_pm_rpm@basic-pci-d3-state: - Statuses : 3 abort(s) 29 pass(s) 5 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@basic-rte: - Statuses : 34 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@module-reload: - Statuses : 34 skip(s) - Exec time: [0.0] s Known issues ------------ Here are the changes found in IGTPW_9643 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_huc_copy@huc-copy: - fi-kbl-soraka: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#2190]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-kbl-soraka/igt@gem_huc_copy@huc-copy.html * igt@gem_lmem_swapping@basic: - fi-kbl-soraka: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#4613]) +3 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-kbl-soraka/igt@gem_lmem_swapping@basic.html * igt@i915_selftest@live@gt_pm: - fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][20] ([i915#1886] / [i915#7913]) [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic: - fi-kbl-soraka: NOTRUN -> [SKIP][21] ([fdo#109271]) +10 similar issues [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-kbl-soraka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html * igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence: - bat-dg2-11: NOTRUN -> [SKIP][22] ([i915#1845] / [i915#5354]) +3 similar issues [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html * igt@kms_pipe_crc_basic@suspend-read-crc: - bat-rpls-2: NOTRUN -> [SKIP][23] ([i915#1845]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-rpls-2/igt@kms_pipe_crc_basic@suspend-read-crc.html * {igt@kms_pm_backlight@basic-brightness} (NEW): - fi-blb-e6850: NOTRUN -> [SKIP][24] ([fdo#109271]) +3 similar issues [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-blb-e6850/igt@kms_pm_backlight@basic-brightness.html - bat-kbl-2: NOTRUN -> [SKIP][25] ([fdo#109271]) +2 similar issues [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-kbl-2/igt@kms_pm_backlight@basic-brightness.html - bat-atsm-1: NOTRUN -> [SKIP][26] ([i915#6078]) [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-atsm-1/igt@kms_pm_backlight@basic-brightness.html * {igt@kms_pm_backlight@basic-brightness@edp-1} (NEW): - bat-rplp-1: NOTRUN -> [ABORT][27] ([i915#8668]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/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][28] ([i915#8668]) [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-adln-1/igt@kms_pm_rpm@basic-pci-d3-state.html - fi-ivb-3770: NOTRUN -> [SKIP][29] ([fdo#109271]) +3 similar issues [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-ivb-3770/igt@kms_pm_rpm@basic-pci-d3-state.html - fi-elk-e7500: NOTRUN -> [SKIP][30] ([fdo#109271]) +3 similar issues [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-elk-e7500/igt@kms_pm_rpm@basic-pci-d3-state.html - fi-ilk-650: NOTRUN -> [SKIP][31] ([fdo#109271]) +3 similar issues [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-ilk-650/igt@kms_pm_rpm@basic-pci-d3-state.html * {igt@kms_pm_rpm@basic-rte} (NEW): - bat-jsl-3: NOTRUN -> [SKIP][32] ([fdo#112080]) +1 similar issue [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-jsl-3/igt@kms_pm_rpm@basic-rte.html - fi-skl-guc: NOTRUN -> [SKIP][33] ([fdo#109271]) +2 similar issues [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-skl-guc/igt@kms_pm_rpm@basic-rte.html - fi-kbl-x1275: NOTRUN -> [SKIP][34] ([fdo#109271]) +2 similar issues [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-kbl-x1275/igt@kms_pm_rpm@basic-rte.html - fi-hsw-4770: NOTRUN -> [SKIP][35] ([fdo#109271]) +2 similar issues [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-hsw-4770/igt@kms_pm_rpm@basic-rte.html - fi-cfl-8109u: NOTRUN -> [SKIP][36] ([fdo#109271]) +2 similar issues [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-cfl-8109u/igt@kms_pm_rpm@basic-rte.html - fi-kbl-8809g: NOTRUN -> [SKIP][37] ([fdo#109271]) +2 similar issues [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-kbl-8809g/igt@kms_pm_rpm@basic-rte.html - fi-kbl-guc: NOTRUN -> [SKIP][38] ([fdo#109271]) +2 similar issues [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-kbl-guc/igt@kms_pm_rpm@basic-rte.html - fi-bsw-n3050: NOTRUN -> [SKIP][39] ([fdo#109271]) +2 similar issues [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-bsw-n3050/igt@kms_pm_rpm@basic-rte.html - fi-cfl-guc: NOTRUN -> [SKIP][40] ([fdo#109271]) +2 similar issues [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-cfl-guc/igt@kms_pm_rpm@basic-rte.html - fi-skl-6600u: NOTRUN -> [SKIP][41] ([fdo#109271]) +1 similar issue [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-skl-6600u/igt@kms_pm_rpm@basic-rte.html - bat-jsl-1: NOTRUN -> [SKIP][42] ([fdo#112080]) +1 similar issue [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-jsl-1/igt@kms_pm_rpm@basic-rte.html - fi-cfl-8700k: NOTRUN -> [SKIP][43] ([fdo#109271]) +2 similar issues [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-cfl-8700k/igt@kms_pm_rpm@basic-rte.html * {igt@kms_pm_rpm@module-reload} (NEW): - fi-apl-guc: NOTRUN -> [SKIP][44] ([fdo#109271]) +2 similar issues [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-apl-guc/igt@kms_pm_rpm@module-reload.html - fi-pnv-d510: NOTRUN -> [SKIP][45] ([fdo#109271]) +3 similar issues [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-pnv-d510/igt@kms_pm_rpm@module-reload.html - fi-glk-j4005: NOTRUN -> [SKIP][46] ([fdo#109271]) +2 similar issues [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/fi-glk-j4005/igt@kms_pm_rpm@module-reload.html #### Possible fixes #### * igt@gem_exec_suspend@basic-s0@lmem0: - bat-dg2-9: [INCOMPLETE][47] ([i915#6311]) -> [PASS][48] [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/bat-dg2-9/igt@gem_exec_suspend@basic-s0@lmem0.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-dg2-9/igt@gem_exec_suspend@basic-s0@lmem0.html * igt@gem_exec_suspend@basic-s3@smem: - bat-rpls-2: [ABORT][49] ([i915#7978] / [i915#8668]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/bat-rpls-2/igt@gem_exec_suspend@basic-s3@smem.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-rpls-2/igt@gem_exec_suspend@basic-s3@smem.html * igt@i915_selftest@live@gt_pm: - bat-rpls-2: [DMESG-FAIL][51] ([i915#4258] / [i915#7913]) -> [PASS][52] [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/bat-rpls-2/igt@i915_selftest@live@gt_pm.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-rpls-2/igt@i915_selftest@live@gt_pm.html * igt@i915_selftest@live@migrate: - bat-mtlp-8: [DMESG-FAIL][53] ([i915#7699]) -> [PASS][54] [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/bat-mtlp-8/igt@i915_selftest@live@migrate.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-mtlp-8/igt@i915_selftest@live@migrate.html * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1: - bat-rplp-1: [ABORT][55] ([i915#8442] / [i915#8668]) -> [PASS][56] [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html #### Warnings #### * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-a-edp-1: - bat-adlp-6: [ABORT][57] ([i915#7977] / [i915#8668]) -> [ABORT][58] ([i915#7977] / [i915#8469] / [i915#8668]) [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/bat-adlp-6/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-a-edp-1.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/bat-adlp-6/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-a-edp-1.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886 [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190 [i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354 [i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078 [i915#6311]: https://gitlab.freedesktop.org/drm/intel/issues/6311 [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699 [i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913 [i915#7977]: https://gitlab.freedesktop.org/drm/intel/issues/7977 [i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978 [i915#8442]: https://gitlab.freedesktop.org/drm/intel/issues/8442 [i915#8469]: https://gitlab.freedesktop.org/drm/intel/issues/8469 [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7451 -> IGTPW_9643 CI-20190529: 20190529 CI_DRM_13551: 8cb94c67371921ca934d49ff3edbe12cd6b21a39 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_9643: 9643 IGT_7451: 5d48d1fb231f449fe2f80cda14ea7a1ecfda59fa @ 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@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-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@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@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-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@system-suspend-modeset -igt@i915_pm_rpm@universal-planes -igt@i915_pm_rpm@universal-planes-dpms == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/index.html [-- Attachment #2: Type: text/html, Size: 21110 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for Separate display PM tests from Core 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem ` (9 preceding siblings ...) 2023-08-23 12:49 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork @ 2023-08-23 22:13 ` Patchwork 10 siblings, 0 replies; 13+ messages in thread From: Patchwork @ 2023-08-23 22:13 UTC (permalink / raw) To: Bhanuprakash Modem; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 85784 bytes --] == Series Details == Series: Separate display PM tests from Core URL : https://patchwork.freedesktop.org/series/122790/ State : success == Summary == CI Bug Log - changes from CI_DRM_13551_full -> IGTPW_9643_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/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_9643_full: ### IGT changes ### #### Possible regressions #### * {igt@kms_pm_backlight@fade-with-dpms} (NEW): - shard-rkl: NOTRUN -> [SKIP][1] +14 similar issues [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_pm_backlight@fade-with-dpms.html - shard-dg1: NOTRUN -> [SKIP][2] +16 similar issues [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-14/igt@kms_pm_backlight@fade-with-dpms.html * {igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a} (NEW): - shard-tglu: NOTRUN -> [FAIL][3] +1 similar issue [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-5/igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a.html * {igt@kms_pm_rpm@dpms-lpsp} (NEW): - shard-dg2: NOTRUN -> [SKIP][4] +13 similar issues [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@kms_pm_rpm@dpms-lpsp.html * {igt@kms_pm_rpm@dpms-non-lpsp} (NEW): - shard-tglu: NOTRUN -> [SKIP][5] +14 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-2/igt@kms_pm_rpm@dpms-non-lpsp.html - shard-mtlp: NOTRUN -> [SKIP][6] +10 similar issues [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-5/igt@kms_pm_rpm@dpms-non-lpsp.html New tests --------- New tests have been introduced between CI_DRM_13551_full and IGTPW_9643_full: ### New IGT tests (45) ### * igt@kms_pm_backlight@bad-brightness: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@bad-brightness@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_pm_backlight@basic-brightness: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_backlight@basic-brightness@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_pm_backlight@fade: - Statuses : 7 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_backlight@fade-with-suspend@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc3co-vpb-simulation: - Statuses : 8 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) 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc6-dpms: - Statuses : 1 fail(s) 7 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc6-psr: - Statuses : 8 skip(s) - Exec time: [0.0] s * igt@kms_pm_dc@dc9-dpms: - Statuses : 3 pass(s) 5 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) 1 pass(s) 2 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 : 8 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@basic-pci-d3-state: - 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) 1 skip(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 : 1 pass(s) 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@dpms-mode-unset-non-lpsp: - Statuses : 5 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@dpms-non-lpsp: - Statuses : 5 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@drm-resources-equal: - Statuses : 7 pass(s) 1 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@fences-dpms: - Statuses : 4 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@i2c: - Statuses : 7 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 : 1 pass(s) 5 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-lpsp-stress: - Statuses : 2 pass(s) 6 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-lpsp-stress-no-wait: - Statuses : 1 pass(s) 5 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-non-lpsp: - Statuses : 5 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-non-lpsp-stress: - Statuses : 5 pass(s) 3 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait: - Statuses : 4 pass(s) 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-pc8-residency-stress: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_pm_rpm@modeset-stress-extra-wait: - Statuses : - Exec time: [None] 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_9643_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@api_intel_bb@crc32: - shard-rkl: NOTRUN -> [SKIP][7] ([i915#6230]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@api_intel_bb@crc32.html - shard-dg1: NOTRUN -> [SKIP][8] ([i915#6230]) [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-17/igt@api_intel_bb@crc32.html * igt@debugfs_test@basic-hwmon: - shard-rkl: NOTRUN -> [SKIP][9] ([i915#7456]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@debugfs_test@basic-hwmon.html * igt@device_reset@unbind-cold-reset-rebind: - shard-rkl: NOTRUN -> [SKIP][10] ([i915#7701]) [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@device_reset@unbind-cold-reset-rebind.html - shard-dg1: NOTRUN -> [SKIP][11] ([i915#7701]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@device_reset@unbind-cold-reset-rebind.html * igt@drm_fdinfo@busy-idle-check-all@vcs1: - shard-dg1: NOTRUN -> [SKIP][12] ([i915#8414]) +9 similar issues [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@drm_fdinfo@busy-idle-check-all@vcs1.html * igt@drm_fdinfo@most-busy-check-all@bcs0: - shard-dg2: NOTRUN -> [SKIP][13] ([i915#8414]) +10 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-8/igt@drm_fdinfo@most-busy-check-all@bcs0.html * igt@drm_fdinfo@most-busy-check-all@rcs0: - shard-rkl: NOTRUN -> [FAIL][14] ([i915#7742]) [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-7/igt@drm_fdinfo@most-busy-check-all@rcs0.html * igt@gem_caching@writes: - shard-mtlp: NOTRUN -> [SKIP][15] ([i915#4873]) +1 similar issue [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@gem_caching@writes.html * igt@gem_ccs@suspend-resume@linear-compressed-compfmt0-smem-lmem0: - shard-dg2: [PASS][16] -> [INCOMPLETE][17] ([i915#6311] / [i915#7297]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg2-3/igt@gem_ccs@suspend-resume@linear-compressed-compfmt0-smem-lmem0.html [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-3/igt@gem_ccs@suspend-resume@linear-compressed-compfmt0-smem-lmem0.html * igt@gem_close_race@multigpu-basic-threads: - shard-dg2: NOTRUN -> [SKIP][18] ([i915#7697]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@gem_close_race@multigpu-basic-threads.html * igt@gem_create@create-ext-cpu-access-big: - shard-rkl: NOTRUN -> [SKIP][19] ([i915#6335]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@gem_create@create-ext-cpu-access-big.html * igt@gem_ctx_exec@basic-nohangcheck: - shard-rkl: [PASS][20] -> [FAIL][21] ([i915#6268]) [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-rkl-6/igt@gem_ctx_exec@basic-nohangcheck.html [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@gem_ctx_exec@basic-nohangcheck.html * igt@gem_ctx_persistence@engines-hang@vcs0: - shard-mtlp: [PASS][22] -> [FAIL][23] ([i915#2410]) +3 similar issues [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-5/igt@gem_ctx_persistence@engines-hang@vcs0.html [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-2/igt@gem_ctx_persistence@engines-hang@vcs0.html * igt@gem_ctx_persistence@engines-hang@vcs1: - shard-mtlp: [PASS][24] -> [ABORT][25] ([i915#8865]) [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-5/igt@gem_ctx_persistence@engines-hang@vcs1.html [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-2/igt@gem_ctx_persistence@engines-hang@vcs1.html * igt@gem_ctx_persistence@hang: - shard-mtlp: NOTRUN -> [SKIP][26] ([i915#8555]) [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@gem_ctx_persistence@hang.html * igt@gem_ctx_persistence@heartbeat-hang: - shard-dg2: NOTRUN -> [SKIP][27] ([i915#8555]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@gem_ctx_persistence@heartbeat-hang.html * igt@gem_ctx_persistence@saturated-hostile-nopreempt@vcs1: - shard-mtlp: NOTRUN -> [SKIP][28] ([i915#5882]) +5 similar issues [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@gem_ctx_persistence@saturated-hostile-nopreempt@vcs1.html * igt@gem_ctx_persistence@saturated-hostile@vecs0: - shard-mtlp: [PASS][29] -> [FAIL][30] ([i915#7816]) +2 similar issues [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-2/igt@gem_ctx_persistence@saturated-hostile@vecs0.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@gem_ctx_persistence@saturated-hostile@vecs0.html * igt@gem_eio@hibernate: - shard-dg2: [PASS][31] -> [ABORT][32] ([i915#7975] / [i915#8213]) [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg2-11/igt@gem_eio@hibernate.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-3/igt@gem_eio@hibernate.html * igt@gem_eio@in-flight-suspend: - shard-dg1: [PASS][33] -> [DMESG-WARN][34] ([i915#4391] / [i915#4423]) +1 similar issue [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-19/igt@gem_eio@in-flight-suspend.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@gem_eio@in-flight-suspend.html * igt@gem_eio@reset-stress: - shard-dg1: [PASS][35] -> [FAIL][36] ([i915#5784]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-17/igt@gem_eio@reset-stress.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-15/igt@gem_eio@reset-stress.html * igt@gem_exec_balancer@hog: - shard-dg2: NOTRUN -> [SKIP][37] ([i915#4812]) +1 similar issue [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@gem_exec_balancer@hog.html * igt@gem_exec_balancer@parallel-contexts: - shard-rkl: NOTRUN -> [SKIP][38] ([i915#4525]) [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@gem_exec_balancer@parallel-contexts.html * igt@gem_exec_capture@capture-recoverable: - shard-rkl: NOTRUN -> [SKIP][39] ([i915#6344]) [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@gem_exec_capture@capture-recoverable.html * igt@gem_exec_fair@basic-none-share@rcs0: - shard-rkl: NOTRUN -> [FAIL][40] ([i915#2842]) [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@gem_exec_fair@basic-none-share@rcs0.html * igt@gem_exec_fair@basic-pace-share@rcs0: - shard-glk: [PASS][41] -> [FAIL][42] ([i915#2842]) [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-glk9/igt@gem_exec_fair@basic-pace-share@rcs0.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk3/igt@gem_exec_fair@basic-pace-share@rcs0.html * igt@gem_exec_fair@basic-pace@rcs0: - shard-glk: NOTRUN -> [FAIL][43] ([i915#2842]) +1 similar issue [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk4/igt@gem_exec_fair@basic-pace@rcs0.html * igt@gem_exec_fair@basic-sync: - shard-dg1: NOTRUN -> [SKIP][44] ([i915#3539]) [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-15/igt@gem_exec_fair@basic-sync.html - shard-mtlp: NOTRUN -> [SKIP][45] ([i915#4473] / [i915#4771]) [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@gem_exec_fair@basic-sync.html * igt@gem_exec_flush@basic-batch-kernel-default-cmd: - shard-dg2: NOTRUN -> [SKIP][46] ([i915#3539] / [i915#4852]) +4 similar issues [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-8/igt@gem_exec_flush@basic-batch-kernel-default-cmd.html * igt@gem_exec_flush@basic-batch-kernel-default-uc: - shard-mtlp: [PASS][47] -> [DMESG-FAIL][48] ([i915#8962] / [i915#9121]) [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-7/igt@gem_exec_flush@basic-batch-kernel-default-uc.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@gem_exec_flush@basic-batch-kernel-default-uc.html * igt@gem_exec_reloc@basic-wc: - shard-dg2: NOTRUN -> [SKIP][49] ([i915#3281]) +6 similar issues [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@gem_exec_reloc@basic-wc.html - shard-rkl: NOTRUN -> [SKIP][50] ([i915#3281]) +4 similar issues [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@gem_exec_reloc@basic-wc.html * igt@gem_exec_reloc@basic-wc-noreloc: - shard-dg1: NOTRUN -> [SKIP][51] ([i915#3281]) [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@gem_exec_reloc@basic-wc-noreloc.html * igt@gem_exec_schedule@noreorder-priority@rcs0: - shard-mtlp: [PASS][52] -> [DMESG-FAIL][53] ([i915#9121]) [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-2/igt@gem_exec_schedule@noreorder-priority@rcs0.html [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@gem_exec_schedule@noreorder-priority@rcs0.html * igt@gem_exec_schedule@preemptive-hang@vcs0: - shard-mtlp: NOTRUN -> [FAIL][54] ([i915#9051]) [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-8/igt@gem_exec_schedule@preemptive-hang@vcs0.html * igt@gem_exec_suspend@basic-s0@smem: - shard-dg2: [PASS][55] -> [INCOMPLETE][56] ([i915#6311]) [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg2-11/igt@gem_exec_suspend@basic-s0@smem.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-1/igt@gem_exec_suspend@basic-s0@smem.html * igt@gem_exec_suspend@basic-s4-devices@lmem0: - shard-dg2: NOTRUN -> [ABORT][57] ([i915#7975] / [i915#8213]) [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-8/igt@gem_exec_suspend@basic-s4-devices@lmem0.html * igt@gem_exec_suspend@basic-s4-devices@smem: - shard-tglu: [PASS][58] -> [ABORT][59] ([i915#7975] / [i915#8213]) [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-tglu-3/igt@gem_exec_suspend@basic-s4-devices@smem.html [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-10/igt@gem_exec_suspend@basic-s4-devices@smem.html * igt@gem_fenced_exec_thrash@2-spare-fences: - shard-dg2: NOTRUN -> [SKIP][60] ([i915#4860]) +1 similar issue [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@gem_fenced_exec_thrash@2-spare-fences.html * igt@gem_lmem_swapping@heavy-multi: - shard-glk: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#4613]) [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk2/igt@gem_lmem_swapping@heavy-multi.html * igt@gem_lmem_swapping@heavy-verify-random-ccs: - shard-rkl: NOTRUN -> [SKIP][62] ([i915#4613]) +1 similar issue [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@gem_lmem_swapping@heavy-verify-random-ccs.html * igt@gem_lmem_swapping@heavy-verify-random-ccs@lmem0: - shard-dg1: NOTRUN -> [SKIP][63] ([i915#4565]) [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@gem_lmem_swapping@heavy-verify-random-ccs@lmem0.html * igt@gem_lmem_swapping@smem-oom@lmem0: - shard-dg1: [PASS][64] -> [TIMEOUT][65] ([i915#4423] / [i915#5493]) [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-19/igt@gem_lmem_swapping@smem-oom@lmem0.html [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-17/igt@gem_lmem_swapping@smem-oom@lmem0.html * igt@gem_media_vme: - shard-dg2: NOTRUN -> [SKIP][66] ([i915#284]) [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@gem_media_vme.html * igt@gem_mmap_gtt@zero-extend: - shard-dg2: NOTRUN -> [SKIP][67] ([i915#4077]) +12 similar issues [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@gem_mmap_gtt@zero-extend.html * igt@gem_mmap_wc@close: - shard-dg2: NOTRUN -> [SKIP][68] ([i915#4083]) +3 similar issues [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@gem_mmap_wc@close.html * igt@gem_pread@bench: - shard-rkl: NOTRUN -> [SKIP][69] ([i915#3282]) +2 similar issues [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@gem_pread@bench.html * igt@gem_pread@snoop: - shard-dg1: NOTRUN -> [SKIP][70] ([i915#3282]) +2 similar issues [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-17/igt@gem_pread@snoop.html * igt@gem_pxp@display-protected-crc: - shard-dg2: NOTRUN -> [SKIP][71] ([i915#4270]) +1 similar issue [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@gem_pxp@display-protected-crc.html - shard-rkl: NOTRUN -> [SKIP][72] ([i915#4270]) +1 similar issue [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@gem_pxp@display-protected-crc.html * igt@gem_pxp@verify-pxp-execution-after-suspend-resume: - shard-dg1: NOTRUN -> [SKIP][73] ([i915#4270]) [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@gem_pxp@verify-pxp-execution-after-suspend-resume.html * igt@gem_readwrite@write-bad-handle: - shard-dg2: NOTRUN -> [SKIP][74] ([i915#3282]) +4 similar issues [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@gem_readwrite@write-bad-handle.html - shard-mtlp: NOTRUN -> [SKIP][75] ([i915#3282]) [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-5/igt@gem_readwrite@write-bad-handle.html * igt@gem_set_tiling_vs_blt@untiled-to-tiled: - shard-dg2: NOTRUN -> [SKIP][76] ([i915#4079]) [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-1/igt@gem_set_tiling_vs_blt@untiled-to-tiled.html - shard-rkl: NOTRUN -> [SKIP][77] ([i915#8411]) [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@gem_set_tiling_vs_blt@untiled-to-tiled.html * igt@gem_userptr_blits@create-destroy-unsync: - shard-dg2: NOTRUN -> [SKIP][78] ([i915#3297]) +1 similar issue [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@gem_userptr_blits@create-destroy-unsync.html * igt@gem_userptr_blits@dmabuf-sync: - shard-glk: NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#3323]) [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk2/igt@gem_userptr_blits@dmabuf-sync.html * igt@gem_userptr_blits@unsync-overlap: - shard-rkl: NOTRUN -> [SKIP][80] ([i915#3297]) [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@gem_userptr_blits@unsync-overlap.html * igt@gem_userptr_blits@unsync-unmap-after-close: - shard-dg1: NOTRUN -> [SKIP][81] ([i915#3297]) [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-15/igt@gem_userptr_blits@unsync-unmap-after-close.html * igt@gen3_render_mixed_blits: - shard-dg1: NOTRUN -> [SKIP][82] ([fdo#109289]) +1 similar issue [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@gen3_render_mixed_blits.html - shard-mtlp: NOTRUN -> [SKIP][83] ([fdo#109289]) [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@gen3_render_mixed_blits.html * igt@gen7_exec_parse@batch-without-end: - shard-rkl: NOTRUN -> [SKIP][84] ([fdo#109289]) +2 similar issues [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@gen7_exec_parse@batch-without-end.html * igt@gen7_exec_parse@chained-batch: - shard-dg2: NOTRUN -> [SKIP][85] ([fdo#109289]) +2 similar issues [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@gen7_exec_parse@chained-batch.html * igt@gen9_exec_parse@allowed-single: - shard-tglu: NOTRUN -> [SKIP][86] ([i915#2527] / [i915#2856]) [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-6/igt@gen9_exec_parse@allowed-single.html * igt@gen9_exec_parse@bb-start-far: - shard-rkl: NOTRUN -> [SKIP][87] ([i915#2527]) +3 similar issues [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@gen9_exec_parse@bb-start-far.html - shard-dg1: NOTRUN -> [SKIP][88] ([i915#2527]) [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@gen9_exec_parse@bb-start-far.html * igt@gen9_exec_parse@secure-batches: - shard-dg2: NOTRUN -> [SKIP][89] ([i915#2856]) +1 similar issue [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@gen9_exec_parse@secure-batches.html * igt@i915_module_load@resize-bar: - shard-rkl: NOTRUN -> [SKIP][90] ([i915#6412]) [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@i915_module_load@resize-bar.html - shard-tglu: NOTRUN -> [SKIP][91] ([i915#6412]) [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-2/igt@i915_module_load@resize-bar.html * igt@i915_pipe_stress@stress-xrgb8888-ytiled: - shard-dg2: NOTRUN -> [SKIP][92] ([i915#7091]) [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@i915_pipe_stress@stress-xrgb8888-ytiled.html * igt@i915_pm_rc6_residency@rc6-accuracy: - shard-mtlp: [PASS][93] -> [SKIP][94] ([i915#8403]) [93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-5/igt@i915_pm_rc6_residency@rc6-accuracy.html [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-3/igt@i915_pm_rc6_residency@rc6-accuracy.html * igt@i915_pm_sseu@full-enable: - shard-dg2: NOTRUN -> [SKIP][95] ([i915#4387]) [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-1/igt@i915_pm_sseu@full-enable.html - shard-rkl: NOTRUN -> [SKIP][96] ([i915#4387]) [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@i915_pm_sseu@full-enable.html * igt@i915_query@query-topology-known-pci-ids: - shard-dg1: NOTRUN -> [SKIP][97] ([fdo#109303]) [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@i915_query@query-topology-known-pci-ids.html - shard-rkl: NOTRUN -> [SKIP][98] ([fdo#109303]) [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@i915_query@query-topology-known-pci-ids.html * igt@i915_selftest@live@gt_heartbeat: - shard-apl: [PASS][99] -> [DMESG-FAIL][100] ([i915#5334]) [99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-apl7/igt@i915_selftest@live@gt_heartbeat.html [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-apl3/igt@i915_selftest@live@gt_heartbeat.html * igt@kms_addfb_basic@addfb25-x-tiled-legacy: - shard-dg2: NOTRUN -> [SKIP][101] ([i915#4212]) [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_addfb_basic@addfb25-x-tiled-legacy.html * igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-y-rc_ccs: - shard-dg1: NOTRUN -> [SKIP][102] ([i915#8502]) +7 similar issues [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-y-rc_ccs.html * igt@kms_async_flips@crc@pipe-d-dp-4: - shard-dg2: NOTRUN -> [FAIL][103] ([i915#8247]) +3 similar issues [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_async_flips@crc@pipe-d-dp-4.html * igt@kms_async_flips@crc@pipe-d-hdmi-a-4: - shard-dg1: NOTRUN -> [FAIL][104] ([i915#8247]) +3 similar issues [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-15/igt@kms_async_flips@crc@pipe-d-hdmi-a-4.html * igt@kms_atomic_transition@plane-all-modeset-transition-fencing: - shard-mtlp: NOTRUN -> [SKIP][105] ([i915#1769]) +1 similar issue [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@kms_atomic_transition@plane-all-modeset-transition-fencing.html * igt@kms_big_fb@4-tiled-32bpp-rotate-270: - shard-dg2: NOTRUN -> [SKIP][106] ([fdo#111614]) +2 similar issues [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-1/igt@kms_big_fb@4-tiled-32bpp-rotate-270.html * igt@kms_big_fb@4-tiled-8bpp-rotate-180: - shard-dg1: NOTRUN -> [SKIP][107] ([i915#4538] / [i915#5286]) +2 similar issues [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@kms_big_fb@4-tiled-8bpp-rotate-180.html * igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0: - shard-tglu: NOTRUN -> [SKIP][108] ([fdo#111615] / [i915#5286]) [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-6/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0.html * igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip: - shard-rkl: NOTRUN -> [SKIP][109] ([i915#5286]) +2 similar issues [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip.html * igt@kms_big_fb@linear-32bpp-rotate-90: - shard-dg1: NOTRUN -> [SKIP][110] ([i915#3638]) +1 similar issue [110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-14/igt@kms_big_fb@linear-32bpp-rotate-90.html - shard-mtlp: NOTRUN -> [SKIP][111] ([fdo#111614]) [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-1/igt@kms_big_fb@linear-32bpp-rotate-90.html * igt@kms_big_fb@linear-8bpp-rotate-270: - shard-rkl: NOTRUN -> [SKIP][112] ([fdo#111614] / [i915#3638]) +3 similar issues [112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@kms_big_fb@linear-8bpp-rotate-270.html - shard-tglu: NOTRUN -> [SKIP][113] ([fdo#111614]) [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-4/igt@kms_big_fb@linear-8bpp-rotate-270.html * igt@kms_big_fb@y-tiled-addfb-size-offset-overflow: - shard-dg2: NOTRUN -> [SKIP][114] ([i915#5190]) +11 similar issues [114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@kms_big_fb@y-tiled-addfb-size-offset-overflow.html * igt@kms_big_fb@yf-tiled-64bpp-rotate-0: - shard-dg1: NOTRUN -> [SKIP][115] ([i915#4538]) +3 similar issues [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@kms_big_fb@yf-tiled-64bpp-rotate-0.html * igt@kms_big_fb@yf-tiled-addfb-size-overflow: - shard-rkl: NOTRUN -> [SKIP][116] ([fdo#111615]) [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_big_fb@yf-tiled-addfb-size-overflow.html * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip: - shard-rkl: NOTRUN -> [SKIP][117] ([fdo#110723]) +1 similar issue [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html * igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip: - shard-dg2: NOTRUN -> [SKIP][118] ([i915#4538] / [i915#5190]) +2 similar issues [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-5/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip.html * igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip: - shard-mtlp: NOTRUN -> [SKIP][119] ([fdo#111615]) +4 similar issues [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-8/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html * igt@kms_big_joiner@2x-modeset: - shard-mtlp: NOTRUN -> [SKIP][120] ([i915#2705]) [120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-7/igt@kms_big_joiner@2x-modeset.html - shard-dg2: NOTRUN -> [SKIP][121] ([i915#2705]) [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@kms_big_joiner@2x-modeset.html * igt@kms_ccs@pipe-a-bad-aux-stride-yf_tiled_ccs: - shard-dg1: NOTRUN -> [SKIP][122] ([i915#3689] / [i915#5354] / [i915#6095]) +9 similar issues [122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-19/igt@kms_ccs@pipe-a-bad-aux-stride-yf_tiled_ccs.html * igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs: - shard-rkl: NOTRUN -> [SKIP][123] ([i915#3886] / [i915#5354] / [i915#6095]) [123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-7/igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc: - shard-glk: NOTRUN -> [SKIP][124] ([fdo#109271] / [i915#3886]) +3 similar issues [124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk4/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html * igt@kms_ccs@pipe-b-bad-aux-stride-yf_tiled_ccs: - shard-rkl: NOTRUN -> [SKIP][125] ([i915#3734] / [i915#5354] / [i915#6095]) +2 similar issues [125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@kms_ccs@pipe-b-bad-aux-stride-yf_tiled_ccs.html * igt@kms_ccs@pipe-b-bad-pixel-format-4_tiled_dg2_rc_ccs: - shard-rkl: NOTRUN -> [SKIP][126] ([i915#5354] / [i915#6095]) +10 similar issues [126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_ccs@pipe-b-bad-pixel-format-4_tiled_dg2_rc_ccs.html * igt@kms_ccs@pipe-b-crc-primary-basic-yf_tiled_ccs: - shard-mtlp: NOTRUN -> [SKIP][127] ([i915#6095]) +5 similar issues [127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@kms_ccs@pipe-b-crc-primary-basic-yf_tiled_ccs.html * igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_rc_ccs_cc: - shard-mtlp: NOTRUN -> [SKIP][128] ([i915#3886] / [i915#6095]) +1 similar issue [128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_rc_ccs_cc.html * igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc: - shard-dg2: NOTRUN -> [SKIP][129] ([i915#3689] / [i915#3886] / [i915#5354]) +9 similar issues [129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html * igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_mtl_rc_ccs: - shard-tglu: NOTRUN -> [SKIP][130] ([i915#5354] / [i915#6095]) +3 similar issues [130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-8/igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_mtl_rc_ccs.html * igt@kms_ccs@pipe-c-missing-ccs-buffer-4_tiled_mtl_rc_ccs_cc: - shard-dg1: NOTRUN -> [SKIP][131] ([i915#5354] / [i915#6095]) +12 similar issues [131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-19/igt@kms_ccs@pipe-c-missing-ccs-buffer-4_tiled_mtl_rc_ccs_cc.html * igt@kms_ccs@pipe-d-bad-aux-stride-4_tiled_mtl_mc_ccs: - shard-glk: NOTRUN -> [SKIP][132] ([fdo#109271]) +69 similar issues [132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk1/igt@kms_ccs@pipe-d-bad-aux-stride-4_tiled_mtl_mc_ccs.html * igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_gen12_mc_ccs: - shard-dg2: NOTRUN -> [SKIP][133] ([i915#3689] / [i915#5354]) +14 similar issues [133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_gen12_mc_ccs.html - shard-rkl: NOTRUN -> [SKIP][134] ([i915#5354]) +17 similar issues [134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs: - shard-dg2: NOTRUN -> [SKIP][135] ([i915#5354]) +32 similar issues [135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs.html * igt@kms_cdclk@mode-transition-all-outputs: - shard-rkl: NOTRUN -> [SKIP][136] ([i915#3742]) [136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_cdclk@mode-transition-all-outputs.html - shard-dg1: NOTRUN -> [SKIP][137] ([i915#3742]) [137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-19/igt@kms_cdclk@mode-transition-all-outputs.html * igt@kms_chamelium_color@ctm-0-25: - shard-dg2: NOTRUN -> [SKIP][138] ([fdo#111827]) [138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_chamelium_color@ctm-0-25.html - shard-rkl: NOTRUN -> [SKIP][139] ([fdo#111827]) [139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_chamelium_color@ctm-0-25.html * igt@kms_chamelium_color@ctm-max: - shard-dg1: NOTRUN -> [SKIP][140] ([fdo#111827]) [140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-14/igt@kms_chamelium_color@ctm-max.html * igt@kms_chamelium_frames@hdmi-cmp-planar-formats: - shard-dg2: NOTRUN -> [SKIP][141] ([i915#7828]) +4 similar issues [141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-3/igt@kms_chamelium_frames@hdmi-cmp-planar-formats.html * igt@kms_chamelium_hpd@dp-hpd-storm: - shard-rkl: NOTRUN -> [SKIP][142] ([i915#7828]) +4 similar issues [142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@kms_chamelium_hpd@dp-hpd-storm.html - shard-tglu: NOTRUN -> [SKIP][143] ([i915#7828]) +1 similar issue [143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-2/igt@kms_chamelium_hpd@dp-hpd-storm.html * igt@kms_chamelium_hpd@hdmi-hpd: - shard-mtlp: NOTRUN -> [SKIP][144] ([i915#7828]) +2 similar issues [144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-1/igt@kms_chamelium_hpd@hdmi-hpd.html * igt@kms_chamelium_hpd@hdmi-hpd-for-each-pipe: - shard-dg1: NOTRUN -> [SKIP][145] ([i915#7828]) +2 similar issues [145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@kms_chamelium_hpd@hdmi-hpd-for-each-pipe.html * igt@kms_color@deep-color: - shard-dg2: NOTRUN -> [SKIP][146] ([i915#3555]) +3 similar issues [146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@kms_color@deep-color.html * igt@kms_content_protection@lic@pipe-a-dp-4: - shard-dg2: NOTRUN -> [TIMEOUT][147] ([i915#7173]) +1 similar issue [147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_content_protection@lic@pipe-a-dp-4.html * igt@kms_content_protection@srm: - shard-dg2: NOTRUN -> [SKIP][148] ([i915#7118]) +1 similar issue [148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@kms_content_protection@srm.html - shard-rkl: NOTRUN -> [SKIP][149] ([i915#7118]) [149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_content_protection@srm.html * igt@kms_cursor_crc@cursor-offscreen-512x170: - shard-tglu: NOTRUN -> [SKIP][150] ([fdo#109279] / [i915#3359]) [150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-9/igt@kms_cursor_crc@cursor-offscreen-512x170.html - shard-rkl: NOTRUN -> [SKIP][151] ([fdo#109279] / [i915#3359]) [151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_cursor_crc@cursor-offscreen-512x170.html * igt@kms_cursor_crc@cursor-onscreen-512x512: - shard-dg1: NOTRUN -> [SKIP][152] ([i915#3359]) +1 similar issue [152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@kms_cursor_crc@cursor-onscreen-512x512.html * igt@kms_cursor_crc@cursor-random-512x512: - shard-dg2: NOTRUN -> [SKIP][153] ([i915#3359]) +1 similar issue [153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@kms_cursor_crc@cursor-random-512x512.html * igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic: - shard-rkl: NOTRUN -> [SKIP][154] ([fdo#111767] / [fdo#111825]) +1 similar issue [154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-7/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html - shard-tglu: NOTRUN -> [SKIP][155] ([fdo#109274] / [fdo#111767]) [155]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-8/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size: - shard-dg1: NOTRUN -> [SKIP][156] ([i915#4103] / [i915#4213]) +1 similar issue [156]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-17/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html * igt@kms_cursor_legacy@cursorb-vs-flipb-atomic: - shard-rkl: NOTRUN -> [SKIP][157] ([fdo#111825]) +4 similar issues [157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic.html - shard-tglu: NOTRUN -> [SKIP][158] ([fdo#109274]) [158]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-8/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size: - shard-glk: [PASS][159] -> [FAIL][160] ([i915#2346]) [159]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-glk6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html [160]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html * igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size: - shard-rkl: NOTRUN -> [SKIP][161] ([i915#4103]) [161]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html - shard-tglu: NOTRUN -> [SKIP][162] ([i915#4103]) [162]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-9/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html * igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle: - shard-dg2: NOTRUN -> [SKIP][163] ([i915#4103] / [i915#4213]) [163]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle.html * igt@kms_dsc@dsc-with-output-formats: - shard-rkl: NOTRUN -> [SKIP][164] ([i915#3555] / [i915#3840]) [164]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_dsc@dsc-with-output-formats.html - shard-tglu: NOTRUN -> [SKIP][165] ([i915#3555] / [i915#3840]) [165]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-9/igt@kms_dsc@dsc-with-output-formats.html * igt@kms_fbcon_fbt@psr-suspend: - shard-rkl: NOTRUN -> [SKIP][166] ([fdo#110189] / [i915#3955]) [166]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_fbcon_fbt@psr-suspend.html - shard-tglu: NOTRUN -> [SKIP][167] ([i915#3469]) [167]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-8/igt@kms_fbcon_fbt@psr-suspend.html * igt@kms_flip@2x-dpms-vs-vblank-race: - shard-dg2: NOTRUN -> [SKIP][168] ([fdo#109274]) +2 similar issues [168]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_flip@2x-dpms-vs-vblank-race.html * igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset-interruptible: - shard-mtlp: NOTRUN -> [SKIP][169] ([i915#3637]) [169]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-7/igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset-interruptible.html * igt@kms_flip@2x-flip-vs-rmfb-interruptible: - shard-tglu: NOTRUN -> [SKIP][170] ([fdo#109274] / [fdo#111767] / [i915#3637]) [170]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-8/igt@kms_flip@2x-flip-vs-rmfb-interruptible.html * igt@kms_flip@flip-vs-fences: - shard-mtlp: NOTRUN -> [SKIP][171] ([i915#8381]) [171]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@kms_flip@flip-vs-fences.html * igt@kms_flip@flip-vs-fences-interruptible: - shard-dg2: NOTRUN -> [SKIP][172] ([i915#8381]) [172]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@kms_flip@flip-vs-fences-interruptible.html * igt@kms_flip@flip-vs-suspend@b-hdmi-a1: - shard-snb: NOTRUN -> [DMESG-WARN][173] ([i915#8841]) +4 similar issues [173]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-snb1/igt@kms_flip@flip-vs-suspend@b-hdmi-a1.html * igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-upscaling@pipe-a-valid-mode: - shard-dg1: NOTRUN -> [SKIP][174] ([i915#2587] / [i915#2672]) [174]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-upscaling@pipe-a-valid-mode.html * igt@kms_flip_scaled_crc@flip-64bpp-linear-to-32bpp-linear-downscaling@pipe-a-default-mode: - shard-mtlp: NOTRUN -> [SKIP][175] ([i915#8810]) [175]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-5/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-32bpp-linear-downscaling@pipe-a-default-mode.html * igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode: - shard-dg2: NOTRUN -> [SKIP][176] ([i915#2672]) +4 similar issues [176]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-5/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode.html - shard-rkl: NOTRUN -> [SKIP][177] ([i915#2672]) +3 similar issues [177]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode.html * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-default-mode: - shard-mtlp: NOTRUN -> [SKIP][178] ([i915#2672]) +1 similar issue [178]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-default-mode.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render: - shard-dg1: NOTRUN -> [SKIP][179] ([fdo#111825]) +17 similar issues [179]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-render.html * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu: - shard-mtlp: NOTRUN -> [SKIP][180] ([i915#1825]) +2 similar issues [180]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-rte: - shard-rkl: NOTRUN -> [SKIP][181] ([i915#3023]) +16 similar issues [181]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_frontbuffer_tracking@fbcpsr-1p-rte.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-mmap-wc: - shard-dg2: NOTRUN -> [SKIP][182] ([i915#8708]) +13 similar issues [182]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-wc: - shard-rkl: NOTRUN -> [SKIP][183] ([fdo#111825] / [i915#1825]) +25 similar issues [183]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-move: - shard-tglu: NOTRUN -> [SKIP][184] ([fdo#109280]) +4 similar issues [184]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-4/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-move.html * igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-blt: - shard-dg1: NOTRUN -> [SKIP][185] ([i915#3458]) +7 similar issues [185]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-blt.html * igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-gtt: - shard-tglu: NOTRUN -> [SKIP][186] ([fdo#110189]) +4 similar issues [186]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-4/igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@fbcpsr-tiling-y: - shard-mtlp: NOTRUN -> [SKIP][187] ([i915#5460]) [187]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-5/igt@kms_frontbuffer_tracking@fbcpsr-tiling-y.html * igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-cpu: - shard-dg2: NOTRUN -> [SKIP][188] ([i915#3458]) +12 similar issues [188]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-1/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-wc: - shard-dg1: NOTRUN -> [SKIP][189] ([i915#8708]) +7 similar issues [189]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-wc.html * igt@kms_hdmi_inject@inject-audio: - shard-tglu: [PASS][190] -> [SKIP][191] ([i915#433]) [190]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-tglu-4/igt@kms_hdmi_inject@inject-audio.html [191]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-6/igt@kms_hdmi_inject@inject-audio.html * igt@kms_hdr@static-toggle-suspend: - shard-dg2: NOTRUN -> [SKIP][192] ([i915#3555] / [i915#8228]) +1 similar issue [192]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-1/igt@kms_hdr@static-toggle-suspend.html - shard-rkl: NOTRUN -> [SKIP][193] ([i915#3555] / [i915#8228]) [193]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@kms_hdr@static-toggle-suspend.html - shard-tglu: NOTRUN -> [SKIP][194] ([i915#3555] / [i915#8228]) [194]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-4/igt@kms_hdr@static-toggle-suspend.html * igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-dp-1: - shard-apl: [PASS][195] -> [ABORT][196] ([i915#180]) [195]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-apl6/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-dp-1.html [196]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-apl6/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-dp-1.html * igt@kms_plane_lowres@tiling-y: - shard-dg2: NOTRUN -> [SKIP][197] ([i915#8821]) [197]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_plane_lowres@tiling-y.html - shard-mtlp: NOTRUN -> [SKIP][198] ([i915#8821]) [198]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@kms_plane_lowres@tiling-y.html * igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-25@pipe-b-hdmi-a-1: - shard-dg2: NOTRUN -> [SKIP][199] ([i915#5176]) +7 similar issues [199]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-25@pipe-b-hdmi-a-1.html * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-5@pipe-b-hdmi-a-2: - shard-rkl: NOTRUN -> [SKIP][200] ([i915#5176]) +1 similar issue [200]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-5@pipe-b-hdmi-a-2.html * igt@kms_plane_scaling@plane-upscale-with-rotation-factor-0-25@pipe-b-hdmi-a-4: - shard-dg1: NOTRUN -> [SKIP][201] ([i915#5176]) +19 similar issues [201]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-14/igt@kms_plane_scaling@plane-upscale-with-rotation-factor-0-25@pipe-b-hdmi-a-4.html * igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-b-hdmi-a-2: - shard-rkl: NOTRUN -> [SKIP][202] ([i915#5235]) +7 similar issues [202]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-b-hdmi-a-2.html * igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-3: - shard-dg2: NOTRUN -> [SKIP][203] ([i915#5235]) +23 similar issues [203]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-8/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-3.html * {igt@kms_pm_backlight@fade} (NEW): - shard-snb: NOTRUN -> [SKIP][204] ([fdo#109271]) +75 similar issues [204]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-snb6/igt@kms_pm_backlight@fade.html * {igt@kms_pm_lpsp@screens-disabled} (NEW): - shard-apl: NOTRUN -> [SKIP][205] ([fdo#109271]) +16 similar issues [205]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-apl7/igt@kms_pm_lpsp@screens-disabled.html * {igt@kms_pm_rpm@dpms-lpsp} (NEW): - shard-dg1: NOTRUN -> [SKIP][206] ([i915#4423]) [206]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@kms_pm_rpm@dpms-lpsp.html * {igt@kms_pm_rpm@fences-dpms} (NEW): - shard-dg1: NOTRUN -> [SKIP][207] ([i915#4077]) +3 similar issues [207]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@kms_pm_rpm@fences-dpms.html - shard-mtlp: NOTRUN -> [SKIP][208] ([i915#4077]) +2 similar issues [208]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-7/igt@kms_pm_rpm@fences-dpms.html * igt@kms_prime@basic-crc-hybrid: - shard-dg2: NOTRUN -> [SKIP][209] ([i915#6524] / [i915#6805]) [209]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@kms_prime@basic-crc-hybrid.html * igt@kms_prime@basic-crc-vgem: - shard-dg1: NOTRUN -> [SKIP][210] ([i915#6524]) [210]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@kms_prime@basic-crc-vgem.html * igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf: - shard-glk: NOTRUN -> [SKIP][211] ([fdo#109271] / [i915#658]) [211]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk8/igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf.html * igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb: - shard-rkl: NOTRUN -> [SKIP][212] ([i915#658]) [212]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb.html - shard-dg1: NOTRUN -> [SKIP][213] ([i915#658]) [213]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-15/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb.html * igt@kms_psr2_su@page_flip-xrgb8888: - shard-rkl: NOTRUN -> [SKIP][214] ([fdo#111068] / [i915#658]) [214]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-7/igt@kms_psr2_su@page_flip-xrgb8888.html * igt@kms_psr@psr2_dpms: - shard-dg2: NOTRUN -> [SKIP][215] ([i915#1072]) +4 similar issues [215]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-3/igt@kms_psr@psr2_dpms.html * igt@kms_psr@psr2_primary_page_flip: - shard-dg1: NOTRUN -> [SKIP][216] ([i915#1072]) +2 similar issues [216]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@kms_psr@psr2_primary_page_flip.html * igt@kms_psr@sprite_blt: - shard-rkl: NOTRUN -> [SKIP][217] ([i915#1072]) +1 similar issue [217]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_psr@sprite_blt.html * igt@kms_psr_stress_test@flip-primary-invalidate-overlay: - shard-dg2: NOTRUN -> [SKIP][218] ([i915#5461] / [i915#658]) [218]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@kms_psr_stress_test@flip-primary-invalidate-overlay.html * igt@kms_rotation_crc@primary-y-tiled-reflect-x-0: - shard-mtlp: NOTRUN -> [SKIP][219] ([i915#5289]) [219]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-5/igt@kms_rotation_crc@primary-y-tiled-reflect-x-0.html * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90: - shard-dg2: NOTRUN -> [SKIP][220] ([i915#4235] / [i915#5190]) +1 similar issue [220]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90.html * igt@kms_scaling_modes@scaling-mode-none: - shard-rkl: NOTRUN -> [SKIP][221] ([i915#3555]) +1 similar issue [221]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-1/igt@kms_scaling_modes@scaling-mode-none.html - shard-dg1: NOTRUN -> [SKIP][222] ([i915#3555]) +3 similar issues [222]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@kms_scaling_modes@scaling-mode-none.html * igt@kms_selftest@drm_format: - shard-glk: NOTRUN -> [SKIP][223] ([fdo#109271] / [i915#8661]) [223]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-glk6/igt@kms_selftest@drm_format.html * igt@kms_selftest@drm_plane: - shard-dg2: NOTRUN -> [SKIP][224] ([i915#8661]) [224]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@kms_selftest@drm_plane.html * igt@kms_setmode@basic@pipe-a-vga-1: - shard-snb: NOTRUN -> [FAIL][225] ([i915#5465]) +1 similar issue [225]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-snb7/igt@kms_setmode@basic@pipe-a-vga-1.html * igt@kms_tiled_display@basic-test-pattern: - shard-dg1: NOTRUN -> [SKIP][226] ([i915#8623]) [226]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-17/igt@kms_tiled_display@basic-test-pattern.html - shard-rkl: NOTRUN -> [SKIP][227] ([i915#8623]) [227]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@kms_tiled_display@basic-test-pattern.html * igt@kms_vblank@pipe-c-wait-idle-hang: - shard-rkl: NOTRUN -> [SKIP][228] ([i915#4070] / [i915#6768]) +1 similar issue [228]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@kms_vblank@pipe-c-wait-idle-hang.html * igt@kms_vblank@pipe-d-ts-continuation-idle: - shard-rkl: NOTRUN -> [SKIP][229] ([i915#4070] / [i915#533] / [i915#6768]) +5 similar issues [229]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_vblank@pipe-d-ts-continuation-idle.html * igt@kms_writeback@writeback-invalid-parameters: - shard-mtlp: NOTRUN -> [SKIP][230] ([i915#2437]) [230]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-5/igt@kms_writeback@writeback-invalid-parameters.html * igt@perf@mi-rpc: - shard-dg2: NOTRUN -> [SKIP][231] ([i915#2434]) [231]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@perf@mi-rpc.html * igt@perf@unprivileged-single-ctx-counters: - shard-rkl: NOTRUN -> [SKIP][232] ([i915#2433]) [232]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@perf@unprivileged-single-ctx-counters.html * igt@perf_pmu@busy-double-start@vcs1: - shard-mtlp: [PASS][233] -> [FAIL][234] ([i915#4349]) +2 similar issues [233]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-7/igt@perf_pmu@busy-double-start@vcs1.html [234]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-7/igt@perf_pmu@busy-double-start@vcs1.html * igt@perf_pmu@busy-double-start@vecs1: - shard-dg2: NOTRUN -> [FAIL][235] ([i915#4349]) +3 similar issues [235]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@perf_pmu@busy-double-start@vecs1.html * igt@perf_pmu@frequency@gt0: - shard-dg2: NOTRUN -> [FAIL][236] ([i915#6806]) [236]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@perf_pmu@frequency@gt0.html * igt@perf_pmu@most-busy-idle-check-all@rcs0: - shard-dg1: [PASS][237] -> [FAIL][238] ([i915#5234]) [237]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-16/igt@perf_pmu@most-busy-idle-check-all@rcs0.html [238]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-17/igt@perf_pmu@most-busy-idle-check-all@rcs0.html - shard-mtlp: [PASS][239] -> [FAIL][240] ([i915#5234]) [239]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-3/igt@perf_pmu@most-busy-idle-check-all@rcs0.html [240]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@perf_pmu@most-busy-idle-check-all@rcs0.html * igt@perf_pmu@rc6-all-gts: - shard-dg2: NOTRUN -> [SKIP][241] ([i915#8516]) [241]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@perf_pmu@rc6-all-gts.html * igt@perf_pmu@rc6@runtime-pm-long-gt1: - shard-mtlp: [PASS][242] -> [SKIP][243] ([i915#8537]) +2 similar issues [242]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-6/igt@perf_pmu@rc6@runtime-pm-long-gt1.html [243]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-7/igt@perf_pmu@rc6@runtime-pm-long-gt1.html * igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem: - shard-dg2: NOTRUN -> [INCOMPLETE][244] ([i915#5493]) [244]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-11/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html * igt@prime_vgem@basic-write: - shard-dg2: NOTRUN -> [SKIP][245] ([i915#3291] / [i915#3708]) [245]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-1/igt@prime_vgem@basic-write.html * igt@prime_vgem@coherency-gtt: - shard-dg2: NOTRUN -> [SKIP][246] ([i915#3708] / [i915#4077]) [246]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-12/igt@prime_vgem@coherency-gtt.html * igt@runner@aborted: - shard-snb: NOTRUN -> [FAIL][247] ([i915#7812] / [i915#8848]) [247]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-snb7/igt@runner@aborted.html * igt@sysfs_heartbeat_interval@mixed@ccs0: - shard-mtlp: [PASS][248] -> [ABORT][249] ([i915#8552]) [248]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-8/igt@sysfs_heartbeat_interval@mixed@ccs0.html [249]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-1/igt@sysfs_heartbeat_interval@mixed@ccs0.html * igt@sysfs_heartbeat_interval@mixed@vecs0: - shard-mtlp: [PASS][250] -> [FAIL][251] ([i915#1731]) [250]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-8/igt@sysfs_heartbeat_interval@mixed@vecs0.html [251]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-1/igt@sysfs_heartbeat_interval@mixed@vecs0.html * igt@sysfs_preempt_timeout@timeout@vecs0: - shard-mtlp: [PASS][252] -> [TIMEOUT][253] ([i915#8521]) [252]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-3/igt@sysfs_preempt_timeout@timeout@vecs0.html [253]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@sysfs_preempt_timeout@timeout@vecs0.html * igt@tools_test@sysfs_l3_parity: - shard-rkl: NOTRUN -> [SKIP][254] ([fdo#109307]) [254]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-6/igt@tools_test@sysfs_l3_parity.html - shard-dg1: NOTRUN -> [SKIP][255] ([fdo#109307] / [i915#4818]) [255]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@tools_test@sysfs_l3_parity.html * igt@v3d/v3d_create_bo@create-bo-zeroed: - shard-tglu: NOTRUN -> [SKIP][256] ([fdo#109315] / [i915#2575]) [256]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-8/igt@v3d/v3d_create_bo@create-bo-zeroed.html * igt@v3d/v3d_job_submission@array-job-submission: - shard-dg2: NOTRUN -> [SKIP][257] ([i915#2575]) +11 similar issues [257]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-2/igt@v3d/v3d_job_submission@array-job-submission.html * igt@v3d/v3d_submit_cl@simple-flush-cache: - shard-dg1: NOTRUN -> [SKIP][258] ([i915#2575]) +5 similar issues [258]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@v3d/v3d_submit_cl@simple-flush-cache.html * igt@v3d/v3d_submit_csd@valid-multisync-submission: - shard-rkl: NOTRUN -> [SKIP][259] ([fdo#109315]) +9 similar issues [259]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@v3d/v3d_submit_csd@valid-multisync-submission.html * igt@v3d/v3d_wait_bo@unused-bo-0ns: - shard-mtlp: NOTRUN -> [SKIP][260] ([i915#2575]) +1 similar issue [260]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@v3d/v3d_wait_bo@unused-bo-0ns.html * igt@vc4/vc4_mmap@mmap-bad-handle: - shard-tglu: NOTRUN -> [SKIP][261] ([i915#2575]) [261]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-tglu-2/igt@vc4/vc4_mmap@mmap-bad-handle.html * igt@vc4/vc4_perfmon@create-two-perfmon: - shard-mtlp: NOTRUN -> [SKIP][262] ([i915#7711]) [262]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@vc4/vc4_perfmon@create-two-perfmon.html * igt@vc4/vc4_purgeable_bo@mark-unpurgeable-purged: - shard-dg1: NOTRUN -> [SKIP][263] ([i915#7711]) +3 similar issues [263]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@vc4/vc4_purgeable_bo@mark-unpurgeable-purged.html * igt@vc4/vc4_tiling@set-get: - shard-dg2: NOTRUN -> [SKIP][264] ([i915#7711]) +7 similar issues [264]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@vc4/vc4_tiling@set-get.html - shard-rkl: NOTRUN -> [SKIP][265] ([i915#7711]) +5 similar issues [265]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@vc4/vc4_tiling@set-get.html #### Possible fixes #### * igt@gem_eio@hibernate: - shard-dg1: [ABORT][266] ([i915#7975] / [i915#8213]) -> [PASS][267] [266]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-14/igt@gem_eio@hibernate.html [267]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-18/igt@gem_eio@hibernate.html * igt@gem_exec_capture@pi@ccs0: - shard-mtlp: [FAIL][268] ([i915#7765]) -> [PASS][269] [268]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-8/igt@gem_exec_capture@pi@ccs0.html [269]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-1/igt@gem_exec_capture@pi@ccs0.html * igt@gem_exec_capture@pi@vcs0: - shard-mtlp: [FAIL][270] ([i915#4475]) -> [PASS][271] [270]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-8/igt@gem_exec_capture@pi@vcs0.html [271]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-1/igt@gem_exec_capture@pi@vcs0.html * igt@gem_exec_fair@basic-pace@vecs0: - shard-rkl: [FAIL][272] ([i915#2842]) -> [PASS][273] +1 similar issue [272]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-rkl-2/igt@gem_exec_fair@basic-pace@vecs0.html [273]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@gem_exec_fair@basic-pace@vecs0.html * igt@gem_workarounds@suspend-resume: - shard-dg2: [FAIL][274] ([fdo#103375]) -> [PASS][275] +1 similar issue [274]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg2-5/igt@gem_workarounds@suspend-resume.html [275]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-10/igt@gem_workarounds@suspend-resume.html * igt@i915_pm_rc6_residency@rc6-idle@vecs0: - shard-dg1: [FAIL][276] ([i915#3591]) -> [PASS][277] [276]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-18/igt@i915_pm_rc6_residency@rc6-idle@vecs0.html [277]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-19/igt@i915_pm_rc6_residency@rc6-idle@vecs0.html * igt@i915_pm_rps@reset: - shard-dg1: [FAIL][278] ([i915#8229]) -> [PASS][279] [278]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-16/igt@i915_pm_rps@reset.html [279]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-13/igt@i915_pm_rps@reset.html * igt@kms_big_fb@4-tiled-8bpp-rotate-0: - shard-mtlp: [DMESG-WARN][280] ([i915#2017]) -> [PASS][281] [280]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-6/igt@kms_big_fb@4-tiled-8bpp-rotate-0.html [281]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-3/igt@kms_big_fb@4-tiled-8bpp-rotate-0.html * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip: - shard-mtlp: [FAIL][282] ([i915#5138]) -> [PASS][283] [282]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-7/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip.html [283]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-6/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip.html * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip: - shard-mtlp: [FAIL][284] ([i915#3743]) -> [PASS][285] [284]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-4/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html [285]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-1/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html * igt@kms_cursor_legacy@cursor-vs-flip-varying-size: - shard-mtlp: [FAIL][286] ([i915#8248]) -> [PASS][287] [286]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-7/igt@kms_cursor_legacy@cursor-vs-flip-varying-size.html [287]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-3/igt@kms_cursor_legacy@cursor-vs-flip-varying-size.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions: - shard-apl: [FAIL][288] ([i915#2346]) -> [PASS][289] [288]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html [289]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html * igt@kms_plane@pixel-format@pipe-b-planes: - shard-mtlp: [FAIL][290] ([i915#1623]) -> [PASS][291] [290]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-1/igt@kms_plane@pixel-format@pipe-b-planes.html [291]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-8/igt@kms_plane@pixel-format@pipe-b-planes.html * igt@kms_rotation_crc@multiplane-rotation-cropping-bottom: - shard-rkl: [ABORT][292] ([i915#7461]) -> [PASS][293] [292]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-rkl-4/igt@kms_rotation_crc@multiplane-rotation-cropping-bottom.html [293]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-7/igt@kms_rotation_crc@multiplane-rotation-cropping-bottom.html * igt@perf@non-zero-reason@0-rcs0: - shard-dg2: [FAIL][294] ([i915#7484]) -> [PASS][295] [294]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg2-6/igt@perf@non-zero-reason@0-rcs0.html [295]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-3/igt@perf@non-zero-reason@0-rcs0.html * igt@perf_pmu@busy-idle@bcs0: - shard-mtlp: [FAIL][296] ([i915#4349]) -> [PASS][297] +9 similar issues [296]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-2/igt@perf_pmu@busy-idle@bcs0.html [297]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-4/igt@perf_pmu@busy-idle@bcs0.html * igt@perf_pmu@busy-idle@ccs0: - shard-dg2: [FAIL][298] ([i915#4349]) -> [PASS][299] +7 similar issues [298]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg2-12/igt@perf_pmu@busy-idle@ccs0.html [299]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg2-6/igt@perf_pmu@busy-idle@ccs0.html #### Warnings #### * igt@gem_eio@in-flight-suspend: - shard-snb: [DMESG-WARN][300] ([i915#8841]) -> [DMESG-FAIL][301] ([fdo#103375]) [300]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-snb6/igt@gem_eio@in-flight-suspend.html [301]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-snb7/igt@gem_eio@in-flight-suspend.html * igt@kms_ccs@pipe-b-random-ccs-data-yf_tiled_ccs: - shard-dg1: [SKIP][302] ([i915#3689] / [i915#5354] / [i915#6095]) -> [SKIP][303] ([i915#3689] / [i915#4423] / [i915#5354] / [i915#6095]) [302]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-13/igt@kms_ccs@pipe-b-random-ccs-data-yf_tiled_ccs.html [303]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@kms_ccs@pipe-b-random-ccs-data-yf_tiled_ccs.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size: - shard-mtlp: [FAIL][304] ([i915#2346]) -> [DMESG-FAIL][305] ([i915#2017] / [i915#5954]) [304]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-mtlp-2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html [305]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-mtlp-5/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html * igt@kms_fbcon_fbt@psr: - shard-rkl: [SKIP][306] ([i915#3955]) -> [SKIP][307] ([fdo#110189] / [i915#3955]) [306]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-rkl-7/igt@kms_fbcon_fbt@psr.html [307]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-2/igt@kms_fbcon_fbt@psr.html * igt@kms_multipipe_modeset@basic-max-pipe-crc-check: - shard-rkl: [SKIP][308] ([i915#4070] / [i915#4816]) -> [SKIP][309] ([i915#4816]) [308]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-rkl-2/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html [309]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-rkl-4/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html * igt@kms_psr@primary_page_flip: - shard-dg1: [SKIP][310] ([i915#1072]) -> [SKIP][311] ([i915#1072] / [i915#4078]) [310]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-17/igt@kms_psr@primary_page_flip.html [311]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-16/igt@kms_psr@primary_page_flip.html * igt@kms_psr@sprite_plane_onoff: - shard-dg1: [SKIP][312] ([i915#1072] / [i915#4078]) -> [SKIP][313] ([i915#1072]) [312]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13551/shard-dg1-13/igt@kms_psr@sprite_plane_onoff.html [313]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/shard-dg1-17/igt@kms_psr@sprite_plane_onoff.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [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#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279 [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280 [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289 [fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303 [fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307 [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 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1623]: https://gitlab.freedesktop.org/drm/intel/issues/1623 [i915#1731]: https://gitlab.freedesktop.org/drm/intel/issues/1731 [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#2017]: https://gitlab.freedesktop.org/drm/intel/issues/2017 [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346 [i915#2410]: https://gitlab.freedesktop.org/drm/intel/issues/2410 [i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433 [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#284]: https://gitlab.freedesktop.org/drm/intel/issues/284 [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#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291 [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297 [i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323 [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#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [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#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742 [i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743 [i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840 [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886 [i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955 [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#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#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270 [i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433 [i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349 [i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387 [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#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525 [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538 [i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565 [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#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818 [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852 [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860 [i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873 [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#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286 [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289 [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533 [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334 [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#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784 [i915#5882]: https://gitlab.freedesktop.org/drm/intel/issues/5882 [i915#5954]: https://gitlab.freedesktop.org/drm/intel/issues/5954 [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095 [i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230 [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268 [i915#6311]: https://gitlab.freedesktop.org/drm/intel/issues/6311 [i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335 [i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344 [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#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#7091]: https://gitlab.freedesktop.org/drm/intel/issues/7091 [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118 [i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173 [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#7484]: https://gitlab.freedesktop.org/drm/intel/issues/7484 [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#7765]: https://gitlab.freedesktop.org/drm/intel/issues/7765 [i915#7812]: https://gitlab.freedesktop.org/drm/intel/issues/7812 [i915#7816]: https://gitlab.freedesktop.org/drm/intel/issues/7816 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [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#8229]: https://gitlab.freedesktop.org/drm/intel/issues/8229 [i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247 [i915#8248]: https://gitlab.freedesktop.org/drm/intel/issues/8248 [i915#8381]: https://gitlab.freedesktop.org/drm/intel/issues/8381 [i915#8403]: https://gitlab.freedesktop.org/drm/intel/issues/8403 [i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411 [i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414 [i915#8502]: https://gitlab.freedesktop.org/drm/intel/issues/8502 [i915#8516]: https://gitlab.freedesktop.org/drm/intel/issues/8516 [i915#8521]: https://gitlab.freedesktop.org/drm/intel/issues/8521 [i915#8537]: https://gitlab.freedesktop.org/drm/intel/issues/8537 [i915#8552]: https://gitlab.freedesktop.org/drm/intel/issues/8552 [i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555 [i915#8623]: https://gitlab.freedesktop.org/drm/intel/issues/8623 [i915#8661]: https://gitlab.freedesktop.org/drm/intel/issues/8661 [i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708 [i915#8810]: https://gitlab.freedesktop.org/drm/intel/issues/8810 [i915#8821]: https://gitlab.freedesktop.org/drm/intel/issues/8821 [i915#8841]: https://gitlab.freedesktop.org/drm/intel/issues/8841 [i915#8848]: https://gitlab.freedesktop.org/drm/intel/issues/8848 [i915#8865]: https://gitlab.freedesktop.org/drm/intel/issues/8865 [i915#8962]: https://gitlab.freedesktop.org/drm/intel/issues/8962 [i915#9051]: https://gitlab.freedesktop.org/drm/intel/issues/9051 [i915#9067]: https://gitlab.freedesktop.org/drm/intel/issues/9067 [i915#9121]: https://gitlab.freedesktop.org/drm/intel/issues/9121 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7451 -> IGTPW_9643 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_13551: 8cb94c67371921ca934d49ff3edbe12cd6b21a39 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_9643: 9643 IGT_7451: 5d48d1fb231f449fe2f80cda14ea7a1ecfda59fa @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9643/index.html [-- Attachment #2: Type: text/html, Size: 105582 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-08-23 22:13 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-08-23 11:43 [igt-dev] [i-g-t 0/7] Separate display PM tests from Core Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 1/7] tests/i915/pm: Rename i915_pm_backlight to kms_pm_backlight Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 2/7] tests/i915/kms_pm_backlight: Fix testplan documentation Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 3/7] tests/i915/pm: Rename i915_pm_dc to kms_pm_dc Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 4/7] tests/i915/kms_pm_dc: Fix testplan documentation Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 5/7] tests/i915/pm: Rename i915_pm_lpsp to kms_pm_lpsp Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 6/7] tests/i915/kms_pm_lpsp: Fix testplan documentation Bhanuprakash Modem 2023-08-23 11:43 ` [igt-dev] [i-g-t 7/7] tests/i915/pm: Separate display specific tests from i915_pm_rpm Bhanuprakash Modem 2023-08-23 14:57 ` Kamil Konieczny 2023-08-23 12:05 ` [igt-dev] ✗ GitLab.Pipeline: warning for Separate display PM tests from Core Patchwork 2023-08-23 12:29 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork 2023-08-23 12:49 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork 2023-08-23 22:13 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox