mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 06:33:03 +00:00
mcc: Actually enable the caches.
That was dumb. Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
00099452cb
commit
1d2b8f91f6
1 changed files with 0 additions and 3 deletions
|
@ -102,9 +102,6 @@ static int plane_poll32(int mcc, int plane, u64 offset, u32 mask, u32 target, u3
|
|||
|
||||
static void mcc_enable_cache(void)
|
||||
{
|
||||
if (!mcc_initialized)
|
||||
return;
|
||||
|
||||
for (int mcc = 0; mcc < mcc_count; mcc++) {
|
||||
for (int plane = 0; plane < mcc_regs[mcc].plane_count; plane++) {
|
||||
plane_write32(mcc, plane, PLANE_CACHE_ENABLE, mcc_regs[mcc].cache_ways);
|
||||
|
|
Loading…
Reference in a new issue