loader: add static gpu table for mariko

This commit is contained in:
hanabbi
2023-07-04 11:30:34 +09:00
parent b391861750
commit 0b79b2060e
7 changed files with 58 additions and 3 deletions

View File

@@ -315,6 +315,9 @@ Result FileUtils::CustParser(const char* filepath, size_t filesize) {
case 2:
gpu_dvfs_table = &table.marikoGpuDvfsTableHiOPT;
break;
case 3:
gpu_dvfs_table = &table.marikoGpuStaticTable;
break;
default:
gpu_dvfs_table = &table.marikoGpuDvfsTable;
break;

View File

@@ -72,6 +72,7 @@ typedef struct CustTable {
CustomizeGpuDvfsTable marikoGpuDvfsTable;
CustomizeGpuDvfsTable marikoGpuDvfsTableSLT;
CustomizeGpuDvfsTable marikoGpuDvfsTableHiOPT;
CustomizeGpuDvfsTable marikoGpuStaticTable;
//void* eristaMtcTable;
//void* marikoMtcTable;
} CustTable;