sysclk: removed unused vrr config option
This commit is contained in:
@@ -66,8 +66,6 @@ typedef enum {
|
|||||||
|
|
||||||
HorizonOCConfigValue_RAMVoltUsageDisplayMode,
|
HorizonOCConfigValue_RAMVoltUsageDisplayMode,
|
||||||
|
|
||||||
HorizonOCConfigValue_VRR,
|
|
||||||
|
|
||||||
KipConfigValue_custRev,
|
KipConfigValue_custRev,
|
||||||
// KipConfigValue_mtcConf,
|
// KipConfigValue_mtcConf,
|
||||||
KipConfigValue_hpMode,
|
KipConfigValue_hpMode,
|
||||||
@@ -252,9 +250,6 @@ static inline const char* sysclkFormatConfigValue(SysClkConfigValue val, bool pr
|
|||||||
case HorizonOCConfigValue_RAMVoltUsageDisplayMode:
|
case HorizonOCConfigValue_RAMVoltUsageDisplayMode:
|
||||||
return pretty ? "RAM Voltage / Usage Display Mode" : "ram_volt_usage_display_mode";
|
return pretty ? "RAM Voltage / Usage Display Mode" : "ram_volt_usage_display_mode";
|
||||||
|
|
||||||
case HorizonOCConfigValue_VRR:
|
|
||||||
return pretty ? "Variable Refresh Rate (VRR)" : "vrr";
|
|
||||||
|
|
||||||
// KIP config values
|
// KIP config values
|
||||||
case KipConfigValue_custRev:
|
case KipConfigValue_custRev:
|
||||||
return pretty ? "Custom Revision" : "kip_cust_rev";
|
return pretty ? "Custom Revision" : "kip_cust_rev";
|
||||||
@@ -435,7 +430,6 @@ static inline uint64_t sysclkDefaultConfigValue(SysClkConfigValue val)
|
|||||||
case HorizonOCConfigValue_GPUScheduling:
|
case HorizonOCConfigValue_GPUScheduling:
|
||||||
case HorizonOCConfigValue_LiveCpuUv:
|
case HorizonOCConfigValue_LiveCpuUv:
|
||||||
case HorizonOCConfigValue_GPUSchedulingMethod:
|
case HorizonOCConfigValue_GPUSchedulingMethod:
|
||||||
case HorizonOCConfigValue_VRR:
|
|
||||||
return 0ULL;
|
return 0ULL;
|
||||||
case HocClkConfigValue_EristaMaxCpuClock:
|
case HocClkConfigValue_EristaMaxCpuClock:
|
||||||
return 1785ULL;
|
return 1785ULL;
|
||||||
@@ -485,7 +479,6 @@ static inline uint64_t sysclkValidConfigValue(SysClkConfigValue val, uint64_t in
|
|||||||
case HorizonOCConfigValue_EnableExperimentalSettings:
|
case HorizonOCConfigValue_EnableExperimentalSettings:
|
||||||
case HorizonOCConfigValue_LiveCpuUv:
|
case HorizonOCConfigValue_LiveCpuUv:
|
||||||
case HorizonOCConfigValue_GPUSchedulingMethod:
|
case HorizonOCConfigValue_GPUSchedulingMethod:
|
||||||
case HorizonOCConfigValue_VRR:
|
|
||||||
return (input & 0x1) == input;
|
return (input & 0x1) == input;
|
||||||
|
|
||||||
case KipConfigValue_custRev:
|
case KipConfigValue_custRev:
|
||||||
|
|||||||
@@ -565,7 +565,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
void listUI() override {
|
void listUI() override {
|
||||||
addConfigToggle(HorizonOCConfigValue_OverwriteRefreshRate, nullptr);
|
addConfigToggle(HorizonOCConfigValue_OverwriteRefreshRate, nullptr);
|
||||||
addConfigToggle(HorizonOCConfigValue_VRR, nullptr);
|
|
||||||
tsl::elm::CustomDrawer* warningText = new tsl::elm::CustomDrawer([](tsl::gfx::Renderer *renderer, s32 x, s32 y, s32 w, s32 h) {
|
tsl::elm::CustomDrawer* warningText = new tsl::elm::CustomDrawer([](tsl::gfx::Renderer *renderer, s32 x, s32 y, s32 w, s32 h) {
|
||||||
renderer->drawString("\uE150 Enabling unsafe display", false, x + 20, y + 30, 18, tsl::style::color::ColorText);
|
renderer->drawString("\uE150 Enabling unsafe display", false, x + 20, y + 30, 18, tsl::style::color::ColorText);
|
||||||
renderer->drawString("refresh rates may cause stress", false, x + 20, y + 50, 18, tsl::style::color::ColorText);
|
renderer->drawString("refresh rates may cause stress", false, x + 20, y + 50, 18, tsl::style::color::ColorText);
|
||||||
|
|||||||
Reference in New Issue
Block a user