OSDN Git Service

drm/mediatek: Move clk info from struct mtk_ddp_comp to sub driver private data
authorCK Hu <ck.hu@mediatek.com>
Fri, 28 Aug 2020 05:37:06 +0000 (13:37 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 28 Dec 2020 23:11:15 +0000 (07:11 +0800)
commitc0d36de868a6834f0124d248ac5c313d3c4d90bf
tree8d4f8d87058ccfa2cae0db3a8996cef6e7f2d62b
parent926df14ec571f6cdbf6d941a0f1be112bf7a7535
drm/mediatek: Move clk info from struct mtk_ddp_comp to sub driver private data

Some ddp component exist in both display path and other path, so data
belonged to sub driver should be moved into sub driver private data so it
could be used for multiple path. clk info is one of sub driver data, so
move it.

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_drm_crtc.c
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h