platform/x86: asus-wmi: add WMI method to show if egpu connected
authorLuke D. Jones <luke@ljones.dev>
Fri, 30 Jun 2023 05:35:48 +0000 (17:35 +1200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 12 Jul 2023 15:01:49 +0000 (17:01 +0200)
commitd4eca58aafe241f68e9d7e015d262abe8c8507ac
treec4531fb1af01ff6893e02499614a3f8940648c90
parentee887807d05d3d6fb68917df59e450385fe630d3
platform/x86: asus-wmi: add WMI method to show if egpu connected

Exposes the WMI method which tells if the eGPU is properly connected
on the devices that support it.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230630053552.976579-5-luke@ljones.dev
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Documentation/ABI/testing/sysfs-platform-asus-wmi
drivers/platform/x86/asus-wmi.c
include/linux/platform_data/x86/asus-wmi.h