]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm: exynos: dsi: Consolidate component and bridge
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 8 Mar 2023 16:39:47 +0000 (22:09 +0530)
committerInki Dae <inki.dae@samsung.com>
Tue, 28 Mar 2023 00:05:40 +0000 (09:05 +0900)
commit70e360f9b548d99f959668d4f047d1363d42fe8e
treeea8d0438f9aa8fe7322c273a3842a4f167bd7fda
parent44d214a711d958b5c1f72e05f046f6b44a9766ea
drm: exynos: dsi: Consolidate component and bridge

DSI host registration, attach and detach operations are quite
different for the component and bridge-based DRM drivers.

Supporting generic bridge driver to use both component and bridge
based DRM drivers can be tricky and would require additional host
related operation hooks.

Add host operation hooks for registering and unregistering Exynos
and generic drivers, where Exynos hooks are used in existing Exynos
component based DRM drivers and generic hooks are used in i.MX8M
bridge based DRM drivers.

Add host attach and detach operation hooks for Exynos component
DRM drivers and those get invoked while DSI core host attach and
detach gets called.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c