Enum amdgpu_sysfs::gpu_handle::PerformanceLevel
source · pub enum PerformanceLevel {
Auto,
Low,
High,
Manual,
}Expand description
Performance level to be used by the GPU.
https://kernel.org/doc/html/latest/gpu/amdgpu/thermal.html#pp-od-clk-voltage
Variants§
Auto
When auto is selected, the driver will attempt to dynamically select the optimal power profile for current conditions in the driver.
Low
When low is selected, the clocks are forced to the lowest power state.
High
When high is selected, the clocks are forced to the highest power state.
Manual
When manual is selected, power states can be manually adjusted via pp_dpm_* files (GpuHandle::set_enabled_power_levels) and pp_od_clk_voltage (GpuHandle::set_clocks_table).
Trait Implementations§
source§impl Clone for PerformanceLevel
impl Clone for PerformanceLevel
source§fn clone(&self) -> PerformanceLevel
fn clone(&self) -> PerformanceLevel
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 PerformanceLevel
impl Debug for PerformanceLevel
source§impl Default for PerformanceLevel
impl Default for PerformanceLevel
source§impl Display for PerformanceLevel
impl Display for PerformanceLevel
source§impl FromStr for PerformanceLevel
impl FromStr for PerformanceLevel
source§impl PartialEq<PerformanceLevel> for PerformanceLevel
impl PartialEq<PerformanceLevel> for PerformanceLevel
source§fn eq(&self, other: &PerformanceLevel) -> bool
fn eq(&self, other: &PerformanceLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.