[PATCH i-g-t 1/1] tests/i915/i915_suspend : Debug patch to dump pci d state for root port

Riana Tauro riana.tauro at intel.com
Mon Aug 29 11:28:33 UTC 2022


Debug patch to dump pci d state for root port

Signed-off-by: Riana Tauro <riana.tauro at intel.com>
---
 tests/i915/i915_suspend.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/i915/i915_suspend.c b/tests/i915/i915_suspend.c
index 94935595..5a634adb 100644
--- a/tests/i915/i915_suspend.c
+++ b/tests/i915/i915_suspend.c
@@ -211,8 +211,12 @@ test_suspend_without_i915(int state)
 
 	igt_system_suspend_autoresume(state, SUSPEND_TEST_NONE);
 
+	igt_system("lspci -s 03:00.0 -xxx");
+	igt_system("setpci -s  03:00.0  00.b");
+
 	igt_kmsg(KMSG_INFO "Re-loading i915 \n");
 	igt_assert_eq(igt_i915_driver_load(NULL), 0);
+
 }
 
 int fd;
-- 
2.25.1



More information about the Intel-gfx-trybot mailing list