drm/imx: ipuv3-plane: Add more thorough checks for plane parameter limitations
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 23 Feb 2016 09:22:51 +0000 (10:22 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 31 Mar 2016 09:23:31 +0000 (11:23 +0200)
commit67ca6b60a72aa940f1db41268f8530e19a7525fd
treeb16e8d975548119d9f732d685bc93164700bc631
parent90195c3651800f9a7c14956f90c2b4eb0bc8f1fb
drm/imx: ipuv3-plane: Add more thorough checks for plane parameter limitations

The IPU addresses multiplanar formats using a base address and relative
offsets for the secondary planes. Since those offsets must be positive
and not too large, and none of the plane parameters except the base address
may be changed while scanout is active, store the pitches and u/v offsets
and check all values against IDMAC limitations.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c
drivers/gpu/drm/imx/ipuv3-plane.h
This page took 0.028044 seconds and 5 git commands to generate.