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

commit 203873a535 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: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Helge Deller 2023-03-16 11:38:19 +01:00 • committed by Greg Kroah-Hartman
commit 180f612470