loader: fix mariko cpu unsafe freqs
This commit is contained in:
@@ -422,14 +422,14 @@ volatile CustomizeTable C = {
|
||||
},
|
||||
|
||||
.marikoCpuDvfsTableUnsafeFreqs = {
|
||||
{ 204000, { 732856, -17335, 113 }, { 1120000 } },
|
||||
{ 306000, { 760024, -18195, 113 }, { 1120000 } },
|
||||
{ 408000, { 789258, -19055, 113 }, { 1120000 } },
|
||||
{ 510000, { 789258, -19055, 113 }, { 1120000 } },
|
||||
{ 612000, { 853926, -20775, 113 }, { 1120000 } },
|
||||
{ 714000, { 889361, -21625, 113 }, { 1120000 } },
|
||||
{ 816000, { 926862, -22485, 113 }, { 1120000 } },
|
||||
{ 918000, { 966431, -23345, 113 }, { 1120000 } },
|
||||
// { 204000, { 732856, -17335, 113 }, {} }, // Unneeded, made to make room for new freqs
|
||||
// { 306000, { 760024, -18195, 113 }, {} },
|
||||
{ 408000, { 789258, -19055, 113 }, {} },
|
||||
{ 510000, { 789258, -19055, 113 }, {} },
|
||||
{ 612000, { 853926, -20775, 113 }, {} },
|
||||
{ 714000, { 889361, -21625, 113 }, {} },
|
||||
{ 816000, { 926862, -22485, 113 }, {} },
|
||||
{ 918000, { 966431, -23345, 113 }, {} },
|
||||
{ 1020000, { 1008066, -24205, 113 }, { 1120000 } },
|
||||
{ 1122000, { 1051768, -25065, 113 }, { 1120000 } },
|
||||
{ 1224000, { 1097537, -25925, 113 }, { 1120000 } },
|
||||
@@ -447,10 +447,10 @@ volatile CustomizeTable C = {
|
||||
{ 2397000, { 1702903, -34955, 113 }, { 1235000 } },
|
||||
{ 2499000, { 1754400, -35643, 113 }, { 1235000 } },
|
||||
{ 2601000, { 1805897, -36331, 113 }, { 1235000 } },
|
||||
{ 2703000, { 1857394, -37019, 113 }, { 1235000 } },
|
||||
{ 2703000, { 1857394, -37019, 113 }, { 1235000 } },
|
||||
{ 2805000, { 1908891, -37707, 113 }, { 1235000 } },
|
||||
{ 2907000, { 1960388, -38395, 113 }, { 1235000 } },
|
||||
},
|
||||
},
|
||||
.eristaCpuDvfsTableUnsafeFreqs = {
|
||||
{ 204000, { 721094 }, {} },
|
||||
{ 306000, { 754040 }, {} },
|
||||
|
||||
@@ -76,6 +76,7 @@ Result Test_PcvDvfsTable() {
|
||||
cvb_entry_t last_mariko_cpu_cvb_entry_default = { 1963500, { 1675751, -38635, 27 }, { 1120000 } };
|
||||
assert(memcmp(GetDvfsTableLastEntry((cvb_entry_t *)(&mariko::CpuCvbTableDefault)), (void *)&last_mariko_cpu_cvb_entry_default, sizeof(last_mariko_cpu_cvb_entry_default)) == 0);
|
||||
assert(GetDvfsTableLastEntry((cvb_entry_t *)(&erista::GpuCvbTableDefault))->freq == 921600);
|
||||
assert(GetDvfsTableEntryCount((cvb_entry_t *)(&ams::ldr::oc::C.marikoCpuDvfsTableSLT)) == 25);
|
||||
|
||||
// Customized table default
|
||||
assert(GetDvfsTableEntryCount((cvb_entry_t *)(&ams::ldr::oc::C.eristaCpuDvfsTable)) == 19);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user