aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-06-26 00:26:31 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 09:58:29 -0700
commit72c24cc51aef31219f2e258b4dcb68e09399e040 (patch)
tree22744106aeeef6f10abf45b34e2a5c3e5da8cb09 /block
parent8eec4981080dc9dcf8fd5931a947c6f066ee0be6 (diff)
[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 'block')
0 files changed, 0 insertions, 0 deletions