]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbdev: tcx.c fix mem_map to correct smem_start offset
authorRené Rebe <rene@exactco.de>
Thu, 20 Nov 2025 13:24:00 +0000 (14:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:11:58 +0000 (13:11 +0100)
commit5073a633ab29b4b8e08e663ef15e1efa006fbadd
tree907a61bbaa559b6d2c684fbd44a67612983597aa
parente40683bf1d723661500e567d1c9495286a47a122
fbdev: tcx.c fix mem_map to correct smem_start offset

commit 35fa2b4bf96415b88d7edaa5cf8af5185d9ce76e upstream.

403ae52ac047 ("sparc: fix drivers/video/tcx.c warning") changed the
physbase initializing breaking the user-space mmap, e.g. for Xorg
entirely.

Fix fbdev mmap table so the sbus mmap helper work correctly, and
not try to map vastly (physbase) offset memory.

Fixes: 403ae52ac047 ("sparc: fix drivers/video/tcx.c warning")
Cc: <stable@vger.kernel.org>
Signed-off-by: René Rebe <rene@exactco.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/fbdev/tcx.c