fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
authorHelge Deller <deller@gmx.de>
Fri, 14 Oct 2022 18:01:17 +0000 (20:01 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 18 Oct 2022 08:22:28 +0000 (10:22 +0200)
commit776d875fd4cbb3884860ea7f63c3958f02b0c80e
treed556f0b494f8b1dae5a62bc16f1f9bcc45029116
parent3c6174f9ffcb63ac8b54809c8043d7800b185bfb
fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards

When the text console is scrolling text upwards it calls the fillrect()
function to empty the new line. The current implementation doesn't seem
to work correctly on HCRX cards in 32-bit mode and leave garbage in that
line instead. Fix it by falling back to standard cfb_fillrect() in that
case.

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