fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
stable inclusion from stable-v5.10.154 commit ec54104febdcf4342cac8d718f16202484c6bf2b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I64YCB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ec54104febdcf4342cac8d718f16202484c6bf2b -------------------------------- [ Upstream commit 776d875f ] 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> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Lipeng Sang <sanglipeng1@jd.com>
Loading
Please sign in to comment