change PCI area cache mode to CACHE_NOCACHE_PRECISE
This commit is contained in:
@@ -595,8 +595,8 @@ void radeon_subsequent_scanline_cpu_to_screen_color_expand_fill_mmio(struct fb_i
|
||||
#else
|
||||
BEGIN_ACCEL(4);
|
||||
#endif
|
||||
OUT_ACCEL_REG(SC_TOP_LEFT, (y << 16) | ((x+skipleft) & 0xffff));
|
||||
OUT_ACCEL_REG(SC_BOTTOM_RIGHT, ((y+h) << 16) | ((x+w) & 0xffff));
|
||||
OUT_ACCEL_REG(SC_TOP_LEFT, (y << 16) | ((x + skipleft) & 0xffff));
|
||||
OUT_ACCEL_REG(SC_BOTTOM_RIGHT, ((y+h) << 16) | ((x + w) & 0xffff));
|
||||
OUT_ACCEL_REG(DST_Y_X, (y << 16) | (x & 0xffff));
|
||||
/* Have to pad the width here and use clipping engine */
|
||||
OUT_ACCEL_REG(DST_HEIGHT_WIDTH, (h << 16) | ((w + 31) & ~31));
|
||||
|
||||
@@ -297,7 +297,7 @@ int mmu_map_instruction_page(uint32_t virt, uint8_t asid)
|
||||
|
||||
struct mmu_page_descriptor_ram pci_descriptor =
|
||||
{
|
||||
.cache_mode = CACHE_COPYBACK,
|
||||
.cache_mode = CACHE_NOCACHE_PRECISE,
|
||||
.supervisor_protect = 0,
|
||||
.read = 1,
|
||||
.write = 1,
|
||||
@@ -327,7 +327,9 @@ int mmu_map_data_page(uint32_t virt, uint8_t asid)
|
||||
{
|
||||
phys = virt;
|
||||
page = &pci_descriptor;
|
||||
};
|
||||
}
|
||||
else
|
||||
return 0;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user