linux_dsm_epyc7002/drivers/gpu
Peter Wu 279cf3f238 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>
2016-08-31 16:54:05 +10:00
..
drm drm/nouveau/acpi: use DSM if bridge does not support D3cold 2016-08-31 16:54:05 +10:00
host1x drm/tegra: dsi: Enhance runtime power management 2016-08-24 15:58:57 +02:00
ipu-v3 gpu: ipu-v3: ipu-dc: don't bug out on invalid bus_format 2016-07-12 18:26:05 +02:00
vga vga_switcheroo: Sphinxify docs 2016-07-12 16:14:36 +02:00
Makefile