Skip to content

Commit a11398e

Browse files
Enric Balletbo i SerraChun-Kuang Hu
authored andcommitted
drm/mediatek: Remove debug messages for function calls
Equivalent information can be nowadays obtained using function tracer. Signed-off-by: Enric Balletbo i Serra <[email protected]> Reviewed-by: CK Hu <[email protected]> Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent e09a7f8 commit a11398e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

drivers/gpu/drm/mediatek/mtk_drm_crtc.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ static int mtk_crtc_ddp_clk_enable(struct mtk_drm_crtc *mtk_crtc)
193193
int ret;
194194
int i;
195195

196-
DRM_DEBUG_DRIVER("%s\n", __func__);
197196
for (i = 0; i < mtk_crtc->ddp_comp_nr; i++) {
198197
ret = clk_prepare_enable(mtk_crtc->ddp_comp[i]->clk);
199198
if (ret) {
@@ -213,7 +212,6 @@ static void mtk_crtc_ddp_clk_disable(struct mtk_drm_crtc *mtk_crtc)
213212
{
214213
int i;
215214

216-
DRM_DEBUG_DRIVER("%s\n", __func__);
217215
for (i = 0; i < mtk_crtc->ddp_comp_nr; i++)
218216
clk_disable_unprepare(mtk_crtc->ddp_comp[i]->clk);
219217
}
@@ -258,7 +256,6 @@ static int mtk_crtc_ddp_hw_init(struct mtk_drm_crtc *mtk_crtc)
258256
int ret;
259257
int i;
260258

261-
DRM_DEBUG_DRIVER("%s\n", __func__);
262259
if (WARN_ON(!crtc->state))
263260
return -EINVAL;
264261

@@ -299,7 +296,6 @@ static int mtk_crtc_ddp_hw_init(struct mtk_drm_crtc *mtk_crtc)
299296
goto err_mutex_unprepare;
300297
}
301298

302-
DRM_DEBUG_DRIVER("mediatek_ddp_ddp_path_setup\n");
303299
for (i = 0; i < mtk_crtc->ddp_comp_nr - 1; i++) {
304300
mtk_mmsys_ddp_connect(mtk_crtc->mmsys_dev,
305301
mtk_crtc->ddp_comp[i]->id,
@@ -349,7 +345,6 @@ static void mtk_crtc_ddp_hw_fini(struct mtk_drm_crtc *mtk_crtc)
349345
struct drm_crtc *crtc = &mtk_crtc->base;
350346
int i;
351347

352-
DRM_DEBUG_DRIVER("%s\n", __func__);
353348
for (i = 0; i < mtk_crtc->ddp_comp_nr; i++) {
354349
mtk_ddp_comp_stop(mtk_crtc->ddp_comp[i]);
355350
if (i == 1)

drivers/gpu/drm/mediatek/mtk_drm_drv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ static int mtk_drm_sys_suspend(struct device *dev)
572572
int ret;
573573

574574
ret = drm_mode_config_helper_suspend(drm);
575-
DRM_DEBUG_DRIVER("mtk_drm_sys_suspend\n");
576575

577576
return ret;
578577
}
@@ -584,7 +583,6 @@ static int mtk_drm_sys_resume(struct device *dev)
584583
int ret;
585584

586585
ret = drm_mode_config_helper_resume(drm);
587-
DRM_DEBUG_DRIVER("mtk_drm_sys_resume\n");
588586

589587
return ret;
590588
}

0 commit comments

Comments
 (0)