mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 02:36:45 -04:00
manager/user: Move relevant methods to GpuPowerProfile1, update as specified
This commit is contained in:
parent
41382c7158
commit
fc25da30af
6 changed files with 84 additions and 88 deletions
|
@ -28,16 +28,6 @@ trait Manager {
|
|||
#[zbus(property)]
|
||||
fn set_gpu_performance_level(&self, value: u32) -> zbus::Result<()>;
|
||||
|
||||
/// GpuPowerProfile property
|
||||
#[zbus(property)]
|
||||
fn gpu_power_profile(&self) -> zbus::Result<u32>;
|
||||
#[zbus(property)]
|
||||
fn set_gpu_power_profile(&self, value: u32) -> zbus::Result<()>;
|
||||
|
||||
/// GpuPowerProfiles property
|
||||
#[zbus(property)]
|
||||
fn gpu_power_profiles(&self) -> zbus::Result<std::collections::HashMap<u32, String>>;
|
||||
|
||||
/// ManualGpuClock property
|
||||
#[zbus(property)]
|
||||
fn manual_gpu_clock(&self) -> zbus::Result<u32>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue