Enum amdgpu_sysfs::gpu_handle::overdrive::ClocksTableGen
source · Expand description
Representation of pp_od_clk_voltage
Variants§
Trait Implementations§
source§impl ClocksTable for ClocksTableGen
impl ClocksTable for ClocksTableGen
source§fn write_commands<W: Write>(
&self,
__enum_dispatch_arg_0: &mut W
) -> Result<(), Error>
fn write_commands<W: Write>(
&self,
__enum_dispatch_arg_0: &mut W
) -> Result<(), Error>
Writes commands needed to apply the state that is in the table struct on the GPU.
source§fn get_allowed_ranges(&self) -> AllowedRanges
fn get_allowed_ranges(&self) -> AllowedRanges
Get the clockspeed and voltage ranges which the GPU allows.
source§fn get_max_sclk(&self) -> Option<u32>
fn get_max_sclk(&self) -> Option<u32>
Gets the current maximum core clock.
source§fn set_max_sclk(&mut self, __enum_dispatch_arg_0: u32) -> Result<(), Error>
fn set_max_sclk(&mut self, __enum_dispatch_arg_0: u32) -> Result<(), Error>
Sets the maximum core clock.
source§fn set_max_sclk_unchecked(
&mut self,
__enum_dispatch_arg_0: u32
) -> Result<(), Error>
fn set_max_sclk_unchecked(
&mut self,
__enum_dispatch_arg_0: u32
) -> Result<(), Error>
Sets the maximum core clock (without checking if it’s in the allowed range).
source§fn get_max_mclk(&self) -> Option<u32>
fn get_max_mclk(&self) -> Option<u32>
Gets the current maximum memory clock.
source§fn set_max_mclk(&mut self, __enum_dispatch_arg_0: u32) -> Result<(), Error>
fn set_max_mclk(&mut self, __enum_dispatch_arg_0: u32) -> Result<(), Error>
Sets the maximum memory clock.
source§fn set_max_mclk_unchecked(
&mut self,
__enum_dispatch_arg_0: u32
) -> Result<(), Error>
fn set_max_mclk_unchecked(
&mut self,
__enum_dispatch_arg_0: u32
) -> Result<(), Error>
Sets the maximum memory clock (without checking if it’s in the allowed range).
source§fn get_max_sclk_voltage(&self) -> Option<u32>
fn get_max_sclk_voltage(&self) -> Option<u32>
Gets the current maximum voltage (used on maximum clockspeed).
source§impl Clone for ClocksTableGen
impl Clone for ClocksTableGen
source§fn clone(&self) -> ClocksTableGen
fn clone(&self) -> ClocksTableGen
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ClocksTableGen
impl Debug for ClocksTableGen
source§impl From<Table> for ClocksTableGen
impl From<Table> for ClocksTableGen
source§fn from(v: Table) -> ClocksTableGen
fn from(v: Table) -> ClocksTableGen
Converts to this type from the input type.
source§impl From<Table> for ClocksTableGen
impl From<Table> for ClocksTableGen
source§fn from(v: Table) -> ClocksTableGen
fn from(v: Table) -> ClocksTableGen
Converts to this type from the input type.