]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited8f0e0ca75e308cc15e8f548c9ad6a9fb68ce16
treecd6dcc6d17bfe720b17d5f2c2858fe2e2195de94
parent9951fe7384c78b3b0901f91fc5ac453b8c0595bb
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