linux/drivers/gpu/drm/ingenic
Paul Cercueil 3b5b005ef7
drm/ingenic: Fix driver not probing when IPU port is missing
Even if support for the IPU was compiled in, we may run on a device
(e.g. the Qi LB60) where the IPU is not available, or simply with an old
devicetree without the IPU node. In that case the ingenic-drm refused to
probe.

Fix the driver so that it will probe even if the IPU node is not present
in devicetree (but then IPU support is disabled of course).

v2: Take a different approach

Fixes: fc1acf317b ("drm/ingenic: Add support for the IPU")
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200827114404.36748-2-paul@crapouillou.net
2020-08-31 00:52:40 +02:00
..
ingenic-drm-drv.c drm/ingenic: Fix driver not probing when IPU port is missing 2020-08-31 00:52:40 +02:00
ingenic-drm.h drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
ingenic-ipu.c drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
ingenic-ipu.h drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
Kconfig drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00
Makefile drm/ingenic: Add support for the IPU 2020-07-17 00:46:17 +02:00