Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3298919lfo; Mon, 23 May 2022 01:03:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi0tJE/7jrnutsvDKTDQ3yMkQyeqxLviwTGPoR+S+PFIQvQxz1Qjak76FoY3qc8vRcJSwj X-Received: by 2002:a05:6a00:2393:b0:518:9ff0:585e with SMTP id f19-20020a056a00239300b005189ff0585emr3993190pfc.8.1653293019736; Mon, 23 May 2022 01:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653293019; cv=none; d=google.com; s=arc-20160816; b=qoAgF4b8zwwmp67cppXpTnd38z+QRkvUkkG6sS1Z5+grzTsyUbRRQ+FSHF2v8ioPda NOWjft+2PEKv/MQ2zGwnjG8T+L1k7cxZXX74xlUapyTCVjVbkUSdrwmGZ3UG9+KpU1eA q33dIFA7ntzbhXwz37mCs3tn9e8p8EJSdKNXlGa0mL96y7R1Je0OfJAPe/O7Zd060xWd JOxz8rj0B9xDDuE5rBy9gkx8/JYV6rg0aIYQ/nCGLoqZJB7SMxkHRAEexagE9ffIXgYR N95mX3yyAH6vylZzyVDq1Be/S7UJIk8uexYrJPwdlAPpb0f3XbdyAtDLiId5Z/BpE4HA vuJw== 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=oK1yB+pWX7DUbSOpiHUXdRbl5cSW3whx4lZdoBBpZGI=; b=He6u9MY7/aZPQPSKuM3Rx0FHXtZ3SHSH0kR26bjcMXjGuW7J4x9V/U1bhtplvl83au pFoxd8BeUkyswY6wGomCF2I/flgGu9tLWK9fUcfmTnbvPzCA8SLF/b51+UwFyLK/gVKp ZB/XLhdG2LIFF8v+eawV49UHul+yYdUaO+zagiib4CkQPT/CeaD1e9stDp+E46NDOVKw CKm+ZXu1fTbb9CfYA2GFtTV52eBWcAt51NaxLqe7pjgGgRRoh0xr+GKk7mvYwsyh8Gfl 6vSVIl/XAWLsSitYiSORMZGv7MXcW2GM9EFwwCFlHgY63erwamQPRgWhNGrTegvzGfbc Ym/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=UrqSD+LV; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w13-20020a170902e88d00b001614cd997a6si10049352plg.481.2022.05.23.01.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:03:39 -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=@ffwll.ch header.s=google header.b=UrqSD+LV; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C890F21D66A; Mon, 23 May 2022 00:06:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245464AbiEUQ24 (ORCPT + 99 others); Sat, 21 May 2022 12:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbiEUQ2y (ORCPT ); Sat, 21 May 2022 12:28:54 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B71015DA4C for ; Sat, 21 May 2022 09:28:53 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id q10so13223539oia.9 for ; Sat, 21 May 2022 09:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oK1yB+pWX7DUbSOpiHUXdRbl5cSW3whx4lZdoBBpZGI=; b=UrqSD+LVWpiMGbElInA4v1zLlY3zz44S8My+BazS33dvc4USn2c/ACJivVLw21vW59 8tcYf2szyzOj5GjVLttevS5n+e2k7DtbJ5OHAGJ8NqfuwDOqtJhB9RSQnh9LeV5FuIid DBCRdv47mdQhwfLitq4LgbXd3yizYz5n1gG0s= 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=oK1yB+pWX7DUbSOpiHUXdRbl5cSW3whx4lZdoBBpZGI=; b=PyOd2vl+oXoBVfIxiso2iVoyFUQqIP4Q/LJm8uYd43S93EeuJeDppjNywvQ2QrDajK Zau8eQgwNHBOJ41C2QMgGGE0c01aJGXQbinfFdu0CZYbV3fDD3uYnymBd1Qqv14oY7/9 zQdU4fVTPBDBeBLWF9D4TO2PbzfZyya7+HX2dyfU0xzHWuUb0QWD7Xbv6jAHtVgcEoAY EIMGy/lR10mb8O+nuItkRAmZau8wCmPuphuSi9mJa0CVoZSOPb6OuSqJo61Jr7QHjMqH TsdPq6iZ8gtDUDEcY6O7b/3xYOoAIl/nJbzIrquLHbe3HOGaMrdke65l5T+/bV460KRQ QCnw== X-Gm-Message-State: AOAM531ErVaHZYtRIYef9OIoVFLWoHjrr6Qv/FDyi6sYwPduL1uS+nh0 CS8ddKmhHnU6DBzfrGb9nrcqhd8vzb2k+/ql4sowlw== X-Received: by 2002:a05:6808:2181:b0:326:901e:f5e7 with SMTP id be1-20020a056808218100b00326901ef5e7mr8641168oib.7.1653150533098; Sat, 21 May 2022 09:28:53 -0700 (PDT) MIME-Version: 1.0 References: <20220422084720.959271-1-xji@analogixsemi.com> <20220422084720.959271-4-xji@analogixsemi.com> <20220425091419.GA967110@anxtwsw-Precision-3640-Tower> In-Reply-To: From: Daniel Vetter Date: Sat, 21 May 2022 18:28:42 +0200 Message-ID: Subject: Re: [PATCH v2 4/4] drm/bridge: anx7625: Use DPI bus type To: Robert Foss Cc: Xin Ji , Neil Armstrong , David Airlie , qwen@analogixsemi.com, Jonas Karlman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jernej Skrabec , Andrzej Hajda , Chen-Yu Tsai , bliang@analogixsemi.com, Laurent Pinchart 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 Sat, 21 May 2022 at 18:07, Daniel Vetter wrote: > > On Tue, 17 May 2022 at 18:09, Robert Foss wrote: > > > > On Mon, 25 Apr 2022 at 11:14, Xin Ji wrote: > > > > > > On Mon, Apr 25, 2022 at 04:24:50PM +0800, Chen-Yu Tsai wrote: > > > > On Fri, Apr 22, 2022 at 10:13 PM Robert Foss wrote: > > > > > > > > > > On Fri, 22 Apr 2022 at 16:01, Robert Foss wrote: > > > > > > > > > > > > On Fri, 22 Apr 2022 at 10:49, Xin Ji wrote: > > > > > > > > > > > > > > As V4L2_FWNODE_BUS_TYPE_PARALLEL not properly descript for DPI > > > > > > > interface, this patch use new defined V4L2_FWNODE_BUS_TYPE_DPI for it. > > > > > > > > > > > > > > Fixes: fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature") > > > > > > > Signed-off-by: Xin Ji > > > > > > > --- > > > > > > > drivers/gpu/drm/bridge/analogix/anx7625.c | 8 ++++---- > > > > > > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > > > > > > > > > > > diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > > index 376da01243a3..71df977e8f53 100644 > > > > > > > --- a/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > > @@ -1623,14 +1623,14 @@ static int anx7625_parse_dt(struct device *dev, > > > > > > > > > > > > > > anx7625_get_swing_setting(dev, pdata); > > > > > > > > > > > > > > - pdata->is_dpi = 1; /* default dpi mode */ > > > > > > > + pdata->is_dpi = 0; /* default dsi mode */ > > > > > > > pdata->mipi_host_node = of_graph_get_remote_node(np, 0, 0); > > > > > > > if (!pdata->mipi_host_node) { > > > > > > > DRM_DEV_ERROR(dev, "fail to get internal panel.\n"); > > > > > > > return -ENODEV; > > > > > > > } > > > > > > > > > > > > > > - bus_type = V4L2_FWNODE_BUS_TYPE_PARALLEL; > > > > > > > + bus_type = 0; > > > > > > > mipi_lanes = MAX_LANES_SUPPORT; > > > > > > > ep0 = of_graph_get_endpoint_by_regs(np, 0, 0); > > > > > > > if (ep0) { > > > > > > > @@ -1640,8 +1640,8 @@ static int anx7625_parse_dt(struct device *dev, > > > > > > > mipi_lanes = of_property_count_u32_elems(ep0, "data-lanes"); > > > > > > > } > > > > > > > > > > > > > > - if (bus_type == V4L2_FWNODE_BUS_TYPE_PARALLEL) /* bus type is Parallel(DSI) */ > > > > > > > - pdata->is_dpi = 0; > > > > > > > + if (bus_type == V4L2_FWNODE_BUS_TYPE_DPI) /* bus type is DPI */ > > > > > > > + pdata->is_dpi = 1; > > > > > > > > > > > > > > pdata->mipi_lanes = mipi_lanes; > > > > > > > if (pdata->mipi_lanes > MAX_LANES_SUPPORT || pdata->mipi_lanes <= 0) > > > > > > > > > > > > Reviewed-by: Robert Foss > > > > > > > > > > Acked-by: Robert Foss > > > > > > > > Tested-by: Chen-Yu Tsai > > > > > > > > Confirmed this fixes the display on Juniper (Acer Chromebook Spin 311) on > > > > mainline (next-20220422). > > > > > > > > Xin, in the future, please send the whole series to all recipients of > > > > all patches listed by get_maintainers.pl, not just the recipients of > > > > each patch. In the case of this series, they should have been sent > > > > to all of the mailing lists (media, devicetree, dri-devel) so that > > > > everyone has the same, full view of the patches. > > > Hi ChenYu, OK, I'll send to all media, devicetree, dri-devel next time. > > > Thanks, > > > Xin > > > > > > > > ChenYu > > > > Applied 3/4 + 4/4 to drm-misc-next. > > This patch doesn't even compile. Can you pls fix this up asap? Also > pls compile-test before pushing ... Marek says the prerequisite landed through linux-media, and that's why it compilers on linux-next but not in drm-misc-next. Don't do that. Instead: - merge all patches through one branch, with the foreign patches acked for that merge patch - wait until you can backmerge all the dependencies - do a topic branch This probably needs to be reverted here and instead merged through linux-media. Or you wait until -rc1 and then apply it to drm-misc-next. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch