summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorLuke D. Jones <luke@ljones.dev>2023-06-30 17:35:50 +1200
committerHans de Goede <hdegoede@redhat.com>2023-07-12 17:01:54 +0200
commit609b3670c29f41a1a9da5e689373fc24d244cd00 (patch)
tree91c619df2e29bf4bee15cdfcc5a5f3972291f3a0 /tools/perf/scripts
parentd49f4d1a30ac656e65f3fc3609893256da0b9a31 (diff)
platform/x86: asus-wmi: add safety checks to gpu switching
Add safety checking to dgpu_disable, egpu_enable, gpu_mux_mode. These checks prevent users from doing such things as: - disabling the dGPU while is muxed to drive the internal screen - enabling the eGPU which also disables the dGPU, while muxed to the internal screen - switching the MUX to dGPU while the dGPU is disabled Signed-off-by: Luke D. Jones <luke@ljones.dev> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230630053552.976579-7-luke@ljones.dev Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions