5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Luke D. Jones <luke@xxxxxxxxxx> [ Upstream commit 7e64c486e807c8edfbd3a0c8e44ad7a1896dbec8 ] The dgpu_disable attribute was not documented, this adds the required documentation. Fixes: 98829e84dc67 ("asus-wmi: Add dgpu disable method") Signed-off-by: Luke D. Jones <luke@xxxxxxxxxx> Link: https://lore.kernel.org/r/20220812222509.292692-2-luke@xxxxxxxxxx Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> --- Documentation/ABI/testing/sysfs-platform-asus-wmi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-platform-asus-wmi b/Documentation/ABI/testing/sysfs-platform-asus-wmi index 04885738cf156..0f8f0772d6f3b 100644 --- a/Documentation/ABI/testing/sysfs-platform-asus-wmi +++ b/Documentation/ABI/testing/sysfs-platform-asus-wmi @@ -57,3 +57,12 @@ Description: * 0 - default, * 1 - overboost, * 2 - silent + +What: /sys/devices/platform/<platform>/dgpu_disable +Date: Aug 2022 +KernelVersion: 5.17 +Contact: "Luke Jones" <luke@xxxxxxxxxx> +Description: + Disable discrete GPU: + * 0 - Enable dGPU, + * 1 - Disable dGPU -- 2.43.0