mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-08 07:30:36 -04:00
Run cargo fmt
This commit is contained in:
parent
cf9253a709
commit
fb58cd8772
2 changed files with 6 additions and 3 deletions
|
@ -22,8 +22,9 @@ use crate::error::{to_zbus_error, to_zbus_fdo_error, zbus_to_zbus_fdo};
|
||||||
use crate::hardware::check_support;
|
use crate::hardware::check_support;
|
||||||
use crate::job::JobManagerCommand;
|
use crate::job::JobManagerCommand;
|
||||||
use crate::power::{
|
use crate::power::{
|
||||||
get_available_cpu_scaling_governors, get_cpu_scaling_governor, get_gpu_clocks, get_gpu_clocks_range,
|
get_available_cpu_scaling_governors, get_cpu_scaling_governor, get_gpu_clocks,
|
||||||
get_gpu_performance_level, get_gpu_power_profile, get_gpu_power_profiles, get_tdp_limit,
|
get_gpu_clocks_range, get_gpu_performance_level, get_gpu_power_profile, get_gpu_power_profiles,
|
||||||
|
get_tdp_limit,
|
||||||
};
|
};
|
||||||
use crate::wifi::{get_wifi_backend, get_wifi_power_management_state};
|
use crate::wifi::{get_wifi_backend, get_wifi_power_management_state};
|
||||||
use crate::API_VERSION;
|
use crate::API_VERSION;
|
||||||
|
|
|
@ -676,7 +676,9 @@ CCLK_RANGE in Core0:
|
||||||
|
|
||||||
assert!(get_gpu_clocks_range().await.is_err());
|
assert!(get_gpu_clocks_range().await.is_err());
|
||||||
|
|
||||||
write(filename.as_path(), &[] as &[u8; 0]).await.expect("write");
|
write(filename.as_path(), &[] as &[u8; 0])
|
||||||
|
.await
|
||||||
|
.expect("write");
|
||||||
assert!(get_gpu_clocks_range().await.is_err());
|
assert!(get_gpu_clocks_range().await.is_err());
|
||||||
|
|
||||||
let contents = "0: 200Mhz *
|
let contents = "0: 200Mhz *
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue