summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
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_ddp_comp.h
parent535960b95fdb6a11abd4671cc4eb426256eed579 (diff)
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_ddp_comp.h')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_ddp_comp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_ddp_comp.h b/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
index ba985206fdd2..26236691ce4c 100644
--- a/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
+++ b/drivers/gpu/drm/mediatek/mtk_ddp_comp.h
@@ -326,8 +326,7 @@ static inline void mtk_ddp_comp_encoder_index_set(struct mtk_ddp_comp *comp)
int mtk_ddp_comp_get_id(struct device_node *node,
enum mtk_ddp_comp_type comp_type);
-unsigned int mtk_drm_find_possible_crtc_by_comp(struct drm_device *drm,
- struct device *dev);
+unsigned int mtk_find_possible_crtcs(struct drm_device *drm, struct device *dev);
int mtk_ddp_comp_init(struct device_node *comp_node, struct mtk_ddp_comp *comp,
unsigned int comp_id);
enum mtk_ddp_comp_type mtk_ddp_comp_get_type(unsigned int comp_id);