On 05/30/2012 03:43 PM, Sascha Hauer wrote:
Hi Laurent,
On Wed, May 30, 2012 at 02:32:59PM +0200, Laurent Pinchart wrote:
The SH Mobile LCD controller (LCDC) DRM driver supports the main graphics plane in RGB and YUV formats, as well as the overlay planes (in alpha-blending mode only).
Only flat panel outputs using the parallel interface are supported. Support for SYS panels, HDMI and DSI is currently not implemented.
Have you seen
http://lists.freedesktop.org/archives/dri-devel/2012-May/023536.html
and
http://lists.freedesktop.org/archives/dri-devel/2012-May/023544.html
The first patch is a generic gem helper for dma_alloc_* backed memory which could serve as a drop in replacement for your gem code. The latter is a generic helper for the framebuffer handling on these devices. I saw that your driver supports planes which Lars' patch currently doesn't, but it should be easy to add support for this.
Yup, just added plane support, will repost the patch in a moment.
- Lars