* [igt-dev] [PATCH i-g-t] lib: disable console suspend for suspend test
@ 2023-03-01 12:44 Anshuman Gupta
2023-03-01 14:56 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Anshuman Gupta @ 2023-03-01 12:44 UTC (permalink / raw)
To: igt-dev
We need no_console_suspend to be enable in order to dump the suspend
logs over serial console before attempting the suspend during
CI Execution.
Therefore disable the console_suspend using printk module parameters
while executing suspend test.
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
---
lib/igt_aux.c | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index 15e304407f..e1260c1e88 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -694,6 +694,10 @@ void igt_print_activity(void)
}
static int autoresume_delay;
+bool __console_suspend_saved_state;
+
+#define SYSFS_MODULE_PRINTK "/sys/module/printk/parameters/"
+#define CONSOLE_SUSPEND_DISABLE 0
static const char *suspend_state_name[] = {
[SUSPEND_STATE_FREEZE] = "freeze",
@@ -899,6 +903,19 @@ static bool is_mem_sleep_state_supported(int power_dir, enum igt_mem_sleep state
return str;
}
+static void __igt_aux_console_suspend_restore_exit_handler(int sig)
+{
+ int sysfs_fd;
+
+ sysfs_fd = open(SYSFS_MODULE_PRINTK, O_RDONLY);
+
+ if (sysfs_fd < 0)
+ return;
+
+ igt_sysfs_set_boolean(sysfs_fd, "console_suspend", __console_suspend_saved_state);
+ close(sysfs_fd);
+}
+
/**
* igt_system_suspend_autoresume:
* @state: an #igt_suspend_state, the target suspend state
@@ -923,10 +940,15 @@ static bool is_mem_sleep_state_supported(int power_dir, enum igt_mem_sleep state
void igt_system_suspend_autoresume(enum igt_suspend_state state,
enum igt_suspend_test test)
{
- int power_dir;
+ int power_dir, sysfs_fd;
enum igt_suspend_test orig_test;
enum igt_mem_sleep orig_mem_sleep = MEM_SLEEP_NONE;
+ igt_require((sysfs_fd = open(SYSFS_MODULE_PRINTK, O_RDONLY)) >= 0);
+ __console_suspend_saved_state = igt_sysfs_get_boolean(sysfs_fd, "console_suspend");
+ igt_sysfs_set_boolean(sysfs_fd, "console_suspend", CONSOLE_SUSPEND_DISABLE);
+ igt_install_exit_handler(__igt_aux_console_suspend_restore_exit_handler);
+
igt_require((power_dir = open("/sys/power", O_RDONLY)) >= 0);
igt_require(is_state_supported(power_dir, state));
igt_require(test == SUSPEND_TEST_NONE ||
@@ -958,7 +980,9 @@ void igt_system_suspend_autoresume(enum igt_suspend_state state,
set_mem_sleep(power_dir, orig_mem_sleep);
set_suspend_test(power_dir, orig_test);
+ igt_sysfs_set_boolean(sysfs_fd, "console_suspend", __console_suspend_saved_state);
close(power_dir);
+ close(sysfs_fd);
}
static int original_autoresume_delay;
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [igt-dev] ✓ Fi.CI.BAT: success for lib: disable console suspend for suspend test 2023-03-01 12:44 [igt-dev] [PATCH i-g-t] lib: disable console suspend for suspend test Anshuman Gupta @ 2023-03-01 14:56 ` Patchwork 2023-03-02 15:38 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2023-03-02 23:51 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2023-03-01 14:56 UTC (permalink / raw) To: Anshuman Gupta; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 6578 bytes --] == Series Details == Series: lib: disable console suspend for suspend test URL : https://patchwork.freedesktop.org/series/114517/ State : success == Summary == CI Bug Log - changes from CI_DRM_12796 -> IGTPW_8547 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/index.html Participating hosts (39 -> 38) ------------------------------ Additional (1): bat-adls-5 Missing (2): fi-tgl-1115g4 fi-snb-2520m Known issues ------------ Here are the changes found in IGTPW_8547 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@debugfs_test@basic-hwmon: - bat-adls-5: NOTRUN -> [SKIP][1] ([i915#7456]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@debugfs_test@basic-hwmon.html * igt@gem_lmem_swapping@random-engines: - bat-adls-5: NOTRUN -> [SKIP][2] ([i915#4613]) +3 similar issues [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@gem_lmem_swapping@random-engines.html * igt@gem_tiled_pread_basic: - bat-adls-5: NOTRUN -> [SKIP][3] ([i915#3282]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@gem_tiled_pread_basic.html * igt@i915_selftest@live@hangcheck: - bat-adls-5: NOTRUN -> [DMESG-WARN][4] ([i915#5591]) [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@i915_selftest@live@hangcheck.html * igt@i915_selftest@live@migrate: - bat-adlp-6: [PASS][5] -> [DMESG-FAIL][6] ([i915#7699]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/bat-adlp-6/igt@i915_selftest@live@migrate.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adlp-6/igt@i915_selftest@live@migrate.html * igt@kms_chamelium_hpd@common-hpd-after-suspend: - bat-rpls-1: NOTRUN -> [SKIP][7] ([i915#7828]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-rpls-1/igt@kms_chamelium_hpd@common-hpd-after-suspend.html * igt@kms_chamelium_hpd@vga-hpd-fast: - bat-adls-5: NOTRUN -> [SKIP][8] ([i915#7828]) +8 similar issues [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@kms_chamelium_hpd@vga-hpd-fast.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy: - bat-adls-5: NOTRUN -> [SKIP][9] ([i915#4103]) +1 similar issue [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html * igt@kms_force_connector_basic@force-load-detect: - bat-adls-5: NOTRUN -> [SKIP][10] ([fdo#109285]) [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@kms_force_connector_basic@force-load-detect.html * igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence: - bat-dg2-11: NOTRUN -> [SKIP][11] ([i915#5354]) +2 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-dg2-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html * igt@kms_pipe_crc_basic@suspend-read-crc: - bat-rpls-1: NOTRUN -> [SKIP][12] ([i915#1845]) [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-rpls-1/igt@kms_pipe_crc_basic@suspend-read-crc.html * igt@kms_setmode@basic-clone-single-crtc: - bat-adls-5: NOTRUN -> [SKIP][13] ([i915#3555]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@kms_setmode@basic-clone-single-crtc.html * igt@prime_vgem@basic-read: - bat-adls-5: NOTRUN -> [SKIP][14] ([fdo#109295] / [i915#3291]) +2 similar issues [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@prime_vgem@basic-read.html * igt@prime_vgem@basic-userptr: - bat-adls-5: NOTRUN -> [SKIP][15] ([fdo#109295] / [i915#3301]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-adls-5/igt@prime_vgem@basic-userptr.html #### Possible fixes #### * igt@gem_exec_suspend@basic-s3@smem: - bat-rpls-1: [ABORT][16] ([i915#6687] / [i915#7978]) -> [PASS][17] [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html #### Warnings #### * igt@i915_selftest@live@slpc: - bat-rpls-2: [DMESG-FAIL][18] ([i915#6367] / [i915#7913] / [i915#7996]) -> [DMESG-FAIL][19] ([i915#6367] / [i915#7913]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/bat-rpls-2/igt@i915_selftest@live@slpc.html [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/bat-rpls-2/igt@i915_selftest@live@slpc.html [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282 [i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291 [i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354 [i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591 [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367 [i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687 [i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456 [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913 [i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978 [i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7177 -> IGTPW_8547 CI-20190529: 20190529 CI_DRM_12796: 56c017efe176b9f3ab1700b80d3d20970c851414 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_8547: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/index.html IGT_7177: 0cdc4a676cd9f9e495ad3ae441ed3322f1e14a88 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/index.html [-- Attachment #2: Type: text/html, Size: 7823 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for lib: disable console suspend for suspend test 2023-03-01 12:44 [igt-dev] [PATCH i-g-t] lib: disable console suspend for suspend test Anshuman Gupta 2023-03-01 14:56 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork @ 2023-03-02 15:38 ` Patchwork 2023-03-02 23:51 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2023-03-02 15:38 UTC (permalink / raw) To: Anshuman Gupta; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 42815 bytes --] == Series Details == Series: lib: disable console suspend for suspend test URL : https://patchwork.freedesktop.org/series/114517/ State : success == Summary == CI Bug Log - changes from CI_DRM_12796_full -> IGTPW_8547_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/index.html Participating hosts (21 -> 20) ------------------------------ Missing (1): shard-dg2-8 Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_8547_full: ### IGT changes ### #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * igt@gem_create@create-ext-cpu-access-big: - {shard-dg2-3}: NOTRUN -> [ABORT][1] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-dg2-3/igt@gem_create@create-ext-cpu-access-big.html * igt@i915_selftest@live@mman: - {shard-dg2-2}: NOTRUN -> [TIMEOUT][2] [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-dg2-2/igt@i915_selftest@live@mman.html * igt@kms_prime@basic-modeset-hybrid: - {shard-dg2-2}: [SKIP][3] ([i915#6524] / [i915#6805]) -> [SKIP][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-dg2-2/igt@kms_prime@basic-modeset-hybrid.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-dg2-2/igt@kms_prime@basic-modeset-hybrid.html * igt@kms_universal_plane@cursor-fb-leak-pipe-a: - {shard-dg2-2}: NOTRUN -> [SKIP][5] +23 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-dg2-2/igt@kms_universal_plane@cursor-fb-leak-pipe-a.html * igt@kms_vblank@pipe-d-wait-forked-busy-hang: - {shard-dg2-2}: [PASS][6] -> [SKIP][7] [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-dg2-2/igt@kms_vblank@pipe-d-wait-forked-busy-hang.html [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-dg2-2/igt@kms_vblank@pipe-d-wait-forked-busy-hang.html New tests --------- New tests have been introduced between CI_DRM_12796_full and IGTPW_8547_full: ### New IGT tests (8) ### * igt@kms_cursor_crc@cursor-offscreen-256x256@pipe-d-dp-4: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_cursor_crc@cursor-rapid-movement-256x256@pipe-d-dp-4: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_cursor_crc@cursor-rapid-movement-256x85@pipe-d-dp-4: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_cursor_crc@cursor-sliding-256x256@pipe-d-dp-4: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-a-dp-2: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-c-dp-2: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-d-dp-2: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-0-25@pipe-d-dp-4: - Statuses : 1 pass(s) - Exec time: [0.0] s Known issues ------------ Here are the changes found in IGTPW_8547_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@device_reset@cold-reset-bound: - shard-tglu-9: NOTRUN -> [SKIP][8] ([i915#7701]) [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@device_reset@cold-reset-bound.html * igt@gem_basic@multigpu-create-close: - shard-tglu-10: NOTRUN -> [SKIP][9] ([i915#7697]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gem_basic@multigpu-create-close.html * igt@gem_ccs@block-copy-compressed: - shard-tglu-10: NOTRUN -> [SKIP][10] ([i915#3555] / [i915#5325]) [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gem_ccs@block-copy-compressed.html * igt@gem_ctx_persistence@engines-mixed-process: - shard-snb: NOTRUN -> [SKIP][11] ([fdo#109271] / [i915#1099]) +4 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-snb5/igt@gem_ctx_persistence@engines-mixed-process.html * igt@gem_ctx_sseu@invalid-args: - shard-tglu-9: NOTRUN -> [SKIP][12] ([i915#280]) [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@gem_ctx_sseu@invalid-args.html * igt@gem_exec_fair@basic-pace-share@rcs0: - shard-glk: [PASS][13] -> [FAIL][14] ([i915#2842]) +2 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-glk8/igt@gem_exec_fair@basic-pace-share@rcs0.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-glk2/igt@gem_exec_fair@basic-pace-share@rcs0.html * igt@gem_exec_fair@basic-pace-solo@rcs0: - shard-tglu-10: NOTRUN -> [FAIL][15] ([i915#2842]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gem_exec_fair@basic-pace-solo@rcs0.html * igt@gem_exec_reloc@basic-scanout@vcs0: - shard-tglu-9: NOTRUN -> [SKIP][16] ([i915#3639]) +4 similar issues [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@gem_exec_reloc@basic-scanout@vcs0.html * igt@gem_exec_schedule@thriceslice: - shard-snb: NOTRUN -> [SKIP][17] ([fdo#109271]) +461 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-snb4/igt@gem_exec_schedule@thriceslice.html * igt@gem_lmem_swapping@parallel-random-verify: - shard-tglu-10: NOTRUN -> [SKIP][18] ([i915#4613]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gem_lmem_swapping@parallel-random-verify.html * igt@gem_pwrite@basic-exhaustion: - shard-snb: NOTRUN -> [WARN][19] ([i915#2658]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-snb4/igt@gem_pwrite@basic-exhaustion.html * igt@gem_pxp@create-regular-context-1: - shard-tglu-10: NOTRUN -> [SKIP][20] ([i915#4270]) +3 similar issues [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gem_pxp@create-regular-context-1.html * igt@gem_userptr_blits@access-control: - shard-tglu-10: NOTRUN -> [SKIP][21] ([i915#3297]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gem_userptr_blits@access-control.html * igt@gen7_exec_parse@bitmasks: - shard-tglu-10: NOTRUN -> [SKIP][22] ([fdo#109289]) [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gen7_exec_parse@bitmasks.html * igt@gen9_exec_parse@allowed-single: - shard-apl: [PASS][23] -> [ABORT][24] ([i915#5566]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-apl4/igt@gen9_exec_parse@allowed-single.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-apl3/igt@gen9_exec_parse@allowed-single.html - shard-glk: [PASS][25] -> [ABORT][26] ([i915#5566]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-glk6/igt@gen9_exec_parse@allowed-single.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-glk3/igt@gen9_exec_parse@allowed-single.html * igt@gen9_exec_parse@batch-zero-length: - shard-tglu-9: NOTRUN -> [SKIP][27] ([i915#2527] / [i915#2856]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@gen9_exec_parse@batch-zero-length.html * igt@gen9_exec_parse@bb-oversize: - shard-tglu-10: NOTRUN -> [SKIP][28] ([i915#2527] / [i915#2856]) +2 similar issues [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@gen9_exec_parse@bb-oversize.html * igt@i915_module_load@load: - shard-tglu-9: NOTRUN -> [SKIP][29] ([i915#6227]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@i915_module_load@load.html * igt@i915_pm_backlight@fade: - shard-tglu-10: NOTRUN -> [SKIP][30] ([i915#7561]) [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@i915_pm_backlight@fade.html * igt@i915_pm_rc6_residency@rc6-idle@rcs0: - shard-tglu-10: NOTRUN -> [WARN][31] ([i915#2681]) +3 similar issues [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@i915_pm_rc6_residency@rc6-idle@rcs0.html * igt@i915_pm_rpm@dpms-mode-unset-non-lpsp: - shard-tglu-9: NOTRUN -> [SKIP][32] ([fdo#111644] / [i915#1397]) [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@i915_pm_rpm@dpms-mode-unset-non-lpsp.html * igt@i915_pm_rpm@system-suspend-modeset: - shard-tglu-9: NOTRUN -> [SKIP][33] ([i915#3547]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@i915_pm_rpm@system-suspend-modeset.html * igt@i915_pm_sseu@full-enable: - shard-tglu-10: NOTRUN -> [SKIP][34] ([i915#4387]) [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@i915_pm_sseu@full-enable.html * igt@i915_query@hwconfig_table: - shard-tglu-10: NOTRUN -> [SKIP][35] ([i915#6245]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@i915_query@hwconfig_table.html * igt@i915_query@query-topology-unsupported: - shard-tglu-10: NOTRUN -> [SKIP][36] ([fdo#109302]) [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@i915_query@query-topology-unsupported.html * igt@kms_atomic@plane-primary-overlay-mutable-zpos: - shard-tglu-10: NOTRUN -> [SKIP][37] ([i915#404]) [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_atomic@plane-primary-overlay-mutable-zpos.html * igt@kms_big_fb@4-tiled-8bpp-rotate-270: - shard-tglu-10: NOTRUN -> [SKIP][38] ([i915#5286]) +2 similar issues [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_big_fb@4-tiled-8bpp-rotate-270.html * igt@kms_big_fb@x-tiled-8bpp-rotate-90: - shard-tglu-10: NOTRUN -> [SKIP][39] ([fdo#111614]) +5 similar issues [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_big_fb@x-tiled-8bpp-rotate-90.html * igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip: - shard-tglu-10: NOTRUN -> [SKIP][40] ([fdo#111615]) +2 similar issues [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip.html * igt@kms_ccs@pipe-a-bad-rotation-90-4_tiled_dg2_rc_ccs_cc: - shard-tglu-10: NOTRUN -> [SKIP][41] ([i915#6095]) +4 similar issues [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_ccs@pipe-a-bad-rotation-90-4_tiled_dg2_rc_ccs_cc.html * igt@kms_ccs@pipe-b-bad-rotation-90-yf_tiled_ccs: - shard-tglu-9: NOTRUN -> [SKIP][42] ([fdo#111615] / [i915#1845] / [i915#7651]) +1 similar issue [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_ccs@pipe-b-bad-rotation-90-yf_tiled_ccs.html * igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_ccs: - shard-tglu-10: NOTRUN -> [SKIP][43] ([i915#3689]) +4 similar issues [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_ccs.html * igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs: - shard-tglu-10: NOTRUN -> [SKIP][44] ([i915#3689] / [i915#3886]) +2 similar issues [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-c-crc-primary-rotation-180-yf_tiled_ccs: - shard-tglu-10: NOTRUN -> [SKIP][45] ([fdo#111615] / [i915#3689]) +2 similar issues [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_ccs@pipe-c-crc-primary-rotation-180-yf_tiled_ccs.html * igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs: - shard-tglu-10: NOTRUN -> [SKIP][46] ([i915#3689] / [i915#6095]) +4 similar issues [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html * igt@kms_chamelium_color@ctm-0-25: - shard-tglu-10: NOTRUN -> [SKIP][47] ([fdo#111827]) [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_chamelium_color@ctm-0-25.html * igt@kms_chamelium_color@ctm-blue-to-red: - shard-tglu-9: NOTRUN -> [SKIP][48] ([fdo#111827]) [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_chamelium_color@ctm-blue-to-red.html * igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats: - shard-tglu-10: NOTRUN -> [SKIP][49] ([i915#7828]) +5 similar issues [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats.html * igt@kms_chamelium_frames@hdmi-frame-dump: - shard-tglu-9: NOTRUN -> [SKIP][50] ([i915#7828]) +1 similar issue [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_chamelium_frames@hdmi-frame-dump.html * igt@kms_content_protection@legacy: - shard-tglu-9: NOTRUN -> [SKIP][51] ([i915#1845] / [i915#7651]) +19 similar issues [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_content_protection@legacy.html * igt@kms_cursor_crc@cursor-suspend@pipe-a-dp-1: - shard-apl: [PASS][52] -> [ABORT][53] ([i915#180]) [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-apl6/igt@kms_cursor_crc@cursor-suspend@pipe-a-dp-1.html [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-apl7/igt@kms_cursor_crc@cursor-suspend@pipe-a-dp-1.html * igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size: - shard-tglu-9: NOTRUN -> [SKIP][54] ([i915#1845]) +5 similar issues [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html * igt@kms_cursor_legacy@cursorb-vs-flipa-toggle: - shard-tglu-10: NOTRUN -> [SKIP][55] ([fdo#109274]) +3 similar issues [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_cursor_legacy@cursorb-vs-flipa-toggle.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size: - shard-apl: [PASS][56] -> [FAIL][57] ([i915#2346]) +1 similar issue [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-apl7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html - shard-glk: [PASS][58] -> [FAIL][59] ([i915#2346]) [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-glk5/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-glk2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html * igt@kms_flip@2x-blocking-absolute-wf_vblank: - shard-tglu-10: NOTRUN -> [SKIP][60] ([fdo#109274] / [i915#3637]) +4 similar issues [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_flip@2x-blocking-absolute-wf_vblank.html * igt@kms_flip@2x-flip-vs-rmfb: - shard-tglu-9: NOTRUN -> [SKIP][61] ([fdo#109274] / [i915#3637]) [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_flip@2x-flip-vs-rmfb.html * igt@kms_flip@flip-vs-dpms-off-vs-modeset: - shard-tglu-9: NOTRUN -> [SKIP][62] ([i915#3637]) +3 similar issues [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_flip@flip-vs-dpms-off-vs-modeset.html * igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling@pipe-a-valid-mode: - shard-tglu-10: NOTRUN -> [SKIP][63] ([i915#2587] / [i915#2672]) +2 similar issues [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling@pipe-a-valid-mode.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt: - shard-tglu-10: NOTRUN -> [SKIP][64] ([fdo#110189]) +15 similar issues [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc: - shard-tglu-10: NOTRUN -> [SKIP][65] ([fdo#109280]) +22 similar issues [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-gtt: - shard-tglu-9: NOTRUN -> [SKIP][66] ([i915#1849]) +13 similar issues [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-draw-mmap-gtt.html * igt@kms_plane@plane-panning-top-left@pipe-a-planes: - shard-tglu-9: NOTRUN -> [SKIP][67] ([i915#1849] / [i915#3558]) +1 similar issue [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_plane@plane-panning-top-left@pipe-a-planes.html * igt@kms_plane_scaling@plane-upscale-with-rotation-20x20@pipe-c-hdmi-a-1: - shard-tglu-10: NOTRUN -> [SKIP][68] ([i915#5176]) +3 similar issues [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_plane_scaling@plane-upscale-with-rotation-20x20@pipe-c-hdmi-a-1.html * igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25: - shard-tglu-9: NOTRUN -> [SKIP][69] ([i915#3555]) +1 similar issue [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25.html * igt@kms_psr2_sf@overlay-plane-update-continuous-sf: - shard-tglu-10: NOTRUN -> [SKIP][70] ([fdo#111068] / [i915#658]) [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_psr2_sf@overlay-plane-update-continuous-sf.html * igt@kms_psr@psr2_sprite_plane_onoff: - shard-tglu-9: NOTRUN -> [SKIP][71] ([fdo#110189]) +2 similar issues [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_psr@psr2_sprite_plane_onoff.html * igt@kms_rotation_crc@primary-4-tiled-reflect-x-0: - shard-tglu-10: NOTRUN -> [SKIP][72] ([i915#5289]) [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_rotation_crc@primary-4-tiled-reflect-x-0.html * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180: - shard-tglu-10: NOTRUN -> [SKIP][73] ([fdo#111615] / [i915#5289]) [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180.html * igt@kms_scaling_modes@scaling-mode-full-aspect: - shard-tglu-10: NOTRUN -> [SKIP][74] ([i915#3555]) +5 similar issues [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@kms_scaling_modes@scaling-mode-full-aspect.html * igt@kms_writeback@writeback-invalid-parameters: - shard-tglu-9: NOTRUN -> [SKIP][75] ([i915#2437]) [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@kms_writeback@writeback-invalid-parameters.html * igt@perf@unprivileged-single-ctx-counters: - shard-tglu-9: NOTRUN -> [SKIP][76] ([fdo#109289]) [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@perf@unprivileged-single-ctx-counters.html * igt@prime_vgem@fence-write-hang: - shard-tglu-10: NOTRUN -> [SKIP][77] ([fdo#109295]) +1 similar issue [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@prime_vgem@fence-write-hang.html * igt@v3d/v3d_mmap@mmap-bad-flags: - shard-tglu-9: NOTRUN -> [SKIP][78] ([fdo#109315] / [i915#2575]) [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@v3d/v3d_mmap@mmap-bad-flags.html * igt@v3d/v3d_perfmon@get-values-invalid-pad: - shard-tglu-10: NOTRUN -> [SKIP][79] ([fdo#109315] / [i915#2575]) +1 similar issue [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@v3d/v3d_perfmon@get-values-invalid-pad.html * igt@vc4/vc4_lookup_fail@bad-color-write: - shard-tglu-10: NOTRUN -> [SKIP][80] ([i915#2575]) +3 similar issues [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-10/igt@vc4/vc4_lookup_fail@bad-color-write.html * igt@vc4/vc4_tiling@set-bad-flags: - shard-tglu-9: NOTRUN -> [SKIP][81] ([i915#2575]) +1 similar issue [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-9/igt@vc4/vc4_tiling@set-bad-flags.html #### Possible fixes #### * igt@fbdev@pan: - {shard-rkl}: [SKIP][82] ([i915#2582]) -> [PASS][83] [82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-2/igt@fbdev@pan.html [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-6/igt@fbdev@pan.html * igt@gem_exec_fair@basic-deadline: - shard-glk: [FAIL][84] ([i915#2846]) -> [PASS][85] [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-glk9/igt@gem_exec_fair@basic-deadline.html [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-glk4/igt@gem_exec_fair@basic-deadline.html * igt@gem_exec_fair@basic-none-solo@rcs0: - shard-apl: [FAIL][86] ([i915#2842]) -> [PASS][87] +2 similar issues [86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-apl3/igt@gem_exec_fair@basic-none-solo@rcs0.html [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-apl6/igt@gem_exec_fair@basic-none-solo@rcs0.html * igt@gem_exec_reloc@basic-gtt: - {shard-rkl}: [SKIP][88] ([i915#3281]) -> [PASS][89] +2 similar issues [88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-2/igt@gem_exec_reloc@basic-gtt.html [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-5/igt@gem_exec_reloc@basic-gtt.html * igt@gem_tiled_partial_pwrite_pread@writes: - {shard-rkl}: [SKIP][90] ([i915#3282]) -> [PASS][91] +1 similar issue [90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-2/igt@gem_tiled_partial_pwrite_pread@writes.html [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-5/igt@gem_tiled_partial_pwrite_pread@writes.html * igt@gen9_exec_parse@bb-secure: - {shard-rkl}: [SKIP][92] ([i915#2527]) -> [PASS][93] [92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-2/igt@gen9_exec_parse@bb-secure.html [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-5/igt@gen9_exec_parse@bb-secure.html * igt@i915_pm_rpm@modeset-lpsp-stress-no-wait: - {shard-rkl}: [SKIP][94] ([i915#1397]) -> [PASS][95] [94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-5/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-6/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html * igt@i915_suspend@basic-s2idle-without-i915: - shard-snb: [ABORT][96] ([i915#4528]) -> [PASS][97] [96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-snb5/igt@i915_suspend@basic-s2idle-without-i915.html [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-snb1/igt@i915_suspend@basic-s2idle-without-i915.html * igt@i915_suspend@sysfs-reader: - {shard-rkl}: [ABORT][98] ([i915#5122]) -> [PASS][99] [98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-4/igt@i915_suspend@sysfs-reader.html [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-2/igt@i915_suspend@sysfs-reader.html * igt@kms_big_fb@x-tiled-32bpp-rotate-0: - {shard-rkl}: [SKIP][100] ([i915#1845] / [i915#4098]) -> [PASS][101] +15 similar issues [100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-5/igt@kms_big_fb@x-tiled-32bpp-rotate-0.html [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-6/igt@kms_big_fb@x-tiled-32bpp-rotate-0.html * igt@kms_fbcon_fbt@fbc-suspend: - shard-glk: [FAIL][102] ([i915#4767]) -> [PASS][103] [102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-glk1/igt@kms_fbcon_fbt@fbc-suspend.html [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-glk8/igt@kms_fbcon_fbt@fbc-suspend.html * igt@kms_frontbuffer_tracking@fbc-modesetfrombusy: - {shard-tglu}: [SKIP][104] ([i915#1849]) -> [PASS][105] [104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-modesetfrombusy.html [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-1/igt@kms_frontbuffer_tracking@fbc-modesetfrombusy.html * igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render: - {shard-rkl}: [SKIP][106] ([i915#1849] / [i915#4098]) -> [PASS][107] +6 similar issues [106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html * igt@kms_properties@plane-properties-legacy: - {shard-rkl}: [SKIP][108] ([i915#1849]) -> [PASS][109] [108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-2/igt@kms_properties@plane-properties-legacy.html [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-6/igt@kms_properties@plane-properties-legacy.html * igt@kms_psr@sprite_render: - {shard-rkl}: [SKIP][110] ([i915#1072]) -> [PASS][111] [110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-4/igt@kms_psr@sprite_render.html [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-6/igt@kms_psr@sprite_render.html * igt@kms_universal_plane@universal-plane-pipe-c-functional: - {shard-tglu}: [SKIP][112] ([fdo#109274]) -> [PASS][113] [112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-tglu-6/igt@kms_universal_plane@universal-plane-pipe-c-functional.html [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-8/igt@kms_universal_plane@universal-plane-pipe-c-functional.html * igt@kms_vblank@pipe-a-query-forked: - {shard-tglu}: [SKIP][114] ([i915#1845] / [i915#7651]) -> [PASS][115] +4 similar issues [114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-tglu-6/igt@kms_vblank@pipe-a-query-forked.html [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-tglu-8/igt@kms_vblank@pipe-a-query-forked.html * igt@perf@gen12-unprivileged-single-ctx-counters: - {shard-rkl}: [SKIP][116] ([fdo#109289]) -> [PASS][117] [116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12796/shard-rkl-5/igt@perf@gen12-unprivileged-single-ctx-counters.html [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/shard-rkl-4/igt@perf@gen12-unprivileged-single-ctx-counters.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2 [fdo#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#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283 [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289 [fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291 [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295 [fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302 [fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303 [fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308 [fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309 [fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313 [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315 [fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506 [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#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644 [fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656 [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825 [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827 [fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054 [fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099 [i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132 [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397 [i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722 [i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825 [i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849 [i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902 [i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937 [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346 [i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434 [i915#2436]: https://gitlab.freedesktop.org/drm/intel/issues/2436 [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#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582 [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587 [i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658 [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672 [i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681 [i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705 [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280 [i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284 [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842 [i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846 [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856 [i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920 [i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116 [i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315 [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#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299 [i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301 [i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318 [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#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528 [i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536 [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539 [i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546 [i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558 [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637 [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638 [i915#3639]: https://gitlab.freedesktop.org/drm/intel/issues/3639 [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#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826 [i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840 [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886 [i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936 [i915#3938]: https://gitlab.freedesktop.org/drm/intel/issues/3938 [i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952 [i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955 [i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966 [i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989 [i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036 [i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404 [i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4087]: https://gitlab.freedesktop.org/drm/intel/issues/4087 [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212 [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213 [i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235 [i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426 [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270 [i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349 [i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387 [i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525 [i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528 [i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537 [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538 [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454 [i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767 [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#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833 [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852 [i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854 [i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859 [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860 [i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873 [i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879 [i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880 [i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881 [i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885 [i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958 [i915#5107]: https://gitlab.freedesktop.org/drm/intel/issues/5107 [i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122 [i915#5174]: https://gitlab.freedesktop.org/drm/intel/issues/5174 [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176 [i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190 [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235 [i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274 [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286 [i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288 [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289 [i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325 [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533 [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354 [i915#5410]: https://gitlab.freedesktop.org/drm/intel/issues/5410 [i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431 [i915#5433]: https://gitlab.freedesktop.org/drm/intel/issues/5433 [i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439 [i915#5460]: https://gitlab.freedesktop.org/drm/intel/issues/5460 [i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461 [i915#5464]: https://gitlab.freedesktop.org/drm/intel/issues/5464 [i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493 [i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563 [i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566 [i915#5608]: https://gitlab.freedesktop.org/drm/intel/issues/5608 [i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723 [i915#5793]: https://gitlab.freedesktop.org/drm/intel/issues/5793 [i915#5882]: https://gitlab.freedesktop.org/drm/intel/issues/5882 [i915#5889]: https://gitlab.freedesktop.org/drm/intel/issues/5889 [i915#5892]: https://gitlab.freedesktop.org/drm/intel/issues/5892 [i915#5978]: https://gitlab.freedesktop.org/drm/intel/issues/5978 [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095 [i915#6122]: https://gitlab.freedesktop.org/drm/intel/issues/6122 [i915#6188]: https://gitlab.freedesktop.org/drm/intel/issues/6188 [i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227 [i915#6228]: https://gitlab.freedesktop.org/drm/intel/issues/6228 [i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230 [i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245 [i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248 [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301 [i915#6333]: https://gitlab.freedesktop.org/drm/intel/issues/6333 [i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335 [i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344 [i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433 [i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497 [i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524 [i915#6530]: https://gitlab.freedesktop.org/drm/intel/issues/6530 [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658 [i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590 [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621 [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768 [i915#6786]: https://gitlab.freedesktop.org/drm/intel/issues/6786 [i915#6805]: https://gitlab.freedesktop.org/drm/intel/issues/6805 [i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944 [i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946 [i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953 [i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037 [i915#7091]: https://gitlab.freedesktop.org/drm/intel/issues/7091 [i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116 [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118 [i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128 [i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294 [i915#7387]: https://gitlab.freedesktop.org/drm/intel/issues/7387 [i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456 [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561 [i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651 [i915#7679]: https://gitlab.freedesktop.org/drm/intel/issues/7679 [i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697 [i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701 [i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707 [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711 [i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949 [i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957 [i915#7984]: https://gitlab.freedesktop.org/drm/intel/issues/7984 [i915#8077]: https://gitlab.freedesktop.org/drm/intel/issues/8077 [i915#8151]: https://gitlab.freedesktop.org/drm/intel/issues/8151 [i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152 [i915#8154]: https://gitlab.freedesktop.org/drm/intel/issues/8154 [i915#8155]: https://gitlab.freedesktop.org/drm/intel/issues/8155 [i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7177 -> IGTPW_8547 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_12796: 56c017efe176b9f3ab1700b80d3d20970c851414 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_8547: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8547/index.html IGT_7177: 0cdc4a676cd9f9e495ad3ae441ed3322f1e14a88 @ 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_8547/index.html [-- Attachment #2: Type: text/html, Size: 38839 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib: disable console suspend for suspend test 2023-03-01 12:44 [igt-dev] [PATCH i-g-t] lib: disable console suspend for suspend test Anshuman Gupta 2023-03-01 14:56 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2023-03-02 15:38 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork @ 2023-03-02 23:51 ` Dixit, Ashutosh 2023-03-08 16:20 ` Kamil Konieczny 2 siblings, 1 reply; 5+ messages in thread From: Dixit, Ashutosh @ 2023-03-02 23:51 UTC (permalink / raw) To: Anshuman Gupta; +Cc: igt-dev On Wed, 01 Mar 2023 04:44:30 -0800, Anshuman Gupta wrote: > > diff --git a/lib/igt_aux.c b/lib/igt_aux.c > index 15e304407f..e1260c1e88 100644 > --- a/lib/igt_aux.c > +++ b/lib/igt_aux.c > @@ -694,6 +694,10 @@ void igt_print_activity(void) > } > > static int autoresume_delay; > +bool __console_suspend_saved_state; > + > +#define SYSFS_MODULE_PRINTK "/sys/module/printk/parameters/" > +#define CONSOLE_SUSPEND_DISABLE 0 > > static const char *suspend_state_name[] = { > [SUSPEND_STATE_FREEZE] = "freeze", > @@ -899,6 +903,19 @@ static bool is_mem_sleep_state_supported(int power_dir, enum igt_mem_sleep state > return str; > } > > +static void __igt_aux_console_suspend_restore_exit_handler(int sig) > +{ > + int sysfs_fd; > + > + sysfs_fd = open(SYSFS_MODULE_PRINTK, O_RDONLY); > + > + if (sysfs_fd < 0) > + return; > + > + igt_sysfs_set_boolean(sysfs_fd, "console_suspend", __console_suspend_saved_state); > + close(sysfs_fd); > +} > + > /** > * igt_system_suspend_autoresume: > * @state: an #igt_suspend_state, the target suspend state > @@ -923,10 +940,15 @@ static bool is_mem_sleep_state_supported(int power_dir, enum igt_mem_sleep state > void igt_system_suspend_autoresume(enum igt_suspend_state state, > enum igt_suspend_test test) > { > - int power_dir; > + int power_dir, sysfs_fd; > enum igt_suspend_test orig_test; > enum igt_mem_sleep orig_mem_sleep = MEM_SLEEP_NONE; > > + igt_require((sysfs_fd = open(SYSFS_MODULE_PRINTK, O_RDONLY)) >= 0); > + __console_suspend_saved_state = igt_sysfs_get_boolean(sysfs_fd, "console_suspend"); > + igt_sysfs_set_boolean(sysfs_fd, "console_suspend", CONSOLE_SUSPEND_DISABLE); > + igt_install_exit_handler(__igt_aux_console_suspend_restore_exit_handler); I think switch the two lines above and use igt_assert with igt_sysfs_set_boolean to check if we were able to set "console_suspend" to 0. > + > igt_require((power_dir = open("/sys/power", O_RDONLY)) >= 0); > igt_require(is_state_supported(power_dir, state)); > igt_require(test == SUSPEND_TEST_NONE || > @@ -958,7 +980,9 @@ void igt_system_suspend_autoresume(enum igt_suspend_state state, > set_mem_sleep(power_dir, orig_mem_sleep); > > set_suspend_test(power_dir, orig_test); > + igt_sysfs_set_boolean(sysfs_fd, "console_suspend", __console_suspend_saved_state); Iirc, this is not needed, the exit handler will take care of this (it will execute anyway on process exit). > close(power_dir); > + close(sysfs_fd); > } > > static int original_autoresume_delay; > -- > 2.25.1 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib: disable console suspend for suspend test 2023-03-02 23:51 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh @ 2023-03-08 16:20 ` Kamil Konieczny 0 siblings, 0 replies; 5+ messages in thread From: Kamil Konieczny @ 2023-03-08 16:20 UTC (permalink / raw) To: igt-dev Hi Anshuman, On 2023-03-02 at 15:51:20 -0800, Dixit, Ashutosh wrote: > On Wed, 01 Mar 2023 04:44:30 -0800, Anshuman Gupta wrote: > > > > diff --git a/lib/igt_aux.c b/lib/igt_aux.c > > index 15e304407f..e1260c1e88 100644 > > --- a/lib/igt_aux.c > > +++ b/lib/igt_aux.c > > @@ -694,6 +694,10 @@ void igt_print_activity(void) > > } > > > > static int autoresume_delay; > > +bool __console_suspend_saved_state; > > + > > +#define SYSFS_MODULE_PRINTK "/sys/module/printk/parameters/" > > +#define CONSOLE_SUSPEND_DISABLE 0 > > > > static const char *suspend_state_name[] = { > > [SUSPEND_STATE_FREEZE] = "freeze", > > @@ -899,6 +903,19 @@ static bool is_mem_sleep_state_supported(int power_dir, enum igt_mem_sleep state > > return str; > > } > > > > +static void __igt_aux_console_suspend_restore_exit_handler(int sig) > > +{ > > + int sysfs_fd; > > + > > + sysfs_fd = open(SYSFS_MODULE_PRINTK, O_RDONLY); > > + > > + if (sysfs_fd < 0) > > + return; > > + > > + igt_sysfs_set_boolean(sysfs_fd, "console_suspend", __console_suspend_saved_state); > > + close(sysfs_fd); > > +} > > + > > /** > > * igt_system_suspend_autoresume: > > * @state: an #igt_suspend_state, the target suspend state > > @@ -923,10 +940,15 @@ static bool is_mem_sleep_state_supported(int power_dir, enum igt_mem_sleep state > > void igt_system_suspend_autoresume(enum igt_suspend_state state, > > enum igt_suspend_test test) > > { > > - int power_dir; > > + int power_dir, sysfs_fd; > > enum igt_suspend_test orig_test; > > enum igt_mem_sleep orig_mem_sleep = MEM_SLEEP_NONE; > > > > + igt_require((sysfs_fd = open(SYSFS_MODULE_PRINTK, O_RDONLY)) >= 0); Do we really need igt_require here ? imho you can print igt_info if this failed but skipping is a little too much. In case you want to skip move this into separate function with bool returning on fail and do skipping inside test itself. Regards, Kamil > > + __console_suspend_saved_state = igt_sysfs_get_boolean(sysfs_fd, "console_suspend"); > > + igt_sysfs_set_boolean(sysfs_fd, "console_suspend", CONSOLE_SUSPEND_DISABLE); > > + igt_install_exit_handler(__igt_aux_console_suspend_restore_exit_handler); > > I think switch the two lines above and use igt_assert with > igt_sysfs_set_boolean to check if we were able to set "console_suspend" to 0. > > > + > > igt_require((power_dir = open("/sys/power", O_RDONLY)) >= 0); > > igt_require(is_state_supported(power_dir, state)); > > igt_require(test == SUSPEND_TEST_NONE || > > @@ -958,7 +980,9 @@ void igt_system_suspend_autoresume(enum igt_suspend_state state, > > set_mem_sleep(power_dir, orig_mem_sleep); > > > > set_suspend_test(power_dir, orig_test); > > + igt_sysfs_set_boolean(sysfs_fd, "console_suspend", __console_suspend_saved_state); > > Iirc, this is not needed, the exit handler will take care of this (it will > execute anyway on process exit). > > > close(power_dir); > > + close(sysfs_fd); > > } > > > > static int original_autoresume_delay; > > -- > > 2.25.1 > > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-03-08 16:21 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-03-01 12:44 [igt-dev] [PATCH i-g-t] lib: disable console suspend for suspend test Anshuman Gupta 2023-03-01 14:56 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2023-03-02 15:38 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2023-03-02 23:51 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh 2023-03-08 16:20 ` Kamil Konieczny
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox