]> 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)
commit0567e6d556292e3832c077eb713d8037538d2bce
treefac466c1472dc4c54abb3225cad7a12e7f99b338
parent4511507f650ef0d91004aa52a07391949e4147b4
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