--- linux-6.11/drivers/video/fbdev/impact.c.vanilla 2024-10-13 14:49:45.509974125 +0200 +++ linux-6.11/drivers/video/fbdev/impact.c 2024-10-13 15:03:35.306635436 +0200 @@ -415,7 +415,7 @@ par->kpool_phys[pool][i] = dma_handle; par->pool_txtbl[pool][i] = (dma_handle >> PAGE_SHIFT); } - flush_kernel_dcache_range(par->pool_txtbl[pool], (i * 4)); + /*flush_kernel_dcache_range(par->pool_txtbl[pool], (i * 4)); */ /* Finally, reattach the tbl to the card. */ impact_writetxtbl(info, pool); @@ -920,9 +920,8 @@ return -EINVAL; vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); - vma->vm_flags |= VM_IO; pfn = ((par->mmio_base + offset) >> PAGE_SHIFT); - ret = remap_pfn_range(vma, vma->vm_start, pfn, size, + ret = io_remap_pfn_range(vma, vma->vm_start, pfn, size, vma->vm_page_prot); if (unlikely(ret)) return -EAGAIN; --- linux-6.11/drivers/video/fbdev/odyssey.c.vanilla 2024-10-13 15:03:46.729968718 +0200 +++ linux-6.11/drivers/video/fbdev/odyssey.c 2024-10-13 15:04:04.049968600 +0200 @@ -751,10 +751,9 @@ return -EINVAL; vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); - vma->vm_flags |= VM_IO; offset += MMIO; - if (remap_pfn_range(vma, start, (offset >> PAGE_SHIFT), + if (io_remap_pfn_range(vma, start, (offset >> PAGE_SHIFT), size, vma->vm_page_prot)) return -EAGAIN;