summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarco Scardovi <scardracs@disroot.org>2026-08-05 20:28:08 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-09-16 02:18:52 +0300
commitb3f06a74fea6f1ddec192dfece8e52053d0b6c57 (patch)
treebad9f08ff2731ee5a7d1aedb54971b3b4723d537 /tools/perf/scripts/python
parentbf6e7e433e83924bf7e96514e7afb50b43723022 (diff)
downloadlinux-next-b3f06a74fea6f1ddec192dfece8e52053d0b6c57.tar.gz
linux-next-b3f06a74fea6f1ddec192dfece8e52053d0b6c57.zip
platform/x86: asus-armoury: Prevent disabling dGPU when in use
Check ASUS_WMI_DEVID_DGPU_POWER_STATE before attempting to disable the discrete GPU in dgpu_disable_current_value_store(). Return -EBUSY if the dGPU is currently active and in use. Fixes: f99eb098090e ("platform/x86: asus-armoury: move existing tunings to asus-armoury module") Suggested-by: Denis Benato <denis.benato@linux.dev> Signed-off-by: Marco Scardovi <scardracs@disroot.org> Link: https://patch.msgid.link/20260805183131.3075-4-scardracs@disroot.org Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions