diff options
author | Hans de Goede <[email protected]> | 2023-11-12 21:36:27 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-11-20 17:31:49 +0100 |
commit | c93695494606326d7fd72b46a2a657139ccb0dec (patch) | |
tree | edfe7598111341bc097ca541532f431bfae62d0f /scripts/generate_rust_analyzer.py | |
parent | 37ba91a82e3b9de35f64348c62b5ec7d74e3a41c (diff) |
ACPI: video: Use acpi_device_fix_up_power_children()
Commit 89c290ea7589 ("ACPI: video: Put ACPI video and its child devices
into D0 on boot") introduced calling acpi_device_fix_up_power_extended()
on the video card for which the ACPI video bus is the companion device.
This unnecessarily touches the power-state of the GPU itself, while
the issue it tries to address only requires calling _PS0 on the child
devices.
Touching the power-state of the GPU itself is causing suspend / resume
issues on e.g. a Lenovo ThinkPad W530.
Instead use acpi_device_fix_up_power_children(), which only touches
the child devices, to fix this.
Fixes: 89c290ea7589 ("ACPI: video: Put ACPI video and its child devices into D0 on boot")
Reported-by: Owen T. Heisler <[email protected]>
Closes: https://lore.kernel.org/regressions/[email protected]/
Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/273
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218124
Tested-by: Kai-Heng Feng <[email protected]>
Tested-by: Owen T. Heisler <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Cc: 6.6+ <[email protected]> # 6.6+
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions