[GIT PULL] fbdev updates & fixes for v5.19-rc6

Helge Deller deller at gmx.de
Fri Jul 8 07:38:00 UTC 2022


The following changes since commit 88084a3df1672e131ddc1b4e39eeacfd39864acf:

  Linux 5.19-rc5 (2022-07-03 15:39:28 -0700)

are available in the Git repository at:

  http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git tags/for-5.19/fbdev-3

for you to fetch changes up to 53a6e66b1b4fea4b52f8bc62e5f9530af9061027:

  fbcon: Use fbcon_info_from_console() in fbcon_modechange_possible() (2022-07-07 10:52:35 +0200)

----------------------------------------------------------------
fbdev fixes and updates for kernel v5.19-rc6:

fbcon now prevents switching to screen resolutions which are smaller
than the font size, and prevents enabling a font which is bigger than
the current screen resolution. This fixes vmalloc-out-of-bounds accesses
found by KASAN.

Guiling Deng fixed a bug where the centered fbdev logo wasn't displayed
correctly if the screen size matched the logo size.

Hsin-Yi Wang provided a patch to include errno.h to fix build when
CONFIG_OF isn't enabled.

----------------------------------------------------------------
Guiling Deng (1):
      fbdev: fbmem: Fix logo center image dx issue

Helge Deller (4):
      fbcon: Disallow setting font bigger than screen size
      fbcon: Prevent that screen size is smaller than font size
      fbmem: Check virtual screen sizes in fb_set_var()
      fbcon: Use fbcon_info_from_console() in fbcon_modechange_possible()

Hsin-Yi Wang (1):
      video: of_display_timing.h: include errno.h

 drivers/video/fbdev/core/fbcon.c  | 33 +++++++++++++++++++++++++++++++++
 drivers/video/fbdev/core/fbmem.c  | 16 ++++++++++++++--
 include/linux/fbcon.h             |  4 ++++
 include/video/of_display_timing.h |  2 ++
 4 files changed, 53 insertions(+), 2 deletions(-)


More information about the dri-devel mailing list