]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fix broken component binding in case of multiple pipelines
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 11 Jun 2015 14:23:37 +0000 (23:23 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:32:55 +0000 (00:32 +0900)
commita8ee52a17f1200df87d3cf0d4d76fdd2a650c904
tree1a2bfd6db2aec4e41da1f61faa6a8304e6d5a2df
parent4a9d8fa0ad0eb4ab27ca23cb1545e7ccfe5eb83c
drm/exynos: fix broken component binding in case of multiple pipelines

In case there are multiple pipelines and deferred probe occurs, only components
of the first pipeline were bound. As a result only one pipeline was available.
The main cause of this issue was dynamic generation of component match table -
every component driver during probe registered itself on helper list, if there
was at least one pipeline present on this list component match table were
created without deferred components.
This patch removes this helper list, instead it creates match table from
existing devices requiring exynos_drm KMS drivers. This way match table do not
depend on probe/deferral order and contains all KMS components.
As a side effect patch makes the code cleaner and significantly smaller.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos7_drm_decon.c
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_drm_vidi.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c