OSDN Git Service

drm/mediatek: DRM driver directly refer to sub driver's function
authorCK Hu <ck.hu@mediatek.com>
Mon, 12 Oct 2020 03:50:47 +0000 (11:50 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 6 Jan 2021 22:28:16 +0000 (06:28 +0800)
commit1d33f13a1be32915f25c63f13100938cb9de4c63
tree12fdb080dd1e604259de6b291e92be05b4ce3f64
parent9b0704988b151824a51133dc4c921f4273c5d839
drm/mediatek: DRM driver directly refer to sub driver's function

Some ddp component exist in both display path and other path, so
sub driver should not directly call DRM driver's function. Let
DRM driver directly refer to sub driver's function so that sub
driver need not register these function to DRM driver.

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_drv.h [new file with mode: 0644]
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_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_dsi.c