]> 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:28:09 +0000 (13:28 +0100)
commit93b4a97d4e787b7565b0be991063af77e738df21
tree3fb4d15d1f73278453893e60da7c1032e5d069db
parente8cceb5456696763ed73378416ad74fad9e68846
fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks

commit 203873a535d627c668f293be0cb73e26c30f9cc7 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