]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video: fsl-diu-fb: add hardware cursor support
authorTimur Tabi <timur@tabi.org>
Sat, 30 Mar 2013 00:36:00 +0000 (02:36 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Apr 2013 12:03:32 +0000 (15:03 +0300)
commit17d75e64303227192f715eeb218c2dd04e0cf50a
treefac466c1472dc4c54abb3225cad7a12e7f99b338
parent55e5f223edcc23acff16abd7b6cbce1b5e0297f5
drivers/video: fsl-diu-fb: add hardware cursor support

The Freescale DIU supports a 32x32 color hardware cursor.  Framebuffer
cursors are monochrome, so the driver converts the image data to the
format that the DIU expects and then programs to hardware accordingly.

The support cursor enabling/disabling, we provide two cursor image buffers.
One is always blank (all zeroes), and the other contains the real cursor
image data.  To disable the cursor (used typically for cursor blinking),
we just tell the hardware to use the blank cursor data.

Signed-off-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fsl-diu-fb.c