Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp5518678lfu; Mon, 28 Mar 2022 15:51:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNfWVYZrXnWT8Q3Aq7OqqSKgPFJwfXHEOT+o/AchxlwKcnMCCg2mA/Xk6zsk/cxX46sXWS X-Received: by 2002:a05:620a:4592:b0:67d:8ed9:8c37 with SMTP id bp18-20020a05620a459200b0067d8ed98c37mr18150139qkb.150.1648507887163; Mon, 28 Mar 2022 15:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648507887; cv=none; d=google.com; s=arc-20160816; b=oXsrhSukALEszFkLsP1IG/p1huZU65jeZZwKj24xOepUqNq+xIL7YIyrMYiRBHWCRT DxxBtw/ogSMr7hRyXQXJCBX5TIgIvaoCMGbD0M/te8CA6ZUwbAoPCJZ1X/UM8GH4ewlJ wy8l+TGP0zHV06dMU5LTknI4Xfa3EPVoGOUzboGPSdCH5HPFoimY1Cam+NXgW1zTIAvm pucncTzD4BGRIbQnakFvhyAXi/f5nTHgbfVm0iZdxglobG/k0OxWajikrw1QUuLVeV09 aU4w9VuYoeQciF/ZB9+CiKv/ml9gmsjG5V8lZZ2wv4LUcu5GpCFz9eVzE+wXcHWPW+Xx As3Q== 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=5c3917MAZUYc8aYNOkJjQUYFUTHwIYAfPcFsBEaVqNw=; b=dGkRHkSvVxW1qWukaHrjJk37ebQfilw8sUB76j6xHjJxLhcqaLPdiyUb/Ex1T2JgMT Ua4IHoE3HNoLjwJl+cXSzqhV9m6k+wu5FsqEmeLybici5UBgs1TOpjUuXniz/vKS3ayW mn67SprK05x8x7UzVU0s8RaXLkrGpAbfXLtGb3wyEFzvoQyV2mtq3Gr3w8hxj3uSRMvt yceEXMbVFAhZpCJ7hlri1ob8r8VqgApXi8jTNvKUtkL32WKXec9dvHuBajrLD/IbEpj/ VuIOW1RC6jVWkDrR4gA+93fAW5M9+1Hl8SYiH9DufwjO0lquV7CIhzaY4jpLY4e95elv 7KTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r39mJhBO; 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 n9-20020a67ac49000000b0032587f6a744si3132783vsh.659.2022.03.28.15.51.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:51:27 -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=r39mJhBO; 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 6CB1019C0C; Mon, 28 Mar 2022 14:54:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243101AbiC1NXA (ORCPT + 99 others); Mon, 28 Mar 2022 09:23:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243100AbiC1NW7 (ORCPT ); Mon, 28 Mar 2022 09:22:59 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1CC05D5EE for ; Mon, 28 Mar 2022 06:21:18 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id t13so11001939pgn.8 for ; Mon, 28 Mar 2022 06:21:18 -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=5c3917MAZUYc8aYNOkJjQUYFUTHwIYAfPcFsBEaVqNw=; b=r39mJhBONAyJ7iXYcHhktyYbkv/FPoZd74/kg4pgnTyGP1heoE7mTSS62HxWYxqLm4 PuXMXRdxhhUPQgQDEKXSTDKbCERIm4ZxXgMFSGHxPwq7rEmRd9kjNCbu4ZDixvhilV6w v7W70+Mv6ParbmAjsbbGsb/VYLI5oIHC3oCg2tQ6awPFhRo5EDLR5YqsOm9KVXQzwjBa eoC/H/OtOefp9xkaXUJ81Hjr+2imn9dVDM5MEf0XlnRX/GUs6ZJOroYAWgl09x6vwwmY rSRL7wd4/o3bYrmaSkTnqSR6MV/SQGq88Hrx+DT1s/9/8Ge1VJ8k8golO2cYUQMzpRGC NVvg== 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=5c3917MAZUYc8aYNOkJjQUYFUTHwIYAfPcFsBEaVqNw=; b=s9GDGJlAQnHhZktigFtTfRRDlP55wpisI1uQdHTucJQDBFEDRMEKjOtnjXTxevlEHO boO+oy9nQ7h9HiBSnXD/GwWWhXDfrAJzKuUpmyFsf/bpg4g+wegG9hWxzwgfrql/WWTv mLoRktgbOYcMHNR4h8UZEesHFCYhZnPvYTGwgs6U+6spkiwySVGV1pNRemNZrxdXlmNn fJ3D9cuzjNHWCF3Xvh8EtzLv2n+ajxnMO889EGC3LxFoU1XqFd6pEAiE7wFem2wuljYS HnvlpJkbFThL8blZaEbjvMw8lJ93eG2hxqBV6aJVvEIDI3zpPNn22ofBhure0RcSLIAI CrDg== X-Gm-Message-State: AOAM533MH8mBpOEgiR1oTMT1icoifPSxERZFs/ZrpZLBM64qc4ri4Suc L6F+wgItG776HZ67V07MReisibRqB1cjFfVm6P3LQg== X-Received: by 2002:a05:6a00:1741:b0:4fa:f5bc:30bd with SMTP id j1-20020a056a00174100b004faf5bc30bdmr20188685pfc.0.1648473678172; Mon, 28 Mar 2022 06:21:18 -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> <20220325062912.GA1527766@anxtwsw-Precision-3640-Tower> In-Reply-To: <20220325062912.GA1527766@anxtwsw-Precision-3640-Tower> From: Robert Foss Date: Mon, 28 Mar 2022 15:21:06 +0200 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 On Fri, 25 Mar 2022 at 07:29, Xin Ji wrote: > > On Thu, Mar 24, 2022 at 01:07:56PM +0100, Robert Foss wrote: > > > > > > 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? > Hi Robert Foss, OK, I'll submit patch after this patch get merged. > Thanks, Applied to drm-misc-next. Rob.