diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-06-26 11:26:31 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 20:58:29 +0400 |
commit | 72c24cc51aef31219f2e258b4dcb68e09399e040 (patch) | |
tree | 22744106aeeef6f10abf45b34e2a5c3e5da8cb09 /drivers/video/aty/aty128fb.c | |
parent | 8eec4981080dc9dcf8fd5931a947c6f066ee0be6 (diff) | |
download | linux-72c24cc51aef31219f2e258b4dcb68e09399e040.tar.xz |
[PATCH] atyfb: Fix hardware cursor handling
Fix image and color handling in atyfb_cursor()
- In the 2-bit scheme of the cursor image, just set the first bit to be
always zero (turn off transparency and/or XOR), and just do the masking
manually
- The cursor color is converted into 32-bit RGBA8888 using struct fb_cmap.
Each component in the cmap is u16 in size, so mask the upper 8 bits.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/aty/aty128fb.c')
0 files changed, 0 insertions, 0 deletions