mbox series

[0/2] media: imx-pxp: Fix operation on i.MX7

Message ID 20200510223100.11641-1-laurent.pinchart@ideasonboard.com (mailing list archive)
Headers show
Series media: imx-pxp: Fix operation on i.MX7 | expand

Message

Laurent Pinchart May 10, 2020, 10:30 p.m. UTC
The i.MX7 includes a PXP that is an evolution from the i.MX6 version. It
offers more processing block in its pipeline, and by default operates in
legacy mode for i.MX6 compatibility.

To enable the extra processing blocks, the i.MX7 PXP has two extra
registers to configure routing in the internal pipeline. The values
currently programmed in these registers don't match the blocks enabled
by the driver, which makes the PXP hang without producing any frame.

This patch series fixes the issue. Patch 1/2 fixes the routing
configuration, and patch 2/2 disables unused blocks and configures
routing accordingly. The first patch is enough to use the PXP on i.MX7,
but the second patch may offer additional power saving.

The patches have been tested on an i.MX7D. Philipp, would you be able to
give them a try on i.MX6 ?

Laurent Pinchart (2):
  media: imx-pxp: Fix routing configuration for i.MX7
  media: imx-pxp: Disable LUT and Rotation 0 blocks

 drivers/media/platform/imx-pxp.c | 37 ++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 16 deletions(-)