[igt-dev] [PATCH i-g-t v2 0/2] Disable d3cold_allowed for basic-s2idle-without-i915

Riana Tauro riana.tauro at intel.com
Fri Sep 9 07:27:42 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

Riana Tauro (2):
  lib/igt_pm : Add pm functions for d3cold_allowed
  tests/i915/i915_suspend: Disable d3cold_allowed for
    basic-s2idle-without-i915

 lib/igt_pm.c              | 47 +++++++++++++++++++++++++++++++++++++++
 lib/igt_pm.h              |  4 ++++
 tests/i915/i915_suspend.c | 26 ++++++++++++++++++++++
 3 files changed, 77 insertions(+)

-- 
2.25.1



More information about the igt-dev mailing list