[PATCH] drm/nouveau/acpi: use DSM if bridge does not support D3cold

2016-08-30 Thread Mika Westerberg
On Fri, Aug 26, 2016 at 01:00:54AM +0200, Peter Wu wrote: > Even if PR3 support is available on the bridge, it will not be used if > the PCI layer considers it unavailable (i.e. on all laptops from 2013 > and 2014). Ensure that this condition is checked to allow a fallback to > the Optimus DSM for

[PATCH] drm/nouveau/acpi: use DSM if bridge does not support D3cold

2016-08-26 Thread Peter Wu
Even if PR3 support is available on the bridge, it will not be used if the PCI layer considers it unavailable (i.e. on all laptops from 2013 and 2014). Ensure that this condition is checked to allow a fallback to the Optimus DSM for device poweroff. Initially I wanted to call pci_d3cold_enable bef