[GIT PULL] fbdev updates for v6.15-rc1

From: Helge Deller
Date: Thu Mar 27 2025 - 14:03:50 EST


Hi Linus,

please pull some updates regarding fbdev for 6.15-rc1:

The fbcon packed pixel drawing routines have been refactored to bring the
implementations for system and I/O memory in sync. The other patches add some
parameter checks, static attribute groups for sysfs entries and console fixes.

Thanks,
Helge

----------------------------------------------------------------
The following changes since commit f6e0150b2003fb2b9265028a618aa1732b3edc8f:

Merge tag 'mtd/for-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux (2025-03-26 10:28:36 -0700)

are available in the Git repository at:

http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git tags/fbdev-for-6.15-rc1

for you to fetch changes up to 86d16cd12efa547ed43d16ba7a782c1251c80ea8:

fbdev: fsl-diu-fb: add missing device_remove_file() (2025-03-26 22:39:21 +0100)

----------------------------------------------------------------
fbdev fixes and updates for 6.15-rc1:

This includes a major refactoring of the fbcon packed pixel drawing routines,
contributed by Zsolt Kajtar. The original version duplicated more or less the
same algorithms for both system and i/o memory. The new implementation is more
robust, both implementations are now feature complete (e.g. pixel order
reversing now supported by both), behaves the same way as it uses the identical
code for both variants and adds support for foreign endian framebuffers.

The other fixes and cleanups are:
- dummycon: only build module if there are users and fix rows/cols (Arnd Bergmann)
- mdacon: rework dependency list (Arnd Bergmann)
- lcdcfb, fsl-diu-fb, fbcon: Fix registering and removing of sysfs (Shixiong Ou)
- sm501fb: Add some geometry checks (Danila Chernetsov)
- omapfb: Remove unused code, add value checks (Leonid Arapov)
- au1100fb: Clean up variable assignment (Markus Elfring)
- pxafb: use devm_kmemdup*() (Raag Jadav)

----------------------------------------------------------------
Arnd Bergmann (3):
dummycon: only build module if there are users
dummycon: fix default rows/cols
mdacon: rework dependency list

Danila Chernetsov (1):
fbdev: sm501fb: Add some geometry checks.

Leonid Arapov (2):
fbdev: omapfb: Remove writeback deadcode
fbdev: omapfb: Add 'plane' value check

Markus Elfring (1):
fbdev: au1100fb: Move a variable assignment behind a null pointer check

Raag Jadav (1):
fbdev: pxafb: use devm_kmemdup*()

Shixiong Ou (4):
fbdev: lcdcfb: Register sysfs groups through driver core
fbdev: Register sysfs groups through device_add_group
fbcon: Use static attribute groups for sysfs entries
fbdev: fsl-diu-fb: add missing device_remove_file()

Zsolt Kajtar (6):
fbdev: core: tileblit: Implement missing margin clearing for tileblit
fbcon: Use correct erase colour for clearing in fbcon
fbdev: mach64_cursor: Remove fb_draw.h includes
fbdev: wmt_ge_rops: Remove fb_draw.h includes
fbdev: Refactoring the fbcon packed pixel drawing routines
MAINTAINERS: Add contact info for fbdev packed pixel drawing

MAINTAINERS | 16 +
drivers/video/console/Kconfig | 9 +-
drivers/video/fbdev/aty/mach64_cursor.c | 7 +-
drivers/video/fbdev/au1100fb.c | 4 +-
drivers/video/fbdev/core/Kconfig | 10 +-
drivers/video/fbdev/core/bitblit.c | 5 +-
drivers/video/fbdev/core/cfbcopyarea.c | 428 +----------------------
drivers/video/fbdev/core/cfbfillrect.c | 362 +-------------------
drivers/video/fbdev/core/cfbimgblt.c | 357 +------------------
drivers/video/fbdev/core/cfbmem.h | 43 +++
drivers/video/fbdev/core/fb_copyarea.h | 405 ++++++++++++++++++++++
drivers/video/fbdev/core/fb_draw.h | 274 +++++++--------
drivers/video/fbdev/core/fb_fillrect.h | 280 +++++++++++++++
drivers/video/fbdev/core/fb_imageblit.h | 495 +++++++++++++++++++++++++++
drivers/video/fbdev/core/fbcon.c | 79 ++---
drivers/video/fbdev/core/fbcon.h | 38 +-
drivers/video/fbdev/core/fbcon_ccw.c | 5 +-
drivers/video/fbdev/core/fbcon_cw.c | 5 +-
drivers/video/fbdev/core/fbcon_ud.c | 5 +-
drivers/video/fbdev/core/fbsysfs.c | 69 ++--
drivers/video/fbdev/core/syscopyarea.c | 369 +-------------------
drivers/video/fbdev/core/sysfillrect.c | 324 +-----------------
drivers/video/fbdev/core/sysimgblt.c | 333 +-----------------
drivers/video/fbdev/core/sysmem.h | 39 +++
drivers/video/fbdev/core/tileblit.c | 45 ++-
drivers/video/fbdev/fsl-diu-fb.c | 1 +
drivers/video/fbdev/omap2/omapfb/dss/dispc.c | 15 +-
drivers/video/fbdev/pxafb.c | 23 +-
drivers/video/fbdev/sh_mobile_lcdcfb.c | 29 +-
drivers/video/fbdev/sm501fb.c | 7 +
drivers/video/fbdev/wmt_ge_rops.c | 30 +-
31 files changed, 1670 insertions(+), 2441 deletions(-)
create mode 100644 drivers/video/fbdev/core/cfbmem.h
create mode 100644 drivers/video/fbdev/core/fb_copyarea.h
create mode 100644 drivers/video/fbdev/core/fb_fillrect.h
create mode 100644 drivers/video/fbdev/core/fb_imageblit.h
create mode 100644 drivers/video/fbdev/core/sysmem.h