Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp749209rdb; Fri, 17 Nov 2023 11:28:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvbHQ/oPt62GhLT60XdnZTgjQjBvR0iOAF1cw56VvMZElu4q8Du4b4ZRbLBvDFTkFm5Lwb X-Received: by 2002:a05:6a21:788f:b0:187:1cb7:337f with SMTP id bf15-20020a056a21788f00b001871cb7337fmr8362563pzc.15.1700249303642; Fri, 17 Nov 2023 11:28:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700249303; cv=none; d=google.com; s=arc-20160816; b=lIiP5lg2vm4s+VwsEuNMf3lkMwUQodL+UAj2t6xvsDPkgwDvR8PQslk8QHvDW05bHc U6D+5dppCJvJQvP7wxRYTjpBYPmvob6BJBYxRoG4s38GuEIDmZ0XpykgG60iwjCydj1X X8cetG/K1lqhbEBi9b5ZTLOFC9RpDkiIJBjxLn7W7J/OemMt2gGMkRa1Un3YmWyepsgF wAlzWsKdmbQhNzu0hmPPOuIPzyij1O1D8J0uLKZBseMjohlKxvvaYCFwE2SM2htSZaLz 8bxa9PgwQ6bvVY4tAOdufFUOSqpMjW4KDfkfIG3kjZtLFNERqmQvRjGDAE2iYVWPuiB/ UU6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wj6uB37R8tTLmYWQxD3IhJvQztAaDxzKAeZZ9RZKtso=; fh=F11d8KlNCyG4RsJE7u24aNL2p7AlIR+cBXqBFXDlZo4=; b=CVeby2OpbbwBaXtflbrMtANbGv4icuzN/yGQOrrD0/Opl7aSdHhu7WQqtiVPyho9AS CSxnPERCk9+Ky3WN7dA+bYHji6fl1LvZqqOgF+sQddiGrZaxbEHeiWfbgqrGa1qhP3vM pjKmXb68UvGU+USOiUGr3fKHXmnuGeLb/rx4cMArnvnEYfci8vHLHlNoFEMui1XrntFE 1lo0i74f30aKxN+i9GZeCseFrKb4BSnVAt8YDmV+EJF6s4uzWoCKwCmgYPDsh28rz83q nv8Fkpnn0vfCYeMcHbViOTwbbnmhVbhKqA+6tUNDEZ7wENnHgmwCh2BXFPx/UqSOU8Lc PGgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=czOLEI8e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r85-20020a632b58000000b005b7160263efsi2461771pgr.489.2023.11.17.11.28.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 11:28:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=czOLEI8e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3EAC1804ACCC; Fri, 17 Nov 2023 11:28:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231909AbjKQT2E (ORCPT + 99 others); Fri, 17 Nov 2023 14:28:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbjKQT2D (ORCPT ); Fri, 17 Nov 2023 14:28:03 -0500 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01492D4B for ; Fri, 17 Nov 2023 11:28:00 -0800 (PST) Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-280b06206f7so512154a91.1 for ; Fri, 17 Nov 2023 11:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700249279; x=1700854079; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wj6uB37R8tTLmYWQxD3IhJvQztAaDxzKAeZZ9RZKtso=; b=czOLEI8ekywyK6DtdHCC4wAiindouKxJkyBuxBoNSzdT3+gWBr+TT/L8ZDgHIiKIOx DD0XmUnXovME+2d1fAAPLpo47FxlAhMicgh1pimCL18pcEkz8qK6zVZC0+elAebPGQ9Z NAJdQAD7fgdObVmNO919o+MFEAJ3eHA1wCjz0VecSFaygXclKoIbOYcuBz0jMBkJav7X NAP3nYPBbov5iyEFDurqlqwI9zHMpnPoH0qTf+Iuwjg8z3czlV+KSD722djctQYKo9dz W0KKFKEz51XOaowAymViqiOnlGDqFhuxruF6Mud02FT8JWwhz4UehYEXNIoBEz/026lY V3UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700249279; x=1700854079; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wj6uB37R8tTLmYWQxD3IhJvQztAaDxzKAeZZ9RZKtso=; b=bia+A+QePMAJWjlOjXR+ou31U+pGtSFMxQzYmJd060oLZFWkpgAXdeUpWb2nfi2gQZ nmeGwsNH94RxKskei4S1umkhPcU1IYdezygM64JP+JWDt2iEfkhdaSSJyj3OwydQxnkB 4DJZbzr8PcVuwdayAE4hqe6IfcXNfYiX3YqL6JtMtKAIJOCITo6YVSWSwtqS4b3k+QnB yzcS+buXT5RiGnVKMgh+kTClsYzVuijV/KLqJTCPUZmsIHvGpmOROl71EsTaR7Pj69j7 P1R7W4P3rFePvZ5rH/9jhjWrrtDhfxnhk+h0MoxegD9xuZVJAKt6+H75fe9k/auog3JN eATg== X-Gm-Message-State: AOJu0Yy2Y1Yc4KT4OD7J0jOY2db8tHImEYvDF/kptU4Eysoxar7H1L4K 8Vs1uI4tu0CHRP8d5NfLbVAGC+f/ceKAJYPxrpC5UXy0ppQ= X-Received: by 2002:a17:90b:2386:b0:274:60c7:e15a with SMTP id mr6-20020a17090b238600b0027460c7e15amr469895pjb.4.1700249279423; Fri, 17 Nov 2023 11:27:59 -0800 (PST) MIME-Version: 1.0 References: <20231117-rk-lvds-defer-msg-v1-1-1e6894cf9a74@theobroma-systems.com> In-Reply-To: <20231117-rk-lvds-defer-msg-v1-1-1e6894cf9a74@theobroma-systems.com> From: Fabio Estevam Date: Fri, 17 Nov 2023 16:27:47 -0300 Message-ID: Subject: Re: [PATCH] drm/rockchip: lvds: do not print error message when deferring probe To: Quentin Schulz Cc: Sandy Huang , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Mark Yao , linux-rockchip@lists.infradead.org, Quentin Schulz , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 11:28:05 -0800 (PST) Hi Quentin, On Fri, Nov 17, 2023 at 3:31=E2=80=AFPM Quentin Schulz wrote: > > From: Quentin Schulz > > This scary message may happen if the panel or bridge is not probed > before the LVDS controller is, resulting in some head scratching because > the LVDS panel is actually working, since a later try will eventually > find the panel or bridge. > > Therefore let's demote this error message into a debug message to not > scare users unnecessarily. ... > diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c b/drivers/gpu/drm/r= ockchip/rockchip_lvds.c > index f0f47e9abf5a..52e2ce2a61a8 100644 > --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c > +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c > @@ -577,7 +577,7 @@ static int rockchip_lvds_bind(struct device *dev, str= uct device *master, > ret =3D -EINVAL; > goto err_put_port; > } else if (ret) { > - DRM_DEV_ERROR(dev, "failed to find panel and bridge node\= n"); > + DRM_DEV_DEBUG(dev, "failed to find panel and bridge node\= n"); > ret =3D -EPROBE_DEFER; What about using dev_err_probe() instead?