soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h
authorYongqiang Niu <yongqiang.niu@mediatek.com>
Tue, 6 Oct 2020 19:33:17 +0000 (21:33 +0200)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:35:42 +0000 (08:35 -0400)
commit6715cefa72f6c008cf104761331ed1cb14392caa
tree19ea66a443962657f75d4c54d549314889f413ec
parent1b6fc6f739d412d42f64c8dcaf817ba831bb198a
soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h

[ Upstream commit 51c0e618b219c025ddaaf14baea8942cb7e2105b ]

MMSYS is the driver which controls the routing of these DDP components,
so the definition of the mtk_ddp_comp_id enum should be placed in mtk-mmsys.h

Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Link: https://lore.kernel.org/r/20201006193320.405529-2-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h
drivers/soc/mediatek/mtk-mmsys.c
include/linux/soc/mediatek/mtk-mmsys.h