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

Riana Tauro riana.tauro at intel.com
Thu Sep 8 14:46:07 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              | 46 +++++++++++++++++++++++++++++++++++++++
 lib/igt_pm.h              |  4 ++++
 tests/i915/i915_suspend.c | 28 ++++++++++++++++++++++++
 3 files changed, 78 insertions(+)

-- 
2.25.1



More information about the igt-dev mailing list