diff options
author | Peter Wu <[email protected]> | 2016-10-31 23:48:22 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-11-01 14:52:03 +1000 |
commit | b0a6af8b34c9ad20894aa46f85f4bf59d444f286 (patch) | |
tree | 9c3a24d7cb22960b954522b7487b881260344d81 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 5f7f8f6edbf860abf18149a64be036d4be5e2993 (diff) |
drm/nouveau/acpi: fix check for power resources support
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 <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Cc: [email protected] # v4.8+
Signed-off-by: Peter Wu <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions