drm/ingenic: ipu: Only restart manually on older SoCs
authorPaul Cercueil <paul@crapouillou.net>
Thu, 30 Jul 2020 14:48:28 +0000 (16:48 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Thu, 30 Jul 2020 16:19:49 +0000 (18:19 +0200)
commit3debcdf066e51fa771e128a18655f2712b1f82e9
tree4c8377377ffcae78ed8e689f6d9f7fe0eb32bf5d
parentcfb9b89f116a076ff333d4d0dc4aa862079481ba
drm/ingenic: ipu: Only restart manually on older SoCs

On older SoCs, it is necessary to restart manually the IPU when a frame
is done processing. Doing so on newer SoCs (JZ4760/70) kinds of work
too, until the input or output resolutions or the framerate are too
high.

Make it work properly on newer SoCs by letting the LCD controller
trigger the IPU frame restart signal.

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