Tag: 4edcd2ab125506516c7de038f6e0a6d19dcc411d

drivers/video/fbdev/s3fb: Use arch_phys_wc_add() and pci_iomap_wc()

Author: Luis R. Rodriguez <mcgrof@suse.com> This driver uses the same area for MTRR as for the ioremap(). Convert the driver from using the x86-specific MTRR code to the architecture-agnostic arch_phys_wc_add(). It will avoid MTRRs if write-combining is available. In order to take advantage of that also ensure the ioremapped area is requested as write-combining. There …

Continue reading