Commit 50076ffc authored by Helge Deller's avatar Helge Deller Committed by sanglipeng
Browse files

fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks

stable inclusion
from stable-v5.10.176
commit 38742635eda98fb5d3304d921cddaaa62d656814
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I87BGI

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=38742635eda98fb5d3304d921cddaaa62d656814



--------------------------------

commit 203873a5 upstream.

Find a valid modeline depending on the machine graphic card
configuration and add the fb_check_var() function to validate
Xorg provided graphics settings.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent cbd20c81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment