[PATCH 0/1][SRU][Bionic] Fix Nvidia fails after switching its mode
AceLan Kao
acelan.kao at canonical.com
Tue Jun 26 07:55:29 UTC 2018
BugLink: https://bugs.launchpad.net/bugs/1778658
[Impact]
Switch Nvidia mode requires rebooting the system. It's because of
losing some of its states while switching mode if runtime PM is enabled.
It's a generic issue that would happen on some other devices, too.
This patch restores devices' config space on runtime resume.
[Test]
Test and verify it on machines with Nvidia discrete graphics.
[Fix]
Fix by saving and restoring config space over a runtime suspend cycle
even if the device is not bound.
[Regression Potential]
Low. It just saves and restores states during suspending and resuming.
Rafael J. Wysocki (1):
PCI: Restore config space on runtime resume despite being unbound
drivers/pci/pci-driver.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
--
2.17.1
More information about the kernel-team
mailing list