version 1.5
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define CUST_REV 6
|
#define CUST_REV 7
|
||||||
|
|
||||||
#include "oc_common.hpp"
|
#include "oc_common.hpp"
|
||||||
#include "pcv/pcv_common.hpp"
|
#include "pcv/pcv_common.hpp"
|
||||||
@@ -27,8 +27,9 @@ namespace ams::ldr::oc {
|
|||||||
|
|
||||||
enum MtcConfig: u32 {
|
enum MtcConfig: u32 {
|
||||||
AUTO_ADJ_SAFE_MARIKO = 0,
|
AUTO_ADJ_SAFE_MARIKO = 0,
|
||||||
NO_ADJ_ALL = 1,
|
CUSTOM_ADJ_MARIKO = 1,
|
||||||
CUSTOM_ADJ_MARIKO = 2,
|
NO_ADJ_ALL = 2,
|
||||||
|
|
||||||
CUSTOMIZED_ALL = 4,
|
CUSTOMIZED_ALL = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -57,9 +57,9 @@ Result MemFreqMtcTable(u32* ptr) {
|
|||||||
PATCH_OFFSET(ptr, C.eristaEmcMaxClock);
|
PATCH_OFFSET(ptr, C.eristaEmcMaxClock);
|
||||||
|
|
||||||
// Handle customize table replacement
|
// Handle customize table replacement
|
||||||
if (C.mtcConf == CUSTOMIZED_ALL) {
|
//if (C.mtcConf == CUSTOMIZED_ALL) {
|
||||||
MemMtcCustomizeTable(table_list[0], const_cast<EristaMtcTable *>(C.eristaMtcTable));
|
// MemMtcCustomizeTable(table_list[0], const_cast<EristaMtcTable *>(C.eristaMtcTable));
|
||||||
}
|
//}
|
||||||
|
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ static_assert(sizeof(cvb_entry_t) == 0x38);
|
|||||||
using CustomizeCpuDvfsTable = cvb_entry_t[FREQ_TABLE_MAX_ENTRY_COUNT];
|
using CustomizeCpuDvfsTable = cvb_entry_t[FREQ_TABLE_MAX_ENTRY_COUNT];
|
||||||
using CustomizeGpuDvfsTable = 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 {
|
typedef struct CustTable {
|
||||||
u8 cust[4] = {'C', 'U', 'S', 'T'};
|
u8 cust[4] = {'C', 'U', 'S', 'T'};
|
||||||
|
|||||||
2
pages/dist/main.js
vendored
2
pages/dist/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
|||||||
/* Config: Cust */
|
/* Config: Cust */
|
||||||
const CUST_REV = 4;
|
const CUST_REV = 4;
|
||||||
const CUST_REV_ADV = 6;
|
const CUST_REV_ADV = 7;
|
||||||
|
|
||||||
enum CustPlatform {
|
enum CustPlatform {
|
||||||
Undefined = 0,
|
Undefined = 0,
|
||||||
@@ -163,8 +163,8 @@ var CustTable: Array<CustEntry> = [
|
|||||||
CustPlatform.Mariko,
|
CustPlatform.Mariko,
|
||||||
4,
|
4,
|
||||||
["<b>0</b>: AUTO_ADJ_SAFE_MARIKO: Auto adjust timings for LPDDR4 ≤3733 Mbps specs, 8Gb density. (Default)",
|
["<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>1</b>: CUSTOM_ADJ_MARIKO: Basically same as NO_ADJ_ALL, with core timing adjustments (Use advanced config)",
|
||||||
"<b>2</b>: CUSTOM_ADJ_MARIKO: Basically same as NO_ADJ_ALL, with only 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,
|
||||||
[0, 2],
|
[0, 2],
|
||||||
1
|
1
|
||||||
|
|||||||
Reference in New Issue
Block a user