FROMGIT: 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>

(cherry picked from commit ff1395609e20c1cd98b3ec65d16dc18f0471dca3
https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git mediatek-drm-next)

BUG=b:178064928
TEST=emerge-kukui chromeos-kernel-5_10

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Change-Id: I0f41c72ef8fddbd155a1abf89fb1c8550942131e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2641944
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Commit-Queue: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2644668
10 files changed