]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: asus-wmi: add support for Vivobook GPU MUX
authorLuke D. Jones <luke@ljones.dev>
Thu, 4 Apr 2024 00:16:45 +0000 (13:16 +1300)
committerHans de Goede <hdegoede@redhat.com>
Mon, 8 Apr 2024 16:30:26 +0000 (18:30 +0200)
commiteb3bac90549a226df204a57eac45bbe5d6b4a0cf
treec9d465b542d9ed3103a687e78c26744bc86a74b8
parentf81d13df1aa8b02fa8c6ac4b396dcda92fdfdac0
platform/x86: asus-wmi: add support for Vivobook GPU MUX

Add support for the Vivobook dgpu MUX available on the ASUS Viviobook
and some of the other ranges (Zen).

This MUX functions exactly the same as the existing ROG MUX support so
the existing functionality now detects which MUX is available and uses
that for control.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20240404001652.86207-3-luke@ljones.dev
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c
include/linux/platform_data/x86/asus-wmi.h