drm/mediatek: Move regs info from struct mtk_ddp_comp to sub driver private data
authorCK Hu <ck.hu@mediatek.com>
Fri, 28 Aug 2020 08:13:13 +0000 (16:13 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 28 Dec 2020 23:11:15 +0000 (07:11 +0800)
commit3c87daefc5c3637bed36f1f29dc9bbf3506cba55
treed2e2f2dd5184cee221a16e7af6cda7336fb0d935
parentc0d36de868a6834f0124d248ac5c313d3c4d90bf
drm/mediatek: Move regs 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. regs 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_ddp_comp.c
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h