mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-17 19:56:41 -04:00
platform: Add platform configuration for ZOTAC Gaming Zone
This commit is contained in:
parent
ff08d33cc8
commit
74b036de5d
2 changed files with 11 additions and 0 deletions
10
data/platforms/zotac-gaming-zone.toml
Normal file
10
data/platforms/zotac-gaming-zone.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
[performance_profile]
|
||||
platform_profile_name = "zotac_zone_platform"
|
||||
suggested_default = "custom"
|
||||
|
||||
[tdp_limit]
|
||||
method = "firmware_attribute"
|
||||
|
||||
[tdp_limit.firmware_attribute]
|
||||
attribute = "zotac_zone_platform"
|
||||
performance_profile = "custom"
|
|
@ -169,6 +169,7 @@ impl PlatformConfig {
|
|||
DeviceType::LegionGoS => "legion-go-series",
|
||||
DeviceType::RogAlly => "rog-ally-series",
|
||||
DeviceType::RogAllyX => "rog-ally-series",
|
||||
DeviceType::ZotacGamingZone => "zotac-gaming-zone",
|
||||
_ => return Ok(None),
|
||||
};
|
||||
let config = read_to_string(format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue