https://bugzilla.kernel.org/show_bug.cgi?id=84431
Peter Wu peter@lekensteyn.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peter@lekensteyn.nl
--- Comment #9 from Peter Wu peter@lekensteyn.nl --- (In reply to Pali Rohár from comment #7)
Function vga_switcheroo_init_domain_pm_optimus_hdmi_audio() is used in sound/pci/hda/hda_intel.c. So that driver has same problem and cause kernel panic on driver unload.
A patch for this issue is queued at http://mailman.alsa-project.org/pipermail/alsa-devel/2016-July/110125.html
Joaquín, how does 97d30fa35 break nouveau vga-switcheroo? If you load nouveau with runpm=0, then you can write OFF to debugfs' vga_switcheroo. However runpm=1 (or -1 for Optimus systems) is recommended.
I think that the original bug is fixed, so this can be marked as resolved?