summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mediatek/mtk_dsi.c
diff options
context:
space:
mode:
authorHsiao Chien Sung <shawn.sung@mediatek.corp-partner.google.com>2024-03-22 17:12:32 +0800
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2024-04-01 15:37:16 +0000
commit278640d4d74cd6ff55b19381d3b2a674a6ec6eb4 (patch)
tree3ccfe869e1b1a6f2ee942d0513cd10e728d849ad /drivers/gpu/drm/mediatek/mtk_dsi.c
parent535960b95fdb6a11abd4671cc4eb426256eed579 (diff)
downloadlwn-278640d4d74cd6ff55b19381d3b2a674a6ec6eb4.tar.gz
lwn-278640d4d74cd6ff55b19381d3b2a674a6ec6eb4.zip
drm/mediatek: Rename mtk_ddp_comp functions
Rename functions of mtk_ddp_comp: - To align the naming rule - To reduce the code size Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.corp-partner.google.com> Link: https://patchwork.kernel.org/project/dri-devel/patch/20240322091232.26387-15-shawn.sung@mediatek.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_dsi.c')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_dsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c
index e29c37fb5be0..67239606adbf 100644
--- a/drivers/gpu/drm/mediatek/mtk_dsi.c
+++ b/drivers/gpu/drm/mediatek/mtk_dsi.c
@@ -836,7 +836,7 @@ static int mtk_dsi_encoder_init(struct drm_device *drm, struct mtk_dsi *dsi)
return ret;
}
- dsi->encoder.possible_crtcs = mtk_drm_find_possible_crtc_by_comp(drm, dsi->host.dev);
+ dsi->encoder.possible_crtcs = mtk_find_possible_crtcs(drm, dsi->host.dev);
ret = drm_bridge_attach(&dsi->encoder, &dsi->bridge, NULL,
DRM_BRIDGE_ATTACH_NO_CONNECTOR);