diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-08-26 01:00:54 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-08-31 16:54:05 +1000 |
commit | 279cf3f23870f7eb8ca071115e06d3d5ca0a2b9e (patch) | |
tree | 22742864be6b52c5f6a89a356d125a01e5eb03c5 /Documentation/devicetree/bindings | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
drm/nouveau/acpi: use DSM if bridge does not support D3cold
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 before checking bridge_d3
(in case the user changed d3cold_allowed), but that is such an unlikely
case and likely fragile anyway. The current patch is suggested by Mika
in http://www.spinics.net/lists/linux-pci/msg52599.html
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions