From: Antonino A. Daplas Date: Mon, 26 Jun 2006 07:26:31 +0000 (-0700) Subject: [PATCH] atyfb: Fix hardware cursor handling X-Git-Tag: v2.6.18-rc1~718 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c24cc51aef31219f2e258b4dcb68e09399e040;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed