sysclk: add vmin calculation feature

This commit is contained in:
souldbminersmwc
2026-01-02 20:11:24 -05:00
parent 64508b9ec6
commit 06884494d5
8 changed files with 87 additions and 0 deletions

View File

@@ -214,6 +214,11 @@ Result IpcService::ServiceHandlerFunc(void* arg, const IpcServerRequest* r, u8*
return ipcSrv->UpdateEmcRegs();
}
break;
case HocClkIpcCmd_CalculateGpuVmin:
if (r->data.size >= 0) {
return ipcSrv->CalculateGPUVmin();
}
break;
}
return SYSCLK_ERROR(Generic);
@@ -387,3 +392,8 @@ Result IpcService::UpdateEmcRegs() {
return 0;
}
Result IpcService::CalculateGPUVmin() {
this->clockMgr->calculateGpuVmin();
return 0;
}