Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2200441pxb; Fri, 25 Mar 2022 12:55:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4mLLblinhT7C1PqfJO3cEjlXAwL0NFQtlu8M+cB0XJHpDL+MBMGkU3uTyG419gloAnwrs X-Received: by 2002:a17:902:e791:b0:151:dbbd:aeae with SMTP id cp17-20020a170902e79100b00151dbbdaeaemr13385481plb.171.1648238146872; Fri, 25 Mar 2022 12:55:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648238146; cv=pass; d=google.com; s=arc-20160816; b=KKXsQ7DSosHReoTTOUTzsYU+f+WKpAF2NxNXaLKTR6KxuRgDLqJduswhT3l3FxBJQZ txKkp5SRF8gngl+RTDNr4j29U/lJACfqLqz34SPeA4Ma/PUUgKyYMDaGMTIFCIHo+aJc avSdJIGmZcTYUldjIOstb42MJY8K+G27joQzdAXf4/RJAYCIRtz6iWwmG0L61VVa/Nto JOxq/yQGx21fdRgERG6tQP+Y6imIlc6JVvEj3xaQH77j1E8hHFL1XWpfMqekO3EhHPIp xiYcfedwg78cuBQK9BuFNdq0KBYnz8qzHG4QX0K0e+iEn4/C/Cs/J/Fi7Wtv22aRw/yg lOfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=r6VFVv/7uRp8NolX6ZrCNXlaX0OPbRBpkwe/7lSAHPk=; b=xs7PccVlV5sQG67Pe8Xb8ap/SuMfBJkD3Dnjk+5ZzXecGz4anO7tD379Z+GehSHU6V n5B55JhyEZan+5F5s832MNZh16e4vK/0bTKuenyvmXsXTcg6gNJ4/pBKX8EiIePyEOln HZl+dgtSTT03oVtZ50mbUf4LwImHvM0DPjYkxrHvpkT/tWkrkgq0ktyi8G8n9Lfc9hY2 ieqpelhH2MX4mVSR7/YGSH9OWFlSBNo7pN3nocOGF0wVaZQ8P4CFkUI99+TOFwM+RqPZ gdCmjh6br3EAVNW/fKV9q8YcMh7yhCY6Hbuz1wjmt022NyuEZ8ICrXHAEOUbO9N7AtwQ ZcIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=jxXOnuI7; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q99-20020a17090a17ec00b001c658106313si3255683pja.156.2022.03.25.12.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:55:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=jxXOnuI7; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BEF4D1A5D56; Fri, 25 Mar 2022 11:44:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358454AbiCYGa6 (ORCPT + 99 others); Fri, 25 Mar 2022 02:30:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358450AbiCYGa5 (ORCPT ); Fri, 25 Mar 2022 02:30:57 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2128.outbound.protection.outlook.com [40.107.223.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 171285F8FF for ; Thu, 24 Mar 2022 23:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ak58RHtT6NutZvHbq0Ua2sp7+51qvJwEi1+cK1VAq/sBuFbEB5bQUGlYx8Bx/58KE5KeZ1KKLnBW7HvY+6eCIiwVL87dvleISrbA9X8TIVI2qIo0WnYtuIDkBp04mhaeEIQupWLPfTCeNbtYIgjQ2b00MzBrkCkiWvgufYSnnIzdU6rPfwl0/WlpBLy3UUhFxW6/EvJpq+xERZ6x1oAILFYefMJsbtulLlgaB35thqsLcWhSEMitNOGgRIBCqUqJxqtQA0xN3SnhiSuHR+YdJ1g/MoA0BbZ4gtIEHI9090J5cZAIHp6lFPHLWZjarERbgWJoNn52HzJSshUof8fijw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r6VFVv/7uRp8NolX6ZrCNXlaX0OPbRBpkwe/7lSAHPk=; b=Nrr9H7Ncbbw4sRW0q7CfzG9igF7QNrrBu6l/Zs1q0VDIxXLyAhuvrBHG5xGLyIMCZWl2dp1o4/lZbOeNEOtfEI/6++3P+tWJKiQ/sW3Lo/uK8WpY3FuwykUo9ie07eRNz5kJgfgojMsCoV2++EsMGpmM2KU5GUnEGo3BeUxWBYM5GSIaavJyeRuMVRpddVj2NXVAvRmmDxIJ9MdPukBKGQlAQMSkSaWHB2+1IbWmM7/yE/1rTbvb/p8V40j0EjjLJC/FyleXmppyfnyvLOV2zCUUz/VWBTc29xMqkPL0bOIZoEox1GNEbUzSYHdUQ1kc8BvEy4yiF099cB+w0rKimw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analogixsemi.com; dmarc=pass action=none header.from=analogixsemi.com; dkim=pass header.d=analogixsemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector2-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r6VFVv/7uRp8NolX6ZrCNXlaX0OPbRBpkwe/7lSAHPk=; b=jxXOnuI78msF+pjXQ5jGY2Yi8dOgm0h7nwpHXb5bX/RVdh1e3VmLCZ3I92KBCRHtJCMRyU7fcWJIuCMku4OTTR9it6Or623IFnG4EyjIDSHWo2TyUi6LjVPJxq69LgTZyrXu+e0ISuDCYCVTM3izi0s2DQm1U4h5Rj+Nk7rAdXY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by BYAPR04MB4246.namprd04.prod.outlook.com (2603:10b6:a02:f3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.18; Fri, 25 Mar 2022 06:29:20 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::a865:6d10:c4a9:1142]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::a865:6d10:c4a9:1142%9]) with mapi id 15.20.5102.016; Fri, 25 Mar 2022 06:29:20 +0000 Date: Fri, 25 Mar 2022 14:29:12 +0800 From: Xin Ji To: Robert Foss 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 Subject: Re: [PATCH v2] drm/bridge: anx7625: Set downstream sink into normal status Message-ID: <20220325062912.GA1527766@anxtwsw-Precision-3640-Tower> References: <20220322080213.1487134-1-xji@analogixsemi.com> <20220322085208.GA1487511@anxtwsw-Precision-3640-Tower> <20220322101342.GA1493353@anxtwsw-Precision-3640-Tower> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: HKAPR04CA0006.apcprd04.prod.outlook.com (2603:1096:203:d0::16) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c67a0c08-164c-42a4-bf52-08da0e28cb48 X-MS-TrafficTypeDiagnostic: BYAPR04MB4246:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rPmZyVCUXIzzQDsWgnXkcrK33K5RjIw73zrJ3gR2QWulnpFQ1YIrW12NFaJ2z+0cDL5V25JdZ8oaIc/93yPPVcNo3/bYGCcAfPDrWZPaxO45C+zST69njGYx/E5JB6MNNnQke4xCrbUDd1sZ4Z7bLmzfT9y93ALrFCcLeZvYqxV01esxrPZ3L3ABq23g06ZDAWmqLTvhnarxSk0ebQhXcclL2L/5glgiNOy0GTwURwJIvE04jt759i7zrITnTWxC91d0TrLIsblhalP0Z8iQ0GBgaO+gGXopWAitNCrBafj2TzSr0eSZ2epxZCY1FKnPa8p/DrgV3DuwQO+7lZpeJOqSokXIttorkKxjc5nzJu2Yrzu/8xTaIWcHVUHi8J07DuGLiWUV+HQR+eVnfgpeeeB7l4PuMxGD28lyo/+D3i3LjfkH1B/Q+swyZShP9dKhw2BYbF4pJBTew1gVv+88X26FDyG317d+Yukcyi+jWbnEHLyrMwosf2bcDGWwRaqFktYKr1Lpk6WUmvNyuV7K4LvPSmy2LeMGB1qQc105ZyfZ9Sv5CaW0SQrYnLwFC0AfKErkmKV36qaoufKQGLFlhPdalHBK3GfFwNnsztxLrxWWLGoY99EzrU94ABO816B1hhaD/34xGxtHb9QpIfq9+4bDdBQBOizB9845Fjk7Nt3MRqvFLaIwZ50qoBoE29qx7mb4MgSVl34VRkAsb5povg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR04MB6739.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(7916004)(366004)(9686003)(86362001)(6512007)(8936002)(6506007)(2906002)(186003)(5660300002)(33656002)(55236004)(33716001)(38350700002)(8676002)(316002)(6666004)(7416002)(66556008)(4326008)(52116002)(26005)(66946007)(107886003)(508600001)(66476007)(6486002)(38100700002)(6916009)(54906003)(1076003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?UaYkzOX81GE4yBOYP47hRxoxZ/ShmGrmRncslAWUZ85BY0ohF00QgKDO5L5F?= =?us-ascii?Q?Y4QOVCTLputynsusevzlDfeLvztd1FgmAO+hOMXqDLurR4Q0ZKniyYZVKzlk?= =?us-ascii?Q?NwExYEX7zwRqTWgg7woDqwMH75doFfpsOjA0qGXAsorlU9PIBcvRVPNf2rAk?= =?us-ascii?Q?XNUyKoBTAWawgrxNHXraS6iT9WXqoOmn1+daUkFcq8zk/wfo3TnVec0P2W6J?= =?us-ascii?Q?kcwhleZHR75bDJKdI4SrM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pEl?= =?us-ascii?Q?VntgrMqiJviK8ioHjIrGYgsYtHE1NjoNv7R6AFJPpgp/8tnk/yddWR0pNgdg?= =?us-ascii?Q?uKTVzXT0q/NknzbKsDhF/MGcIiFU3ft2x9sUJ5+Tj+RXquF4qTGm93IrUI7F?= =?us-ascii?Q?M4ZqFTngYznT1mclZ1wbJZ/hbpgCVNl2hNHgI25jYp6f3X0F6N4cY3mEjLUn?= =?us-ascii?Q?+XMpJoB5/pxynITjpDlH9khEkJerYtH9mgF4iI4PReUQCs2S+rjD0hLin+j4?= =?us-ascii?Q?kxwUp1m0TQQ2S249zkxQrA62ibPC3SAtXIVsFDy/uo6bfYnYoX4X7hpxf2K1?= =?us-ascii?Q?o8oB5N1FMZOBjkhrzttzbqXGr13l54eK?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: c67a0c08-164c-42a4-bf52-08da0e28cb48 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2022 06:29:20.2588 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5WM77Rsyt8t3qq+uw5IdE6VVdPc3Kzxxtz1fEwE5ORlqIIFzsaBYxaX5OWmop+2cbKS9XzHgYogYAYq2NauOvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4246 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 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, Xin