]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers/video/fbdev: use ioremap_wc/wt() instead of __ioremap()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 9 Oct 2018 13:51:35 +0000 (13:51 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 13 Oct 2018 12:52:45 +0000 (23:52 +1100)
commite04e39507c3c3da9cba31ee2e52f51b10b6350d0
treee7c5be2f8aec258a77758250ded7373ee1dc19db
parent86c391bd5f47101acf1f3e0abd9fe0616ae2a4fb
drivers/video/fbdev: use ioremap_wc/wt() instead of __ioremap()

_PAGE_NO_CACHE is a platform specific flag. In addition, this flag
is misleading because one would think it requests a noncached page
whereas a noncached page is _PAGE_NO_CACHE | _PAGE_GUARDED

_PAGE_NO_CACHE alone means write combined noncached page, so lets
use ioremap_wc() instead.

_PAGE_WRITETHRU is also platform specific flag. Use ioremap_wt()
instead.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/video/fbdev/chipsfb.c
drivers/video/fbdev/controlfb.c
drivers/video/fbdev/platinumfb.c
drivers/video/fbdev/valkyriefb.c