mbox series

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

Message ID 20210805192110.90302-1-paul@crapouillou.net (mailing list archive)
Headers show
Series gpu/drm: ingenic: Handle disabled drivers | expand

Message

Paul Cercueil Aug. 5, 2021, 7:21 p.m. UTC
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(+)