]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Dec 2023 13:59:12 +0000 (14:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Dec 2023 13:59:12 +0000 (14:59 +0100)
added patches:
platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch

queue-5.10/platform-x86-asus-wmi-document-the-dgpu_disable-sysfs-attribute.patch [new file with mode: 0644]
queue-5.10/series

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 (file)
index 0000000..43de3ff
--- /dev/null
@@ -0,0 +1,37 @@
+From 7e64c486e807c8edfbd3a0c8e44ad7a1896dbec8 Mon Sep 17 00:00:00 2001
+From: "Luke D. Jones" <luke@ljones.dev>
+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@ljones.dev>
+
+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@ljones.dev>
+Link: https://lore.kernel.org/r/20220812222509.292692-2-luke@ljones.dev
+Reviewed-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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@ljones.dev>
++Description:
++              Disable discrete GPU:
++                      * 0 - Enable dGPU,
++                      * 1 - Disable dGPU
index 47b4ee79e85128035925dc46e673c1836ac5dc60..c28dd86272fa1e7e44fab4d54c65acc0faf0595c 100644 (file)
@@ -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