OSDN Git Service

drm/ingenic: ipu: Remove YUV422 from supported formats on JZ4725B
authorPaul Cercueil <paul@crapouillou.net>
Thu, 30 Jul 2020 14:48:29 +0000 (16:48 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Thu, 30 Jul 2020 16:19:52 +0000 (18:19 +0200)
commitc0fd208ee3bc1020fd24cf986aec604374440ce4
treecd6dcc6d17bfe720b17d5f2c2858fe2e2195de94
parent3debcdf066e51fa771e128a18655f2712b1f82e9
drm/ingenic: ipu: Remove YUV422 from supported formats on JZ4725B

When configuring the IPU for packed YUV 4:2:2, depending on the scaling
ratios given by the source and destination resolutions, it is possible
to crash the IPU block, to the point where a software reset of the IP
does not fix it. This can happen anytime, in the first few frames, or
after dozens of minutes. The same crash also happens when the IPU is
fully controlled by the LCD controller (in that case no HW register is
written at any moment after startup), which points towards a hardware
bug.

Thanksfully multiplanar YUV is not affected.

Until this bug is fixed or worked around, address this issue by removing
support for YUV 4:2:2 on the IPU of the JZ4725B.

v2: Update commit message (remove the "crash beyond repair" bit)

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200730144830.10479-3-paul@crapouillou.net
drivers/gpu/drm/ingenic/ingenic-ipu.c