From 07dd65eebf84e8e2c7fe49c3a3fbd15d90289aa6 Mon Sep 17 00:00:00 2001 From: Lightos1 <124387232+Lightos1@users.noreply.github.com> Date: Wed, 8 Apr 2026 22:15:52 +0200 Subject: [PATCH] move GpuClkOsLimit to common --- Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp | 2 -- .../Atmosphere/stratosphere/loader/source/oc/pcv/pcv_common.hpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp index caa0e6c8..6b82fe10 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv.hpp @@ -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; diff --git a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_common.hpp b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_common.hpp index caa5cd99..a90e2eb1 100644 --- a/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_common.hpp +++ b/Source/Atmosphere/stratosphere/loader/source/oc/pcv/pcv_common.hpp @@ -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()