Commit 9e3b2180 authored by Luke D. Jones's avatar Luke D. Jones Committed by sanglipeng
Browse files

platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute

stable inclusion
from stable-v5.10.204
commit 91b70f60c8e558ae13a7153d2c5d91642c90aaab
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9J4PL

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=91b70f60c8e558ae13a7153d2c5d91642c90aaab



--------------------------------

commit 7e64c486 upstream.

The dgpu_disable attribute was not documented, this adds the
required documentation.

Fixes: 98829e84 ("asus-wmi: Add dgpu disable method")
Signed-off-by: default avatarLuke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20220812222509.292692-2-luke@ljones.dev


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent c7a867aa
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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