[PATCH 0/1] Refactoring of framebuffer drawing routines

Helge Deller deller at gmx.de
Sun Mar 9 20:13:51 UTC 2025


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


More information about the dri-devel mailing list