Feat: make nvidia dGPU tunables power-profile dependant

This commit is contained in:
Denis Benato
2025-11-06 14:26:03 +01:00
parent 34699a7021
commit 6ae3ae5284
7 changed files with 206 additions and 9 deletions

View File

@@ -100,6 +100,23 @@ impl Bios {
pub fn set_panel_od(&self, _b: bool) -> Result<()> {
Ok(())
}
// Mock NV/dGPU tunables
pub fn nv_dynamic_boost(&self) -> Result<i16> {
Ok(0)
}
pub fn set_nv_dynamic_boost(&self, _v: i16) -> Result<()> {
Ok(())
}
pub fn nv_temp_target(&self) -> Result<i16> {
Ok(0)
}
pub fn set_nv_temp_target(&self, _v: i16) -> Result<()> {
Ok(())
}
}
pub struct Profile;