[PATCH i-g-t 1/1] tests/i915/i915_suspend: Disable d3cold_allowed for basic-s2idle-without-i915
Riana Tauro
riana.tauro at intel.com
Wed Sep 14 09:44:54 UTC 2022
When module is unloaded and s2idle is triggered,
PCI core leaves the endpoint in D0 and the bridge in D3 state causing
PCIE spec violation. The config space is read as 0xFF
Keep the bridge in D0 before module unload to prevent
this issue
Signed-off-by: Riana Tauro <riana.tauro at intel.com>
---
lib/igt_device_scan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/igt_device_scan.c b/lib/igt_device_scan.c
index eb6b45b8..e7c05d5c 100644
--- a/lib/igt_device_scan.c
+++ b/lib/igt_device_scan.c
@@ -1030,6 +1030,7 @@ void igt_devices_free(void)
igt_device_free(dev);
free(dev);
}
+ igt_devs.devs_scanned = false;
}
/**
--
2.25.1
More information about the Intel-gfx-trybot
mailing list