drm/ingenic: Fix support for JZ4780 HDMI output
authorPaul Boddie <paul@boddie.org.uk>
Sat, 12 Feb 2022 15:50:49 +0000 (16:50 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Mon, 14 Feb 2022 12:27:01 +0000 (12:27 +0000)
commit5357402398784bec925391e8d6b79d380e7b2f50
tree298d89e475d36d967dff1fddb6bc4f2368ee42f0
parentc6fc836488c2ca45c06d21213f5281d668b42b95
drm/ingenic: Fix support for JZ4780 HDMI output

We have to make sure that
- JZ_LCD_OSDC_ALPHAEN is set
- plane f0 is disabled as it's not working yet

Tested on MIPS Creator CI20 board.

Signed-off-by: Paul Boddie <paul@boddie.org.uk>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Fixes: ef2f5d0aa121 ("drm/ingenic: prepare ingenic drm for later addition of JZ4780")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[pcercuei: add proper fixes commit, slightly reword commit description]
Link: https://patchwork.freedesktop.org/patch/msgid/9d3a2000d2bb014f1afb0613537bdc523202135d.1644681054.git.hns@goldelico.com
drivers/gpu/drm/ingenic/ingenic-drm-drv.c