Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1465906ybz; Sat, 25 Apr 2020 20:15:38 -0700 (PDT) X-Google-Smtp-Source: APiQypLE/hZyQaJcyGHq+mC7n5KERDKkp2j40qlQOJ5n3l4e4JriLsMXeyWLixrQGY6DKL9gWG2I X-Received: by 2002:a17:906:ecb8:: with SMTP id qh24mr13773021ejb.299.1587870937974; Sat, 25 Apr 2020 20:15:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587870937; cv=none; d=google.com; s=arc-20160816; b=OXFR3ubcLtDxFsSYluY4DeOchub3yYclpBPsyQWCb3TyXduhj+B1PV0XAtqOvWKaKR 10YGpHh1dwavMHP3UMjLQVMF7GYwjIX+FU92rEZKLwZLsuVx/B/fHqg34Imc7v6tDboF IbV0B2ZJx0io6CK3Tsbgq5enST4HpssXawhIiYy1l+piXG5yPnY8mveFipMoOpfXmhsY urw8bvTmDhyfSLXewZnq6q2zTNJmgul4MRxXV/p2rNtKKPEAfzIewIxdmipSZ4tGj3xP S+1pCZ+hwMHkrTDq47l12HBt4NaTpr0GG/TA6ynyh/QRoVivCk/WVzU8aL/67Ux7724E H4BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=XzEftHL21mkMcA/boewyy617qhW4hyPcSzL3h8WF4uI=; b=SmUPVNKk28eeRqx2VtSF23BRb/RBqknkROFpoIehX+PZZF0WaXNS4h6KyMWfP0G9/L aioZe9OpsSKzWNQ9HKDdIKP0u99X7CTYG/q1JxR8WH//XBEobV9zqPoI7534MG2lDV7+ 7mjdc+C4+45P+rxaKfRELBu1f7cbFarCV5yKoYcGmBhiIWsOMZNscx6GKjcJ8DzJ8D6/ KmF9PHkraR4EUn7PUOYb7r7TgvOf256O90sJe02MJporHi8UUVAmTtMYusFT5BiVy3BE 13mjuXbLrf/X+q4Q6crPPyiRbQqOaFC8AqP9y5A2LN+xhcZWfQOM8T6+Pe5WOFnMMlC8 qp0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="AoOgEJ/P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id me3si6224552ejb.250.2020.04.25.20.15.12; Sat, 25 Apr 2020 20:15:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="AoOgEJ/P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726121AbgDZDLB (ORCPT + 99 others); Sat, 25 Apr 2020 23:11:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:34442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgDZDLB (ORCPT ); Sat, 25 Apr 2020 23:11:01 -0400 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E206E215A4 for ; Sun, 26 Apr 2020 03:11:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587870661; bh=5ufY2WNf1d+9zTXd2f3aMGdsxjO3ggnK7WB1Ct27mWo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AoOgEJ/PCHpNCNceEnPC+l4jFraujO8GwZ54QALOYlUi1eslUYlJQgZFhAtDYYnI0 bCvLruNMB2ngmXYg3t5f5++qHEQG0q1JS7kqvHCkKNSF2AF2Vnr8A183mi/bzybxgf /DcO8p2mpk5dVMyUGCfO9UZ3/lOPIOwXq7BD7iNk= Received: by mail-ed1-f50.google.com with SMTP id l3so10772404edq.13 for ; Sat, 25 Apr 2020 20:11:00 -0700 (PDT) X-Gm-Message-State: AGi0PubQ9+GA/2ungjJl6/iI5b6VYf858Ll0TruHz3Q4CU1DA1PxQFzm 09CBNDvyWqMPTVhxa7cpyYKIA9HkhFZH4Opn1Q== X-Received: by 2002:aa7:c649:: with SMTP id z9mr14002618edr.288.1587870659255; Sat, 25 Apr 2020 20:10:59 -0700 (PDT) MIME-Version: 1.0 References: <20200226112723.649954-1-enric.balletbo@collabora.com> In-Reply-To: <20200226112723.649954-1-enric.balletbo@collabora.com> From: Chun-Kuang Hu Date: Sun, 26 Apr 2020 11:10:48 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/mediatek: Remove debug messages for function calls To: Enric Balletbo i Serra Cc: linux-kernel , Daniel Vetter , David Airlie , DRI Development , Matthias Brugger , "moderated list:ARM/Mediatek SoC support" , Philipp Zabel , CK Hu , Collabora Kernel ML , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Enric: Enric Balletbo i Serra =E6=96=BC 2020=E5=B9= =B42=E6=9C=8826=E6=97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=887:27=E5=AF=AB= =E9=81=93=EF=BC=9A > > Equivalent information can be nowadays obtained using function tracer. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= log/?h=3Dmediatek-drm-next Regards, Chun-Kuang. > > Signed-off-by: Enric Balletbo i Serra > --- > > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 5 ----- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 -- > 2 files changed, 7 deletions(-) > > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c b/drivers/gpu/drm/me= diatek/mtk_drm_crtc.c > index a236499123aa..882c690d3f13 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c > @@ -192,7 +192,6 @@ static int mtk_crtc_ddp_clk_enable(struct mtk_drm_crt= c *mtk_crtc) > int ret; > int i; > > - DRM_DEBUG_DRIVER("%s\n", __func__); > for (i =3D 0; i < mtk_crtc->ddp_comp_nr; i++) { > ret =3D clk_prepare_enable(mtk_crtc->ddp_comp[i]->clk); > if (ret) { > @@ -212,7 +211,6 @@ static void mtk_crtc_ddp_clk_disable(struct mtk_drm_c= rtc *mtk_crtc) > { > int i; > > - DRM_DEBUG_DRIVER("%s\n", __func__); > for (i =3D 0; i < mtk_crtc->ddp_comp_nr; i++) > clk_disable_unprepare(mtk_crtc->ddp_comp[i]->clk); > } > @@ -257,7 +255,6 @@ static int mtk_crtc_ddp_hw_init(struct mtk_drm_crtc *= mtk_crtc) > int ret; > int i; > > - DRM_DEBUG_DRIVER("%s\n", __func__); > if (WARN_ON(!crtc->state)) > return -EINVAL; > > @@ -298,7 +295,6 @@ static int mtk_crtc_ddp_hw_init(struct mtk_drm_crtc *= mtk_crtc) > goto err_mutex_unprepare; > } > > - DRM_DEBUG_DRIVER("mediatek_ddp_ddp_path_setup\n"); > for (i =3D 0; i < mtk_crtc->ddp_comp_nr - 1; i++) { > mtk_ddp_add_comp_to_path(mtk_crtc->config_regs, > mtk_crtc->ddp_comp[i]->id, > @@ -348,7 +344,6 @@ static void mtk_crtc_ddp_hw_fini(struct mtk_drm_crtc = *mtk_crtc) > struct drm_crtc *crtc =3D &mtk_crtc->base; > int i; > > - DRM_DEBUG_DRIVER("%s\n", __func__); > for (i =3D 0; i < mtk_crtc->ddp_comp_nr; i++) { > mtk_ddp_comp_stop(mtk_crtc->ddp_comp[i]); > if (i =3D=3D 1) > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/med= iatek/mtk_drm_drv.c > index 17f118ee0e57..4934834977b3 100644 > --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c > +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c > @@ -570,7 +570,6 @@ static int mtk_drm_sys_suspend(struct device *dev) > int ret; > > ret =3D drm_mode_config_helper_suspend(drm); > - DRM_DEBUG_DRIVER("mtk_drm_sys_suspend\n"); > > return ret; > } > @@ -582,7 +581,6 @@ static int mtk_drm_sys_resume(struct device *dev) > int ret; > > ret =3D drm_mode_config_helper_resume(drm); > - DRM_DEBUG_DRIVER("mtk_drm_sys_resume\n"); > > return ret; > } > -- > 2.25.0 > > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek