Lines 136-141
static void panfrost_mmu_enable(struct panfrost_device *pfdev, struct panfrost_m
Link Here
|
136 |
/* Need to revisit mem attrs. |
136 |
/* Need to revisit mem attrs. |
137 |
* NC is the default, Mali driver is inner WT. |
137 |
* NC is the default, Mali driver is inner WT. |
138 |
*/ |
138 |
*/ |
|
|
139 |
if (panfrost_model_eq(pfdev, 0x620)) { |
140 |
memattr &= ~0xf0f0f0ULL; |
141 |
memattr |= 0x404040; |
142 |
} |
139 |
mmu_write(pfdev, AS_MEMATTR_LO(as_nr), lower_32_bits(memattr)); |
143 |
mmu_write(pfdev, AS_MEMATTR_LO(as_nr), lower_32_bits(memattr)); |
140 |
mmu_write(pfdev, AS_MEMATTR_HI(as_nr), upper_32_bits(memattr)); |
144 |
mmu_write(pfdev, AS_MEMATTR_HI(as_nr), upper_32_bits(memattr)); |
141 |
|
145 |
|