[PATCH 0/2] gpu/drm: ingenic: Handle disabled drivers

From: Paul Cercueil
Date: Thu Aug 05 2021 - 15:21:22 EST


Hi,

A small patchset to make sure that the ingenic-drm driver won't fail to
probe if an optional device (e.g. HDMI chip) has its driver disabled in
the kernel config.

Since most of the boards using the ingenic-drm driver have a LCD panel
attached, the drivers for external devices (be it a HDMI transmitter or
a TV encoder) really are optional and shouldn't prevent the DRM driver
from probing.

Cheers,
-Paul

Paul Cercueil (2):
drivers core: Export driver_deferred_probe_check_state()
gpu/drm: ingenic: Add workaround for disabled drivers

drivers/base/dd.c | 1 +
drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 12 ++++++++++++
2 files changed, 13 insertions(+)

--
2.30.2