linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] media: imx-pxp: Fix operation on i.MX7
@ 2020-05-10 22:30 Laurent Pinchart
  2020-05-10 22:30 ` [PATCH 1/2] media: imx-pxp: Fix routing configuration for i.MX7 Laurent Pinchart
  2020-05-10 22:31 ` [PATCH 2/2] media: imx-pxp: Disable LUT and Rotation 0 blocks Laurent Pinchart
  0 siblings, 2 replies; 6+ messages in thread
From: Laurent Pinchart @ 2020-05-10 22:30 UTC (permalink / raw)
  To: linux-media; +Cc: linux-imx, kernel, Philipp Zabel

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(-)

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-18 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-10 22:30 [PATCH 0/2] media: imx-pxp: Fix operation on i.MX7 Laurent Pinchart
2020-05-10 22:30 ` [PATCH 1/2] media: imx-pxp: Fix routing configuration for i.MX7 Laurent Pinchart
2020-05-18 13:33   ` Philipp Zabel
2020-05-18 13:54     ` Laurent Pinchart
2020-05-18 15:22       ` Philipp Zabel
2020-05-10 22:31 ` [PATCH 2/2] media: imx-pxp: Disable LUT and Rotation 0 blocks Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).