drm/exynos: consider deferred probe case
authorInki Dae <inki.dae@samsung.com>
Thu, 29 May 2014 09:28:02 +0000 (18:28 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 2 Jun 2014 05:29:39 +0000 (14:29 +0900)
commitdf5225bc9a87f1589a17797ee8e193608e4f3a9e
tree6958bf8ac68f4f3f8cbc19d5526adc3155846c80
parent2e1ce1a1dd7c110faa8b99f0b76d1382e5de61f1
drm/exynos: consider deferred probe case

This patch makes sure that exynos drm framework handles deferred
probe case correctly.

Sub drivers could be probed before resources, clock, regulator,
phy or panel, are ready for them so we should make sure that exynos
drm core waits until all resources are ready and sub drivers are
probed correctly.

Chagelog v2:
- Make sure that exynos drm core tries to bind sub drivers only in case that
  they have a pair: crtc and encoder/connector components should be a pair.
- Remove unnecessary patch:
  drm/exynos: mipi-dsi: consider panel driver-deferred probe
- Return error type correctly.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_dp_core.c
drivers/gpu/drm/exynos/exynos_drm_dpi.c
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_dsi.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c