]> git.baikalelectronics.ru Git - kernel.git/commit
fbmem: Check virtual screen sizes in fb_set_var()
authorHelge Deller <deller@gmx.de>
Wed, 29 Jun 2022 13:53:55 +0000 (15:53 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 7 Jul 2022 08:52:21 +0000 (10:52 +0200)
commit418007162d21d0f5dbdf1b3d568253501173de75
treecfffe612addc6988e362bdb639c56e384a092718
parent03f76012e2e2c760d7cb7bd2d93b20ea5729b174
fbmem: Check virtual screen sizes in fb_set_var()

Verify that the fbdev or drm driver correctly adjusted the virtual
screen sizes. On failure report the failing driver and reject the screen
size change.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: stable@vger.kernel.org # v5.4+
drivers/video/fbdev/core/fbmem.c