From 557c028c040504608d07d78df01728c3025c4196 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 11 Dec 2023 14:59:12 +0100 Subject: [PATCH] 5.10-stable patches added patches: platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch --- ...ent-the-dgpu_disable-sysfs-attribute.patch | 37 +++++++++++++++++++ queue-5.10/series | 1 + 2 files changed, 38 insertions(+) create mode 100644 queue-5.10/platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch diff --git a/queue-5.10/platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch b/queue-5.10/platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch new file mode 100644 index 00000000000..43de3ff0b78 --- /dev/null +++ b/queue-5.10/platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch @@ -0,0 +1,37 @@ +From 7e64c486e807c8edfbd3a0c8e44ad7a1896dbec8 Mon Sep 17 00:00:00 2001 +From: "Luke D. Jones" +Date: Sat, 13 Aug 2022 10:25:04 +1200 +Subject: platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute + +From: Luke D. Jones + +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 +Link: https://lore.kernel.org/r/20220812222509.292692-2-luke@ljones.dev +Reviewed-by: Hans de Goede +Signed-off-by: Hans de Goede +Signed-off-by: Greg Kroah-Hartman +--- + 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//dgpu_disable ++Date: Aug 2022 ++KernelVersion: 5.17 ++Contact: "Luke Jones" ++Description: ++ Disable discrete GPU: ++ * 0 - Enable dGPU, ++ * 1 - Disable dGPU diff --git a/queue-5.10/series b/queue-5.10/series index 47b4ee79e85..c28dd86272f 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -87,3 +87,4 @@ drop_monitor-require-cap_sys_admin-when-joining-events-group.patch netfilter-nft_set_pipapo-skip-inactive-elements-during-set-walk.patch platform-x86-asus-wmi-fix-kbd_dock_devid-tablet-switch-reporting.patch tools-headers-uapi-sync-linux-perf_event.h-with-the-kernel-sources.patch +platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch -- 2.47.3