summaryrefslogtreecommitdiff
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-05-24 18:41:04 +0200
committerPeter Wu <peter@lekensteyn.nl>2016-07-07 18:27:23 +0200
commitdca53d467ea2067a1569611fbb86925c41c3e96e (patch)
tree1c427919aeb4463bc6b950ee732ddd627df59af3 /mm/mempool.c
parentd08535da35c114d1f1711ba1a220f6d8b9b29c93 (diff)
downloadlinux-dca53d467ea2067a1569611fbb86925c41c3e96e.tar.gz
drm/nouveau/acpi: fix lockup with PCIe runtime PMnouveau-acpi-v2.3
Since "PCI: Add runtime PM support for PCIe ports", the parent PCIe port can be runtime-suspended which disables power resources via ACPI. This is incompatible with DSM, resulting in a GPU device which is still in D3 and locks up the kernel on resume (on a Clevo P651RA, GTX965M). Mirror the behavior of Windows 8 and newer[1] (as observed via an AMLi debugger trace) and stop using the DSM functions for D3cold when power resources are available on the parent PCIe port. pci_d3cold_disable() is not used because on some machines, the old DSM method is broken. On a Lenovo T440p (GT 730M) memory and disk corruption would occur, but that is fixed with this patch[2]. [1]: https://msdn.microsoft.com/windows/hardware/drivers/bringup/firmware-requirements-for-d3cold [2]: https://github.com/Bumblebee-Project/bbswitch/issues/78#issuecomment-223549072 v2: simply check directly for _PR3. Added affected machines. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions