]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
authorHelge Deller <deller@gmx.de>
Thu, 16 Mar 2023 10:38:19 +0000 (11:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:34:03 +0000 (13:34 +0100)
commitc9b36b85acae84db22813690864dfc7510b22108
tree9f0adadfa6699ef5d28adfecac5fc8b79a360f4b
parent23e33bba6a22ccde2dc00a1f84b956b76f96592b
fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks

commit 5148ee466a813487d3335116ab98d9b5cf98cf96 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>
drivers/video/fbdev/stifb.c