Re: [PATCH 0/1] Refactoring of framebuffer drawing routines

From
Helge Deller <deller@gmx.de>
Date
2025-03-09 20:14:03
Also in
dri-devel
Reply to
Zsolt Kajtar, 2025-02-24
On 2/24/25 21:59, Zsolt Kajtar wrote:
Proper refactoring of the framebuffer drawing routines. This time it's
not only the merging of duplicated code. It isn't half finished either
so the various combinations of foreign endianness, pixel reversing, bits
per pixel, cpu word sizes and byte order should work.

Added myself to look after this code. Based on the time spent on proving
it I don't expect a busy inbox. Famous last words.

Zsolt Kajtar (1):
   Refactoring of framebuffer drawing routines

  MAINTAINERS                             |  16 +
  drivers/video/fbdev/core/Kconfig        |  10 +-
  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/syscopyarea.c  | 369 +-----------------
  drivers/video/fbdev/core/sysfillrect.c  | 324 +---------------
  drivers/video/fbdev/core/sysimgblt.c    | 333 +---------------
  drivers/video/fbdev/core/sysmem.h       |  39 ++
  14 files changed, 1480 insertions(+), 2255 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
I've applied that series to the fbdev git tree so that it gets some testing...

Helge
Thread (4 messages) 4 messages, 2 authors, last reply 2025-03-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help