]> 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>
Thu, 8 Jan 2026 09:14:44 +0000 (10:14 +0100)
commit77c8170a62f8a0612af27ac90a5b81663137f7f5
treeb0546f0a34aa45a6759e55c08d5d751dd555a5e4
parent1e1104eb8aa27768e02c7bc19afd59accf7cf23b
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