drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver
authorCK Hu <ck.hu@mediatek.com>
Tue, 13 Oct 2020 06:15:10 +0000 (14:15 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 6 Jan 2021 22:28:16 +0000 (06:28 +0800)
commitff1395609e20c1cd98b3ec65d16dc18f0471dca3
treea120073d9cf4861b886ba44fe0c919e96d190ab5
parent1d33f13a1be32915f25c63f13100938cb9de4c63
drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver

Some ddp component exist in both display path and other path, so
sub driver should not directly call DRM driver's function. Moving
mtk_ddp_comp_init() from sub driver to DRM driver to achieve this.

Signed-off-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_disp_color.c
drivers/gpu/drm/mediatek/mtk_disp_ovl.c
drivers/gpu/drm/mediatek/mtk_disp_rdma.c
drivers/gpu/drm/mediatek/mtk_dpi.c
drivers/gpu/drm/mediatek/mtk_drm_crtc.c
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h
drivers/gpu/drm/mediatek/mtk_drm_drv.c
drivers/gpu/drm/mediatek/mtk_drm_drv.h
drivers/gpu/drm/mediatek/mtk_dsi.c