Rename all instances of dgpu_only to gpu_mux

This commit is contained in:
Luke D. Jones
2022-08-21 21:39:01 +12:00
parent eba9dc8a52
commit 45641c928d
9 changed files with 14 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ use crate::{
/// - dgpu_disable
/// - egpu_enable
/// - panel_od
/// - dgpu_only
/// - gpu_mux
/// - keyboard_mode, set keyboard RGB mode and speed
/// - keyboard_state, set keyboard power states
#[derive(Debug, PartialEq, PartialOrd, Clone)]

View File

@@ -12,7 +12,7 @@ use crate::{
/// - dgpu_disable
/// - egpu_enable
/// - panel_od
/// - dgpu_only
/// - gpu_mux
/// - keyboard_mode, set keyboard RGB mode and speed
/// - keyboard_state, set keyboard power states
#[derive(Debug, PartialEq, PartialOrd, Clone)]

View File

@@ -38,7 +38,7 @@ pub struct LedSupportedFunctions {
#[derive(Serialize, Deserialize, Type, Debug, Default, Clone)]
pub struct RogBiosSupportedFunctions {
pub post_sound: bool,
pub dgpu_only: bool,
pub gpu_mux: bool,
pub panel_overdrive: bool,
pub dgpu_disable: bool,
pub egpu_enable: bool,
@@ -93,7 +93,7 @@ impl fmt::Display for RogBiosSupportedFunctions {
writeln!(f, "\tPanel Overdrive: {}", self.panel_overdrive)?;
writeln!(f, "\tdGPU disable switch: {}", self.dgpu_disable)?;
writeln!(f, "\teGPU enable switch: {}", self.egpu_enable)?;
writeln!(f, "\tDedicated GFX switch: {}", self.dgpu_only)?;
writeln!(f, "\tGPU MUX control: {}", self.gpu_mux)?;
Ok(())
}
}