Nvidia fails after switching its mode
Bug #1778658 reported by
AceLan Kao
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
| linux (Ubuntu) |
Fix Released
|
Undecided
|
AceLan Kao | ||
| Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
[Impact]
Switch Nvidia mode requires rebooting the system. It's because of losing some of its status 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 saves and restores states during suspending and resuming.
| tags: | added: originate-from-1777105 somerville |
| Changed in hwe-next: | |
| status: | New → Triaged |
| Changed in linux (Ubuntu Bionic): | |
| status: | New → Triaged |
| Changed in linux (Ubuntu Bionic): | |
| status: | Triaged → In Progress |
| Changed in linux (Ubuntu Bionic): | |
| status: | In Progress → Fix Committed |
| Changed in hwe-next: | |
| status: | Triaged → Fix Released |
| tags: | added: kernel-daily-bug |
To post a comment you must log in.

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- bionic' to 'verification- done-bionic' . If the problem still exists, change the tag 'verification- needed- bionic' to 'verification- failed- bionic' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!