drm/mediatek: mtk_dsi: Use the drm_panel_bridge API
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 15 Jun 2020 20:31:07 +0000 (22:31 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Sat, 4 Jul 2020 23:50:41 +0000 (07:50 +0800)
commit2dd8075d21857b838f8223879f4b845e4a171fd4
tree51a0a9e3451a645bbc7a3d27df1794b054b73413
parent45880ff08120dfc15bf1a841c5946dc9eb53240a
drm/mediatek: mtk_dsi: Use the drm_panel_bridge API

Replace the manual panel handling code by a drm_panel_bridge. This
simplifies the driver and allows all components in the display pipeline
to be treated as bridges, paving the way to generic connector handling.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c