Fixing dumb mistakes that I should have thought of.

This commit is contained in:
Lightos1 committed 2025-09-30 22:43:55 +02:00
1 parent 17646f5bfd
commit 4eb491ee41
3 files changed
+11 -5

No files matched your search

@@ -160,7 +160,7 @@
}
void MemMtcTableAutoAdjust(EristaMtcTable *table) {
if (C.mtcConf != AUTO_ADJ)
if (C.mtcConfErista != AUTO_ADJ)
return;
#define WRITE_PARAM_ALL_REG(TABLE, PARAM, VALUE) \
@@ -227,7 +227,7 @@ Result GpuVmax(u32 *ptr)
* you'd better calculate timings yourself rather than relying on following algorithm.
*/
if (C.mtcConf != AUTO_ADJ_ALL)
if (C.mtcConfMariko != AUTO_ADJ_ALL)
return;
// scale with linear interpolation
@@ -400,7 +400,7 @@ Result GpuVmax(u32 *ptr)
}
void MemMtcTableCustomAdjust(MarikoMtcTable* table) {
if (C.mtcConf != CUSTOM_ADJ_ALL)
if (C.mtcConfMariko != CUSTOM_ADJ_ALL)
return;
constexpr u32 MC_ARB_DIV = 4;