From 74b036de5de0481f9278f566a1c725b15832f803 Mon Sep 17 00:00:00 2001 From: Matthew Schwartz Date: Thu, 29 May 2025 12:31:36 -0700 Subject: [PATCH] platform: Add platform configuration for ZOTAC Gaming Zone --- data/platforms/zotac-gaming-zone.toml | 10 ++++++++++ src/platform.rs | 1 + 2 files changed, 11 insertions(+) create mode 100644 data/platforms/zotac-gaming-zone.toml diff --git a/data/platforms/zotac-gaming-zone.toml b/data/platforms/zotac-gaming-zone.toml new file mode 100644 index 0000000..c78ec54 --- /dev/null +++ b/data/platforms/zotac-gaming-zone.toml @@ -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" \ No newline at end of file diff --git a/src/platform.rs b/src/platform.rs index 851396c..ad24c78 100644 --- a/src/platform.rs +++ b/src/platform.rs @@ -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!(