This is a note to let you know that I've just added the patch titled platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 7e64c486e807c8edfbd3a0c8e44ad7a1896dbec8 Mon Sep 17 00:00:00 2001 From: "Luke D. Jones" <luke@xxxxxxxxxx> Date: Sat, 13 Aug 2022 10:25:04 +1200 Subject: platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute From: Luke D. Jones <luke@xxxxxxxxxx> commit 7e64c486e807c8edfbd3a0c8e44ad7a1896dbec8 upstream. 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: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- Documentation/ABI/testing/sysfs-platform-asus-wmi | 9 +++++++++ 1 file changed, 9 insertions(+) --- 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 Patches currently in stable-queue which might be from luke@xxxxxxxxxx are queue-5.10/platform-x86-asus-wmi-adjust-tablet-lidflip-handling.patch queue-5.10/asus-wmi-add-dgpu-disable-method.patch queue-5.10/platform-x86-asus-wmi-add-support-for-rog-x13-tablet.patch queue-5.10/platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch queue-5.10/platform-x86-asus-wmi-simplify-tablet-mode-switch-ha.patch queue-5.10/platform-x86-asus-wmi-simplify-tablet-mode-switch-pr.patch