[PATCH v2] drm/nouveau/acpi: fix check for power resources support

2016-11-01 Thread Peter Wu
On Tue, Nov 01, 2016 at 09:24:23AM -0400, Alex Deucher wrote: > On Tue, Nov 1, 2016 at 12:55 AM, Dave Airlie wrote: > > On 1 November 2016 at 08:48, Peter Wu wrote: > >> Check whether the kernel really supports power resources for a device, > >> otherwise the power might not be removed when the d

[PATCH v2] drm/nouveau/acpi: fix check for power resources support

2016-11-01 Thread Alex Deucher
On Tue, Nov 1, 2016 at 3:00 PM, Peter Wu wrote: > On Tue, Nov 01, 2016 at 09:24:23AM -0400, Alex Deucher wrote: >> On Tue, Nov 1, 2016 at 12:55 AM, Dave Airlie wrote: >> > On 1 November 2016 at 08:48, Peter Wu wrote: >> >> Check whether the kernel really supports power resources for a device, >>

[PATCH v2] drm/nouveau/acpi: fix check for power resources support

2016-11-01 Thread Dave Airlie
On 1 November 2016 at 08:48, Peter Wu wrote: > Check whether the kernel really supports power resources for a device, > otherwise the power might not be removed when the device is runtime > suspended (DSM should still work in these cases where PR does not). > > This is a workaround for a problem w

[PATCH v2] drm/nouveau/acpi: fix check for power resources support

2016-11-01 Thread Alex Deucher
On Tue, Nov 1, 2016 at 12:55 AM, Dave Airlie wrote: > On 1 November 2016 at 08:48, Peter Wu wrote: >> Check whether the kernel really supports power resources for a device, >> otherwise the power might not be removed when the device is runtime >> suspended (DSM should still work in these cases wh

[PATCH v2] drm/nouveau/acpi: fix check for power resources support

2016-10-31 Thread Peter Wu
Check whether the kernel really supports power resources for a device, otherwise the power might not be removed when the device is runtime suspended (DSM should still work in these cases where PR does not). This is a workaround for a problem where ACPICA and Windows 10 differ in behavior. ACPICA d