[PATCH RESEND 2/2] Adding contact info for packed pixel drawing

2025-03-11 Thread Zsolt Kajtar
Due to the nature of changes this is probably necessary. Even if these drawing routines got way more testing than my patch submission scripts. Signed-off-by: Zsolt Kajtar --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH] Remove fb_draw.h includes

2025-03-10 Thread Zsolt Kajtar
This is related to the fbcon packed pixel drawing refactoring. There I missed that fb_draw.h was included from two unexpected places. That shouldn't be like that. This patch removes the dependency. Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/aty/mach64_cursor.c | 7 +- dr

[PATCH RESEND 1/2] Refactoring the fbcon packed pixel drawing routines

2025-03-09 Thread Zsolt Kajtar
thout actually verifying it. While writing such routines isn't rocket science a lot of time was spent on making sure that pixel ordering, foreign byte order, various bits per pixels, cpu endianness and word size will give the expected result in all sorts of combinations without making it

[PATCH RESEND 0/2] Refactoring the fbcon packed pixel drawing routines

2025-03-09 Thread Zsolt Kajtar
This is the same patch as before just updated to latest fbdev master and with better description. And hopefully sent intact this time. Zsolt Kajtar (2): Refactoring the fbcon packed pixel drawing routines Adding contact info for packed pixel drawing MAINTAINERS

[PATCH 0/1] Refactoring of framebuffer drawing routines

2025-02-24 Thread Zsolt Kajtar
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/cor

[PATCH 1/1] Refactoring of framebuffer drawing routines

2025-02-24 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- 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

[PATCH RESEND 01/13] fbdev: core: Copy cfbcopyarea to fb_copyarea

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_copyarea.h | 439 + 1 file changed, 439 insertions(+) create mode 100644 drivers/video/fbdev/core/fb_copyarea.h diff --git a/drivers/video/fbdev/core/fb_copyarea.h b/drivers/video/fbdev/core/fb_copyarea.h new

[PATCH RESEND 12/13] fbdev: core: Use generic imageblit for as sys_imageblit

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/sysimgblt.c | 325 +-- 1 file changed, 8 insertions(+), 317 deletions(-) diff --git a/drivers/video/fbdev/core/sysimgblt.c b/drivers/video/fbdev/core/sysimgblt.c index 6949bbd51..6e60e3486 100644 --- a/drivers

[PATCH RESEND 08/13] fbdev: core: Use generic fillrect for as sys_fillrect

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/sysfillrect.c | 314 + 1 file changed, 9 insertions(+), 305 deletions(-) diff --git a/drivers/video/fbdev/core/sysfillrect.c b/drivers/video/fbdev/core/sysfillrect.c index e49221a88..48d0f0efb 100644 --- a/drivers

[PATCH RESEND 03/13] fbdev: core: Use generic copyarea for as cfb_copyarea

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/cfbcopyarea.c | 426 + 1 file changed, 10 insertions(+), 416 deletions(-) diff --git a/drivers/video/fbdev/core/cfbcopyarea.c b/drivers/video/fbdev/core/cfbcopyarea.c index a271f57d9..ba0ebd115 100644 --- a

[PATCH RESEND 04/13] fbdev: core: Use generic copyarea for as sys_copyarea

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/syscopyarea.c | 357 + 1 file changed, 8 insertions(+), 349 deletions(-) diff --git a/drivers/video/fbdev/core/syscopyarea.c b/drivers/video/fbdev/core/syscopyarea.c index 75e7001e8..124831eed 100644 --- a/drivers

[PATCH RESEND 10/13] fbdev: core: Make fb_imageblit generic

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_imageblit.h | 52 ++--- 1 file changed, 20 insertions(+), 32 deletions(-) diff --git a/drivers/video/fbdev/core/fb_imageblit.h b/drivers/video/fbdev/core/fb_imageblit.h index 129822b6f..b8cd5eb83 100644 --- a

[PATCH 12/13] fbdev: core: Use generic imageblit for as sys_imageblit

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Use generic imageblit for as sys_imageblit Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/sysimgblt.c | 325 +-- 1 file changed, 8 insertions(+), 317 deletions(-) diff --git a/drivers/video/fbdev/core/sysimgblt.c b/drivers/video/fbdev/core

[PATCH RESEND 00/13] fbdev: core: Deduplicate cfb/sys drawing fbops

2025-02-07 Thread Zsolt Kajtar
were moved to header files. These are now included in both cfb and sys modules. The memory access and other minor differences were handled with a few macros. The last patch adds a separate config option for the system version. Zsolt Kajtar (13): fbdev: core: Copy cfbcopyarea to fb_copyarea f

[PATCH 03/13] fbdev: core: Use generic copyarea for as cfb_copyarea

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Use generic copyarea for as cfb_copyarea Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/cfbcopyarea.c | 426 + 1 file changed, 10 insertions(+), 416 deletions(-) diff --git a/drivers/video/fbdev/core/cfbcopyarea.c b/drivers/video/fbdev/core

[PATCH 08/13] fbdev: core: Use generic fillrect for as sys_fillrect

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Use generic fillrect for as sys_fillrect Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/sysfillrect.c | 314 + 1 file changed, 9 insertions(+), 305 deletions(-) diff --git a/drivers/video/fbdev/core/sysfillrect.c b/drivers/video/fbdev/core

[PATCH 10/13] fbdev: core: Make fb_imageblit generic

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Make fb_imageblit generic Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_imageblit.h | 52 ++--- 1 file changed, 20 insertions(+), 32 deletions(-) diff --git a/drivers/video/fbdev/core/fb_imageblit.h b/drivers/video/fbdev/core/fb_imageblit.h

[PATCH 11/13] fbdev: core: Use generic imageblit for as cfb_imageblit

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Use generic imageblit for as cfb_imageblit Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/cfbimgblt.c | 357 +-- 1 file changed, 8 insertions(+), 349 deletions(-) diff --git a/drivers/video/fbdev/core/cfbimgblt.c b/drivers/video/fbdev/core

[PATCH RESEND 06/13] fbdev: core: Make fb_fillrect generic

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_fillrect.h | 89 +++--- 1 file changed, 37 insertions(+), 52 deletions(-) diff --git a/drivers/video/fbdev/core/fb_fillrect.h b/drivers/video/fbdev/core/fb_fillrect.h index a3bef06ce..5f1123533 100644 --- a/drivers

[PATCH 00/13] Deduplicate cfb/sys drawing fbops

2025-02-07 Thread Zsolt Kajtar
sion) were moved to header files. These are now included in both cfb and sys modules. The memory access and other minor differences were handled with a few macros. The last patch adds a separate config option for the system version. Zsolt Kajtar (13): fbdev: core: Copy cfbcopyarea to fb_copyarea f

[PATCH RESEND 07/13] fbdev: core: Use generic fillrect for as cfb_fillrect

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/cfbfillrect.c | 362 + 1 file changed, 11 insertions(+), 351 deletions(-) diff --git a/drivers/video/fbdev/core/cfbfillrect.c b/drivers/video/fbdev/core/cfbfillrect.c index cbaa4c9e2..116d56de2 100644 --- a

[PATCH 06/13] fbdev: core: Make fb_fillrect generic

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Make fb_fillrect generic Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_fillrect.h | 89 +++--- 1 file changed, 37 insertions(+), 52 deletions(-) diff --git a/drivers/video/fbdev/core/fb_fillrect.h b/drivers/video/fbdev/core/fb_fillrect.h index

[PATCH RESEND 02/13] fbdev: core: Make fb_copyarea generic

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_copyarea.h | 144 +++-- 1 file changed, 63 insertions(+), 81 deletions(-) diff --git a/drivers/video/fbdev/core/fb_copyarea.h b/drivers/video/fbdev/core/fb_copyarea.h index f266de119..4d7b1acd5 100644 --- a/drivers

[PATCH 13/13] fbdev: core: Split CFB and SYS pixel reversing

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Split CFB and SYS pixel reversing configuration Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/Kconfig | 10 +- drivers/video/fbdev/core/cfbcopyarea.c | 1 + drivers/video/fbdev/core/cfbfillrect.c | 1 + drivers/video/fbdev/core/cfbimgblt.c | 1

[PATCH 02/13] fbdev: core: Make fb_copyarea generic

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Make fb_copyarea generic Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_copyarea.h | 144 +++-- 1 file changed, 63 insertions(+), 81 deletions(-) diff --git a/drivers/video/fbdev/core/fb_copyarea.h b/drivers/video/fbdev/core/fb_copyarea.h index

[PATCH RESEND 05/13] fbdev: core: Copy cfbfillrect to fb_fillrect

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_fillrect.h | 374 + 1 file changed, 374 insertions(+) create mode 100644 drivers/video/fbdev/core/fb_fillrect.h diff --git a/drivers/video/fbdev/core/fb_fillrect.h b/drivers/video/fbdev/core/fb_fillrect.h new

[PATCH 01/13] fbdev: core: Copy cfbcopyarea to fb_copyarea

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Copy cfbcopyarea to fb_copyarea Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_copyarea.h | 439 + 1 file changed, 439 insertions(+) create mode 100644 drivers/video/fbdev/core/fb_copyarea.h diff --git a/drivers/video/fbdev/core/fb_copyarea.h

[PATCH 09/13] fbdev: core: Copy cfbimgblt to fb_imageblit

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Copy cfbimgblt to fb_imageblit Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_imageblit.h | 368 1 file changed, 368 insertions(+) create mode 100644 drivers/video/fbdev/core/fb_imageblit.h diff --git a/drivers/video/fbdev/core

[PATCH 05/13] fbdev: core: Copy cfbfillrect to fb_fillrect

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Copy cfbfillrect to fb_fillrect Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_fillrect.h | 374 + 1 file changed, 374 insertions(+) create mode 100644 drivers/video/fbdev/core/fb_fillrect.h diff --git a/drivers/video/fbdev/core/fb_fillrect.h

[PATCH RESEND 09/13] fbdev: core: Copy cfbimgblt to fb_imageblit

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/fb_imageblit.h | 368 1 file changed, 368 insertions(+) create mode 100644 drivers/video/fbdev/core/fb_imageblit.h diff --git a/drivers/video/fbdev/core/fb_imageblit.h b/drivers/video/fbdev/core/fb_imageblit.h

[PATCH 07/13] fbdev: core: Use generic fillrect for as cfb_fillrect

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Use generic fillrect for as cfb_fillrect Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/cfbfillrect.c | 362 + 1 file changed, 11 insertions(+), 351 deletions(-) diff --git a/drivers/video/fbdev/core/cfbfillrect.c b/drivers/video/fbdev/core

[PATCH RESEND 11/13] fbdev: core: Use generic imageblit for as cfb_imageblit

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/cfbimgblt.c | 357 +-- 1 file changed, 8 insertions(+), 349 deletions(-) diff --git a/drivers/video/fbdev/core/cfbimgblt.c b/drivers/video/fbdev/core/cfbimgblt.c index 7d1d2f1a6..a5bb63913 100644 --- a/drivers

[PATCH 04/13] fbdev: core: Use generic copyarea for as sys_copyarea

2025-02-07 Thread Zsolt Kajtar
fbdev: core: Use generic copyarea for as sys_copyarea Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/syscopyarea.c | 357 + 1 file changed, 8 insertions(+), 349 deletions(-) diff --git a/drivers/video/fbdev/core/syscopyarea.c b/drivers/video/fbdev/core

[PATCH RESEND 13/13] fbdev: core: Split CFB and SYS pixel reversing configuration

2025-02-07 Thread Zsolt Kajtar
Signed-off-by: Zsolt Kajtar --- drivers/video/fbdev/core/Kconfig | 10 +- drivers/video/fbdev/core/cfbcopyarea.c | 1 + drivers/video/fbdev/core/cfbfillrect.c | 1 + drivers/video/fbdev/core/cfbimgblt.c | 1 + drivers/video/fbdev/core/fb_draw.h | 6 +++--- drivers/video