Tag: 04dc78b419b3aedb3a40fd0048e8cb4b7ba9d00c

video: fbdev: rivafb: use arch_phys_wc_add() and ioremap_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(). arch_phys_wc_add() will avoid MTRR if write-combining is available, in order to take advantage of that also ensure the ioremap’d area is requested as …

Continue reading