diff options
author | Zsolt Kajtar <soci@c64.rulez.org> | 2025-03-10 07:57:45 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2025-03-26 22:39:20 +0100 |
commit | b8389cbe2dd9227f9a1fd63c7ea554efe37142fc (patch) | |
tree | 89670f5dada8d6988f0283a3e550ffef6dedf8c2 | |
parent | 5fc830d6aca18a27a83906c8c916d545a0235ed5 (diff) |
fbdev: mach64_cursor: Remove fb_draw.h includes
Remove dependency on fb_draw.h to allow fbcon packed pixel drawing refactoring.
Signed-off-by: Zsolt Kajtar <soci@c64.rulez.org>
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | drivers/video/fbdev/aty/mach64_cursor.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/fbdev/aty/mach64_cursor.c b/drivers/video/fbdev/aty/mach64_cursor.c index 971355c2cd7e..e826cb7dd55d 100644 --- a/drivers/video/fbdev/aty/mach64_cursor.c +++ b/drivers/video/fbdev/aty/mach64_cursor.c @@ -6,7 +6,6 @@ #include <linux/fb.h> #include <linux/init.h> #include <linux/string.h> -#include "../core/fb_draw.h" #include <asm/io.h> @@ -57,6 +56,12 @@ * definitation and CUR_VERT_POSN must be saturated to zero. */ +/* compose pixels based on mask */ +static inline unsigned long comp(unsigned long set, unsigned long unset, unsigned long mask) +{ + return ((set ^ unset) & mask) ^ unset; +} + /* * Hardware Cursor support. */ |