Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6021049rwl; Tue, 4 Apr 2023 06:56:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZVvfMwdKv5p5S/bk5ilx9C2tUas5zDmhDKy1o/hDNiFc/jiBGkVUflyL00IU9qK/cOHbeW X-Received: by 2002:a17:907:7656:b0:93f:3084:d6f with SMTP id kj22-20020a170907765600b0093f30840d6fmr2479840ejc.18.1680616572847; Tue, 04 Apr 2023 06:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680616572; cv=none; d=google.com; s=arc-20160816; b=WC6ubvs5whMPMNBgcjneCzgwDuBkE5ucIwXKsXeWLyb0xTjAlDoGL9RYWvAUJBHb25 uQKUb65s/qUGAG/0jZoNC6u51jq5IPy4VWvUqZhaj+BH/rELSPtqqi46xjIdl346DHZw 1g7nHeDdBPbZefgbVu2Gtm8IC73s4qriPhphkpEFONVXWdehyA+KpyLtL4DeFAlH2/JE ALuZIQkTmsMGU/ftMIruiSdbX+T/6JEJZ4moEpQ4kGni3ka8YOlEZ0zdF5U5goIVlcyD DdQu2JdjYk5fJCbz3dokPDnb1wQPUBjXAPP905xSaf3YiNMtKG3xTsbm0HfHLTlB0pze f8RQ== 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=8vxdDefvvddT/9lK9tLNVI9aT2fK3kIsSFEfydgZYtk=; b=U0ntvMTi+6PwUaPLLD024ZyWl09A+o4UQJotnEBLO/tcrNGe+Z5jFuBuma8pGPKeGz e3tUEExoOkXzNZjfOwegqH/C/uxJ1SdTU2COc5H/zbOQY6qxI6/7eg0qNedV/PGf6z/H DySJ7q44W2el7BN5k0VV+RQuF0eo6VmI69hS0ysmh2RV18LNq8n5lBATEs+3xlJwa2Ht iApA7On1airjf5678arOao81uiYKKtd6bIeYfQOqTJQrHN7IGXayUU0ri+5cEthBDKIg uTqgVRH+tAL8Kq3wZTIXm++cZ1tCEWst6dB4YOuy3g1N8OyJebbE+PgbC6mUqmrTjN2A SYpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@criticallink.com header.s=google header.b="Ya/wbST6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=criticallink.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a1709062a4800b00947d844d9d0si2067891eje.969.2023.04.04.06.55.48; Tue, 04 Apr 2023 06:56:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@criticallink.com header.s=google header.b="Ya/wbST6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=criticallink.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235639AbjDDNzb (ORCPT + 99 others); Tue, 4 Apr 2023 09:55:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235450AbjDDNz1 (ORCPT ); Tue, 4 Apr 2023 09:55:27 -0400 Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B166A449E for ; Tue, 4 Apr 2023 06:54:55 -0700 (PDT) Received: by mail-vs1-xe2d.google.com with SMTP id z17so21871133vsf.4 for ; Tue, 04 Apr 2023 06:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=criticallink.com; s=google; t=1680616495; 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=8vxdDefvvddT/9lK9tLNVI9aT2fK3kIsSFEfydgZYtk=; b=Ya/wbST62b8bezjGJ+GdV4aX4VVQ7bkrHG4sJ3MmhiRJGFpPveN8pZ+WsGjh7iPiK0 toe9rgOKSkw8ZZNtv0JgB/3gyOzpK0o+PRkaObp9GXfbSuj/X8Z5l7mTdA6ukeRBSZ1t /Fl227fhx8K4bOyxVBwKplIoQgC5hp0E4BMBvkh204o4HFeppj1CCcjA1tL1dUpJVgX3 XVgJZgAJcZZoq/p7FlWb8kvNbB1zUD2pFP1YQKm5Icpitm/bP1mjGEwoSgFGIY38I/nu b/KHayT+HcLzKVwzBvnsLO3ZoIxGbUdy5VEAUR0AuGtSPbVnRIR1mdI+gsjyZm0g4qyk bC8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680616495; 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=8vxdDefvvddT/9lK9tLNVI9aT2fK3kIsSFEfydgZYtk=; b=SL4l+Hah/A3F/tUj42K/uO5FZ45RRdwe5s3Q8+q/QxWhZStA3SkktaEuzpyquqwnMa QBtSAzl77R8d878NScPy2+tf4zTJkVVq7acYCW3qOkZ4Fm8JQg5z9SUNkiaTCL6oBNhp XBO0Mg2UpN1CLiNLU2IwRO6j4zwznhzxy1ot7eZ1rYJk4ugUI0I5oGqIoDUl25ZHYOQg cuY28pJbtbOCrS85EByrZVfMN6brvRqo+WSeLFTxptFau80UzL8VdEomM69wx6244+aH zYdKBQPwitM8Kv11PEg5hHVMrQ7rm4uP9oTJ+1OciYmSXNYAsEhe621ltw57/A6bdaMM hawQ== X-Gm-Message-State: AAQBX9en8jfW3mfSxgJUSyPg5N7Q8YHgR98Lv7TlwMy2/W9ztHlKFFw8 91emzU+JoqkTL+GLAGuR3uCUzR7GSoxYhlMDap978w== X-Received: by 2002:a67:c812:0:b0:416:2ad3:35ba with SMTP id u18-20020a67c812000000b004162ad335bamr2335152vsk.1.1680616494759; Tue, 04 Apr 2023 06:54:54 -0700 (PDT) MIME-Version: 1.0 References: <20230125-tfp410_i2c-v3-0-a85d5f0f50f1@criticallink.com> <20230125-tfp410_i2c-v3-2-a85d5f0f50f1@criticallink.com> <4a22e085-b339-aa43-518e-d528c5f76de4@linaro.org> In-Reply-To: <4a22e085-b339-aa43-518e-d528c5f76de4@linaro.org> From: Jon Cormier Date: Tue, 4 Apr 2023 09:54:43 -0400 Message-ID: Subject: Re: [PATCH v3 2/3] drm/bridge: tfp410: Fix logic to configured polled HPD To: neil.armstrong@linaro.org Cc: Andrzej Hajda , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Williamson , Bob Duke Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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, Mar 31, 2023 at 5:00=E2=80=AFAM Neil Armstrong wrote: > > Hi, > > On 20/02/2023 23:10, Jonathan Cormier wrote: > > From: Michael Williamson > > > > The logic to configure polling (vs async/irq notification) of hot-plug > > events was not correct. If the connected bridge requires polling, > > then inform the upstream bridge we also require polling. > > > > Signed-off-by: Michael Williamson > > Signed-off-by: Jonathan Cormier > > --- > > drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridg= e/ti-tfp410.c > > index bb3f8d0ff207..41007d05d584 100644 > > --- a/drivers/gpu/drm/bridge/ti-tfp410.c > > +++ b/drivers/gpu/drm/bridge/ti-tfp410.c > > @@ -155,7 +155,7 @@ static int tfp410_attach(struct drm_bridge *bridge, > > return -ENODEV; > > } > > > > - if (dvi->next_bridge->ops & DRM_BRIDGE_OP_DETECT) > > + if (dvi->next_bridge->ops & DRM_BRIDGE_OP_HPD) > > dvi->connector.polled =3D DRM_CONNECTOR_POLL_HPD; > > else > > dvi->connector.polled =3D DRM_CONNECTOR_POLL_CONNECT | DR= M_CONNECTOR_POLL_DISCONNECT; > > > > A Fixes tag is probably needed here ? Thanks will do > > With that: > Reviewed-by: Neil Armstrong --=20 Jonathan Cormier Software Engineer Voice: 315.425.4045 x222 http://www.CriticalLink.com 6712 Brooklawn Parkway, Syracuse, NY 13211