]> git.baikalelectronics.ru Git - kernel.git/commit
exynos: drm: dsi: Attach in_bridge in MIC driver
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 3 Mar 2022 16:36:51 +0000 (22:06 +0530)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 14:21:41 +0000 (16:21 +0200)
commit4ad16d26455762976a69afb376cdc7c4da507a73
tree8dd394874ad17c88bef667b237bbe213f0dbbd72
parentcb81ee33dff44eb5f4991485c3cb90b3185467b4
exynos: drm: dsi: Attach in_bridge in MIC driver

MIC drivers in the Exynos5433 display pipeline are already registered
as bridge drivers and it is more advisable to attach the downstream
bridge on the bridge attach call instead of doing the same in the
DSI driver.

This makes bridge attachment more meaningful and avoids the races
during bridge function calls.

So, move the bridge finding and drm_bridge_attach from DSI to MIC.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220303163654.3381470-4-jagan@amarulasolutions.com
drivers/gpu/drm/exynos/exynos_drm_dsi.c
drivers/gpu/drm/exynos/exynos_drm_mic.c