version 1.5

This commit is contained in:
hanabbi
2023-06-02 23:22:06 +09:00
parent a20c62d2e7
commit 42aa6ce164
5 changed files with 12 additions and 11 deletions

View File

@@ -16,7 +16,7 @@
#pragma once
#define CUST_REV 6
#define CUST_REV 7
#include "oc_common.hpp"
#include "pcv/pcv_common.hpp"
@@ -27,8 +27,9 @@ namespace ams::ldr::oc {
enum MtcConfig: u32 {
AUTO_ADJ_SAFE_MARIKO = 0,
NO_ADJ_ALL = 1,
CUSTOM_ADJ_MARIKO = 2,
CUSTOM_ADJ_MARIKO = 1,
NO_ADJ_ALL = 2,
CUSTOMIZED_ALL = 4,
};

View File

@@ -57,9 +57,9 @@ Result MemFreqMtcTable(u32* ptr) {
PATCH_OFFSET(ptr, C.eristaEmcMaxClock);
// Handle customize table replacement
if (C.mtcConf == CUSTOMIZED_ALL) {
MemMtcCustomizeTable(table_list[0], const_cast<EristaMtcTable *>(C.eristaMtcTable));
}
//if (C.mtcConf == CUSTOMIZED_ALL) {
// MemMtcCustomizeTable(table_list[0], const_cast<EristaMtcTable *>(C.eristaMtcTable));
//}
R_SUCCEED();
}

View File

@@ -43,7 +43,7 @@ static_assert(sizeof(cvb_entry_t) == 0x38);
using CustomizeCpuDvfsTable = cvb_entry_t[FREQ_TABLE_MAX_ENTRY_COUNT];
using CustomizeGpuDvfsTable = cvb_entry_t[FREQ_TABLE_MAX_ENTRY_COUNT];
constexpr uint32_t CUST_REV = 6;
constexpr uint32_t CUST_REV = 7;
typedef struct CustTable {
u8 cust[4] = {'C', 'U', 'S', 'T'};

2
pages/dist/main.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
/* Config: Cust */
const CUST_REV = 4;
const CUST_REV_ADV = 6;
const CUST_REV_ADV = 7;
enum CustPlatform {
Undefined = 0,
@@ -163,8 +163,8 @@ var CustTable: Array<CustEntry> = [
CustPlatform.Mariko,
4,
["<b>0</b>: AUTO_ADJ_SAFE_MARIKO: Auto adjust timings for LPDDR4 ≤3733 Mbps specs, 8Gb density. (Default)",
"<b>1</b>: NO_ADJ_ALL: No timing adjustment for both Erista and Mariko. Might achieve better performance on Mariko but lower maximum frequency is expected.",
"<b>2</b>: CUSTOM_ADJ_MARIKO: Basically same as NO_ADJ_ALL, with only core timing adjustments (Use advanced config)"],
"<b>1</b>: CUSTOM_ADJ_MARIKO: Basically same as NO_ADJ_ALL, with core timing adjustments (Use advanced config)",
"<b>2</b>: NO_ADJ_ALL: No timing adjustment for both Erista and Mariko. Might achieve better performance on Mariko but lower maximum frequency is expected."],
0,
[0, 2],
1