]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbdev: gbefb: fix to use physical address instead of dma address
authorRene Rebe <rene@exactco.de>
Fri, 14 Nov 2025 15:00:42 +0000 (16:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:11:58 +0000 (13:11 +0100)
commit3af2cd4c749fce6aefe42d9347ce06721a73dc02
treec057efb4b027ca18e8948b4b3720d008d6d74825
parentd2070c4dd319dea63e727470eae32acdfbf3292c
fbdev: gbefb: fix to use physical address instead of dma address

commit e3f44742bbb10537fe53d83d20dea2a7c167674d upstream.

While debuggigng why X would not start on mips64 Sgi/O2 I found the
phys adress being off. Turns out the gbefb passed the internal
dma_addr as phys. May be broken pre git history. Fix by converting
dma_to_phys.

Signed-off-by: René Rebe <rene@exactco.de>
Cc: <stable@vger.kernel.org> # v4.0+
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/fbdev/gbefb.c