]> git.baikalelectronics.ru Git - kernel.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)
commit931b76fcccbb6086003143d4d8942c7e621e59c4
tree092b9a88a62d0376f2fa4c83ffd30622f13998e0
parent4dd32279bd5121c041abca1478963ea14ef13862
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