move GpuClkOsLimit to common

This commit is contained in:
Lightos1
2026-04-08 22:15:52 +02:00
parent ca8bb25660
commit 07dd65eebf
2 changed files with 1 additions and 3 deletions

View File

@@ -82,7 +82,6 @@ namespace ams::ldr::hoc::pcv {
{ },
};
constexpr u32 GpuOsLimit = 921'600;
constexpr u32 GpuClkPllMax = 1300'000'000;
constexpr u32 GpuClkPllLimit = 2'600'000;
constexpr u32 GpuVminOfficial = 610;
@@ -187,7 +186,6 @@ namespace ams::ldr::hoc::pcv {
static const u32 cpuVoltageThermalPattern[] = { 950, 1132, 0, 950, 1227, 0, 825, 1227, 15000, 825, 1170, 60000, 825, 1132, 80000 };
static_assert(sizeof(cpuVoltageThermalPattern) == 0x3c, "invalid cpuVoltageThermalPattern size");
constexpr u32 GpuOsLimit = 921'600;
constexpr u32 GpuClkPllLimit = 2'600'000;
constexpr u32 GpuClkPllMax = 921'600'000;
constexpr u32 GpuVminOfficial = 810;

View File

@@ -119,7 +119,7 @@ namespace ams::ldr::hoc::pcv {
static_assert(sizeof(regulator) == 0x120);
constexpr u32 CpuClkOSLimit = 1785'000;
constexpr u32 GpuOsLimit = 921'600;
constexpr u32 EmcClkOSLimit = 1600'000;
#define R_SKIP() R_SUCCEED()