Commit 45e3e0d6 authored by Helge Deller's avatar Helge Deller Committed by Lipeng Sang
Browse files

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: default avatarHelge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLipeng Sang <sanglipeng1@jd.com>
parent 927e02d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment