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

(cherry picked from commit 1d33f13a1be32915f25c63f13100938cb9de4c63
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: Ibe906dfb3102cad9a69457dce8f4f8fc49f2adc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2641943
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/+/2644667
9 files changed