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)
committerHelge Deller <deller@gmx.de>
Thu, 16 Mar 2023 15:18:16 +0000 (16:18 +0100)
commit203873a535d627c668f293be0cb73e26c30f9cc7
tree19d4937a5e9b4678c5a3079b307cd8669b84dcc1
parente140980ef211d537833500377ae411c3f232b41d
fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks

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