Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2175231pxb; Fri, 25 Mar 2022 12:26:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr6Ohs0zi32YB1onjekyu/rwtHtNMUPmD1j9F48bvKYNFxT6O8wJPNAX0pPMjmYBPXmokE X-Received: by 2002:a05:6a00:ad2:b0:4f1:2734:a3d9 with SMTP id c18-20020a056a000ad200b004f12734a3d9mr11771168pfl.61.1648236368048; Fri, 25 Mar 2022 12:26:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648236368; cv=none; d=google.com; s=arc-20160816; b=pbqkj8yfbnOawN2KRbNS13f1cSFci0vDQFFqHyLOQ1k8i3gEnUvWwvzsTjMrF/1JMS i6iJ2fmXumSgUGLzpE7M626OijAu7V0l4J+OEA1dZQqGMnX9LIiCMyZIff5YivAgNd73 dspoyKq20YDp4OLLbY3mbJLc7gHp6gmhpPu2LY+IX78Ml7+i+NSkVpVGAeKlL72630u2 WSdBtqisuT4DNybAkLl/SoKWkeMfS6FvJbH1ubMr+lnvlwFiKZIhbnl3TJZnziVEhW2Y 6e+Pp8iJOgNiqcSKivxRCiLdrBNIXBrKqWo787lerUiJtFnAW/U4GqRWUpojhevaPfD9 OEIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UVipAa3p2lxfXUCkOUOZLM+IsCeHmSn3C9tonIfy3wI=; b=pmwPxvVjBKeYL5b3DX35BotUU9tLY1/DyrQxGiNvfkQNLeCyfniBurHFlGYHIimw5x AYRwQUhJIGFzmj1v9OhIbXcPd9O1lxVaD2YRpDO4lbmTYpXWnHfpVZKcrgCyJgUOapEQ CC2n09smAhAdJ9AZeBlEXYfxJBjkRp4WnkqYjAnB049YppU6GQbBN9uhxdt9cJ9uyVzy xtyx5WK5SBrS1W/BFLDebuLjlmMpKnbDI5Sp3MiOpkOuDtaDPOoXemMN0uGuCvwempGz PFNMixOUq8Px9CEv4wwYCyU9BjTlG+kvDCb2Jz/OXn65VmZoQfSGbHMEwBHcOSWSBbBy MV8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GgZxZElV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h16-20020a056a00231000b004faa79d798bsi3958484pfh.27.2022.03.25.12.26.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:26:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GgZxZElV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 352D02A3A44; Fri, 25 Mar 2022 11:34:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241619AbiCXMJm (ORCPT + 99 others); Thu, 24 Mar 2022 08:09:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240561AbiCXMJk (ORCPT ); Thu, 24 Mar 2022 08:09:40 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21A117E0AE for ; Thu, 24 Mar 2022 05:08:08 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id o3-20020a17090a3d4300b001c6bc749227so4938215pjf.1 for ; Thu, 24 Mar 2022 05:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UVipAa3p2lxfXUCkOUOZLM+IsCeHmSn3C9tonIfy3wI=; b=GgZxZElViAtY8nYuSfW1SOAk4RYkWZbCX7r2JTWjp3YVnmRvERdOCjnXy6nso+IyKq ovobCqamm+f7nQd8RFGDu2zcwfp2JrhkcVj12wCEqqEDw0RYu4U6O+KmdR726BqEWOay kHKLGOpizCB1Oub8L4G7XvTefe9hVgNz+5OG5As/U2YMxDxzK9gyYdFUqx3GXAFVY+mS Sz0EF6MYB8YOCDJ5wE9Nu5aefYpaNnXMBb4zoVhR14cauuWV2LqzfbzxuiT+w7p/RqT1 is9wwjgpSZeS4sYK21Y3QwPmlBNSvm8RWx10ZjuOfLjh0wvStTNew3M3SeG5HuAToX69 4jZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UVipAa3p2lxfXUCkOUOZLM+IsCeHmSn3C9tonIfy3wI=; b=rsydlArfowcMu1xrpq3umeWO8zX7im/7jKT9cRuGuSUlwRJCiJBPfeO6qU/rroePp2 BtP0bGcRLL98T8alUy9zjdEA/KrdRr0Q7hnMPTbz7kkZi9kV2B5eTQYt8WVNb5Y2cddh 6hCnGuBm9uI5xWtIguIikt941zgdn0NNFx0bV2IziwDhZsq6JED6UsOHS/paHDMiFDit 5sKgaT6zuGpsTYK9cuaKp1bXAQNNVcBcpkxHAQrHvZByQuW5vUf6a9e5p6FXpiZ4WIOy SqA5RfD6vFEM9TB9QPxb9gGo6/UXSqISyCis9GEfrVxz/GdC967zyyJITAtGf1XeQ8N7 IU4A== X-Gm-Message-State: AOAM533KNeh4GsAYzDIeSOTKtUeeXbvl1B0YpWqvYyhEYmYKwcl76Xue Mq0PPTSVtiuF1mh5Tk1mzObRYEUgh9YMm4giKxtVng== X-Received: by 2002:a17:903:30c4:b0:153:c102:8b9a with SMTP id s4-20020a17090330c400b00153c1028b9amr5459892plc.21.1648123687624; Thu, 24 Mar 2022 05:08:07 -0700 (PDT) MIME-Version: 1.0 References: <20220322080213.1487134-1-xji@analogixsemi.com> <20220322085208.GA1487511@anxtwsw-Precision-3640-Tower> <20220322101342.GA1493353@anxtwsw-Precision-3640-Tower> In-Reply-To: <20220322101342.GA1493353@anxtwsw-Precision-3640-Tower> From: Robert Foss Date: Thu, 24 Mar 2022 13:07:56 +0100 Message-ID: Subject: Re: [PATCH v2] drm/bridge: anx7625: Set downstream sink into normal status To: Xin Ji Cc: Chen-Yu Tsai , Hsin-Yi Wang , dri-devel@lists.freedesktop.org, Jonas Karlman , David Airlie , qwen@analogixsemi.com, Neil Armstrong , linux-kernel@vger.kernel.org, Jernej Skrabec , treapking@chromium.org, pihsun@chromium.org, Laurent Pinchart , Andrzej Hajda , tzungbi@google.com, bliang@analogixsemi.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > > The driver uses DRM_DEV_* for logs. Can we use this? > > > Hi Hsin-Yi, as comment in drm/drm_print.h: > > > "NOTE: this is deprecated in favor of drm_dbg". DRM bridge driver not > > > use DRM_DEV_* any more. I'll send a patch to replace all of DRM_DEV_* > > > later. > > > > drm_dbg is better than dev_dbg though. With the former, you still get the > > option to control it with the drm.debug module parameter, unlike the latter > > which normally gets compiled out. > > > > Please use drm_dbg*. > > > > ChenYu > > Hi ChenYu, the parameter of drm_dbg is "drm", if use drm_dbg, it will > change more code, I'll consider to upstream new patch to replace all of > them later. > Alright, since the driver already uses these logging functions, let's apply this patch and fix the logging function this driver uses in a separate series. Xin: Can you submit a patch/series that converts this driver to use drm_dbg* functions instead?