Skip to content
Commit ada7c5cc authored by Luke D. Jones's avatar Luke D. Jones Committed by Greg Kroah-Hartman
Browse files

asus-wmi: Add dgpu disable method



[ Upstream commit 98829e84 ]

In Windows the ASUS Armory Crate program can enable or disable the
dGPU via a WMI call. This functions much the same as various Linux
methods in software where the dGPU is removed from the device tree.

However the WMI call saves the state of dGPU (enabled or not) and
this then changes the dGPU visibility in Linux with no way for
Linux users to re-enable it. We expose the WMI method so users can
see and change the dGPU ACPI state.

Signed-off-by: default avatarLuke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20210807023656.25020-3-luke@ljones.dev


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Stable-dep-of: b52cbca2 ("platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3a8fc16d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment