I.MX6 HDMI support in v4.2

Philipp Zabel p.zabel at pengutronix.de
Thu Sep 17 00:21:56 PDT 2015


Am Donnerstag, den 10.09.2015, 11:49 +0100 schrieb Russell King - ARM
Linux:
> On Thu, Sep 10, 2015 at 12:25:32PM +0200, Krzysztof Hałasa wrote:
> > The Y plane is ok, but the Xv window is green, like on old monochrome
> > CRTs - what could that be? It looks like the UV planes are all wrong.
> 
> From a quick read of the imx-drm ipuv3-plane code, it looks like it
> doesn't bother with the U/V planes for planar images.  Nothing looks
> at fb->offsets[1,2] nor fb->pitches[1,2].  However, it claims to
> support DRM_FORMAT_YUV420 and DRM_FORMAT_YVU420 formats - which is
> wrong if it doesn't look at these other offsets and pitches.

The IDMAC has a few funny restrictions for multiplanar formats, and the
current code silently assumes that the U and V planes follow right after
Y.

I have a patch to enforce the same base address:
http://lists.freedesktop.org/archives/dri-devel/2015-August/089293.html
but it still doesn't check the offset/pitch limitations properly.

best regards
Philipp




More information about the linux-arm-kernel mailing list