]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: fbdev/stifb: Align graphics memory size to 4MB
authorHelge Deller <deller@gmx.de>
Fri, 14 Oct 2022 08:13:55 +0000 (10:13 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 14 Oct 2022 08:45:12 +0000 (10:45 +0200)
commitaca7c13d3bee81a968337a5515411409ae9d095d
tree092b9a88a62d0376f2fa4c83ffd30622f13998e0
parent027c3d345e2a1ea61d6e4506a250eb392e6e7b18
parisc: fbdev/stifb: Align graphics memory size to 4MB

Independend of the current graphics resolution, adjust the reported
graphics card memory size to the next 4MB boundary.
This fixes the fbtest program which expects a naturally aligned size.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org>
drivers/video/fbdev/stifb.c