]> 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)
commit91e812291b871abcc0bfb30c5e4c6ff09e46de6e
tree8dd394874ad17c88bef667b237bbe213f0dbbd72
parentd1856379ffcee5bb016fcd415b638dba57be5cab
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