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

Dave Airlie airlied at gmail.com
Tue Nov 1 04:55:50 UTC 2016


On 1 November 2016 at 08:48, Peter Wu <peter at lekensteyn.nl> 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 where ACPICA and Windows 10 differ in
> behavior. ACPICA does not correctly enumerate power resources within a
> conditional block (due to delayed execution of such blocks) and as a
> result power_resources is set to false even if _PR3 exists.
>
> Fixes: 692a17dcc292 ("drm/nouveau/acpi: fix lockup with PCIe runtime PM")
> Link: https://bugs.freedesktop.org/show_bug.cgi?id=98398
> Reported-and-tested-by: Rick Kerkhof <rick.2889 at gmail.com>
> Reviewed-by: Mika Westerberg <mika.westerberg at linux.intel.com>
> Signed-off-by: Peter Wu <peter at lekensteyn.nl>

I've appled it this and cc'ed stable to drm-fixes.

Are we going to get ACPICA fixed?

Dave.


More information about the dri-devel mailing list