Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6854153rwd; Tue, 6 Jun 2023 02:58:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4wcmTxmVsaoFLjwjXtp+qOO5gyezuP9YOktYhJ4SoSPCvCFzyPim0BF8wnG/Hsx7U3Mnl5 X-Received: by 2002:a9d:6a45:0:b0:6af:9f36:fae4 with SMTP id h5-20020a9d6a45000000b006af9f36fae4mr2309351otn.10.1686045498622; Tue, 06 Jun 2023 02:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686045498; cv=none; d=google.com; s=arc-20160816; b=KH87oSKrjtilxljcNQellJQXbRLlrMNs/4zIdLhW41XkRgSh5lt4n3rtTb85fTQ0JZ 4OiMS8i1Ip3fEkPAenvWfC74f5+1B3eBs9SsfbMSw5FjMBl9auxJE5WU1coeI18+qTuU ujooyKwZT2cRcnWM7RF35xwZogibPtscoiGO2lC910ab9ADHrFFZjl1YSj6byNZQ+D92 KAB9+9Rjixx+u0cSVb8pTjTGd79Yc10tZDLvcEAixjCdD+R9mVT2J0sbaeATpCIdnzOa no0u4+7hcEfqAYq9+ieg9yj31dp/zSIJiyc84FgCBuBM+68YvqYmPFFlNfapPW0hSpK4 z+NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:references:cc:to:content-language:subject:reply-to :from:user-agent:mime-version:date:message-id:dkim-signature; bh=nH9IXy+8mmr6fEKUjeAVrm6OrEN2ynlfCA5RHInWD/g=; b=v/10uSrMrMMKv9sUvdN35NXUjk6QTjdMhFJnRHTBKcQ4k3VdEgq0487cE7hxlzgeIM Is6SYagJt9UlIO5NwWdXmkx/mQ3KOUopn/KAlslRk7qVthv7Ib99D5HAgMUYllAHdCJq zYwgKg67CrURVNuoVisCudX8rFi+SgCOSlWWgMPxV5M9Bnsayzih4PT4FsLegMMQKNH3 78zCK9BO/7MYrhNaFlSha386H3/3M2oA70XcWRuOqPjqh/8EKtKtd1IUJufaaLhtawS1 QyzNEhHPuOx1xJWsZQ1V3JLurHIgvwyr3r8SHsOBtbQiNb7hFsVL0NpF957AY2ud7rYn iKAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zTebeQ5V; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s190-20020a625ec7000000b0063b1fbbb8c5si6807519pfb.131.2023.06.06.02.58.06; Tue, 06 Jun 2023 02:58:18 -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=@linaro.org header.s=google header.b=zTebeQ5V; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237436AbjFFJs4 (ORCPT + 99 others); Tue, 6 Jun 2023 05:48:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237446AbjFFJsg (ORCPT ); Tue, 6 Jun 2023 05:48:36 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF29310C8 for ; Tue, 6 Jun 2023 02:48:30 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f623adec61so60422395e9.0 for ; Tue, 06 Jun 2023 02:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686044909; x=1688636909; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=nH9IXy+8mmr6fEKUjeAVrm6OrEN2ynlfCA5RHInWD/g=; b=zTebeQ5VTcDvGTHY8x8b4YFkkkxmVmwYcyWt+L7EqJFGAHB/Aw1MfV7XdsSJl6g9ZS QFf+cyBsG0jZnG1q00buj8TnKt9PPwmSiGAaRdGFuesUi9uJ/Y+aM2HUrXuUNIsTI3H5 jDDgU0U6C2pxVmhDBjeJWneb40ID2C93V/65PzPwfn2kB0zYEQKHlntsA/i2hDxGA1eT dPNTIt61dgFsE0BY6JSQHu2gGkQaU2nwxThexB+KzF9hxx6h4o0skGMdD9NKSpOkD/83 FZ3ZUGG4kVAUkJBc6KeTnhzadR6SS3GVnBtqB+Jklyb7EXkx3xCFCB2Bp6fzZRAL1lF0 YfFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686044909; x=1688636909; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nH9IXy+8mmr6fEKUjeAVrm6OrEN2ynlfCA5RHInWD/g=; b=eAunhoNMXmvFYXlnXP39VVbBLD4jSJ61oOuqHAptBUoM0Eqcd/502T3iUYU2W4GSKJ FZNLJIavIAa+trvfs7Tt9cW9Dsc9y1a138h+PQAxLJuzt/xm+eDF9+7pUEn8+W8ORA2j avjMwYQ4ynCnp1h6Xw5dOs/o+5r1m/aG073vKNZ2OKPewsOzxvkXot0t8usWe4fMUehp 1qtWE/PGIDWSwcoCN7ORHVEiN8mieeRkjQKtVLbeGLHoioTZhwF38yZTOWaYesH5AXw5 hEOPBalHdMz+tC88lwkRbGh6Spga6jmJ5ARzfh0P5I9sXfUPAozekKc1DArTwM1uYhbm cL6w== X-Gm-Message-State: AC+VfDzvD/ruppMaVTz05GHj3Fplvl/ewDHe2AvImfpM9MjWoJ0bXQZd 51VrV08rISjwPS837vPA9ik/7g== X-Received: by 2002:a7b:cb92:0:b0:3f7:29c4:8fbd with SMTP id m18-20020a7bcb92000000b003f729c48fbdmr1620359wmi.27.1686044909090; Tue, 06 Jun 2023 02:48:29 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:4973:1165:b171:fa69? ([2a01:e0a:982:cbb0:4973:1165:b171:fa69]) by smtp.gmail.com with ESMTPSA id y20-20020a05600c365400b003f60a446fe5sm13553200wmq.29.2023.06.06.02.48.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jun 2023 02:48:28 -0700 (PDT) Message-ID: <42151d11-12d9-c165-0d4b-a0af80b683c3@linaro.org> Date: Tue, 6 Jun 2023 11:48:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v7 0/8] drm/tidss: Use new connector model for tidss Content-Language: en-US To: Aradhya Bhatia , Tomi Valkeinen , Jyri Sarha , David Airlie , Daniel Vetter , Laurent Pinchart , Andrzej Hajda , Robert Foss , Jonas Karlman , Jernej Skrabec , Swapnil Jakhade , Boris Brezillon , Francesco Dolcini Cc: DRI Development List , Linux Kernel List , Nishanth Menon , Vignesh Raghavendra , Rahul T R , Devarsh Thakkar , Jayesh Choudhary References: <20230606082142.23760-1-a-bhatia1@ti.com> <1f284e9d-5a1e-9fca-ceb0-478a413ae4ef@linaro.org> <1b31f36c-b1ba-43b5-9285-0f50384a78cf@ti.com> Organization: Linaro Developer Services In-Reply-To: <1b31f36c-b1ba-43b5-9285-0f50384a78cf@ti.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 06/06/2023 11:46, Aradhya Bhatia wrote: > Hi Neil, > > Thank you for reviewing the previous patches! > > On 06-Jun-23 14:37, Neil Armstrong wrote: >> Hi, >> >> On 06/06/2023 10:21, Aradhya Bhatia wrote: >>> Hi all, >>> >>> I have picked up this long standing series from Nikhil Devshatwar[1]. >>> >>> This series moves the tidss to using new connectoe model, where the SoC >>> driver (tidss) creates the connector and all the bridges are attached >>> with the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR. It also now creates bridge >>> to support format negotiation and and 'simple' encoder to expose it to >>> the userspace. >>> >>> Since the bridges do not create the connector, the bus_format and >>> bus_flag is set via atomic hooks. >>> >>> Support format negotiations in the tfp410, sii902x and mhdp-8546 bridge >>> drivers as a first step before moving the connector model. >>> >>> These patches were tested on AM625-SK EVM, AM625 SoC based BeaglePlay, >>> and J721E-SK. Display support for AM625 SoC has not been added upstream >>> and is a WIP. To test this series on AM625 based platforms, basic >>> display support patches, (for driver + devicetree), can be found in >>> the "next_AttachNoConn-v2" branch on my github fork[2]. >> >> I can apply all bridge patches right now so only the tidss change remain, >> is that ok for you ? >> > > While the bridge patches and the tidss patch can be separately built > without any issue, the tidss functionality will break if only the bridge > patches get picked up, and not the tidss. > > Would it be possible for you to pick all the patches together once Tomi > acks the tidss patch? Sure Neil > > > Regards > Aradhya > >> >>> >>> Thanks, >>> Aradhya >>> >>> [1]: https://patchwork.freedesktop.org/series/82765/#rev5 >>> [2]: https://github.com/aradhya07/linux-ab/tree/next_AttachNoConn-v2 >>> >>> Change Log: >>> V6 -> V7 >>>    - Rebase and cosmetic changes. >>>    - Drop the output format check condition for mhdp8546 and hence, >>>      drop Tomi Valkeinen's R-b tag. >>>    - Added tags wherever suggested. >>> >>> V5 -> V6 >>>    - Rebase and cosmetic changes >>>    - Dropped the output format check condition for tfp410 and hence, >>>      dropped Tomi Valkeinen's and Laurent Pinchart's R-b tags. >>>    - Based on Boris Brezillon's comments: dropped patches 5 and 6 from >>>      the series and instead created a single patch that, >>>        1. Creates tidss bridge for format negotiation. >>>        2. Creates 'simple' encoder for userspace exposure. >>>        3. Creates a tidss connector. >>>        4. Attaches the next-bridge to encoder with the >>>           DRM_BRIDGE_ATTACH_NO_CONNECTOR flag. >>>    - Add format negotiation support for sii902x driver. >>> >>> Previous versions: >>> V1 to V6: https://patchwork.freedesktop.org/series/82765/ >>> >>> Aradhya Bhatia (3): >>>    drm/bridge: sii902x: Support format negotiation hooks >>>    drm/bridge: sii902x: Set input_bus_flags in atomic_check >>>    drm/tidss: Update encoder/bridge chain connect model >>> >>> Nikhil Devshatwar (5): >>>    drm/bridge: tfp410: Support format negotiation hooks >>>    drm/bridge: tfp410: Set input_bus_flags in atomic_check >>>    drm/bridge: mhdp8546: Add minimal format negotiation >>>    drm/bridge: mhdp8546: Set input_bus_flags from atomic_check >>>    drm/bridge: cdns-mhdp8546: Fix the interrupt enable/disable >>> >>>   .../drm/bridge/cadence/cdns-mhdp8546-core.c   |  77 ++++++---- >>>   .../drm/bridge/cadence/cdns-mhdp8546-core.h   |   2 +- >>>   .../drm/bridge/cadence/cdns-mhdp8546-j721e.c  |   9 +- >>>   .../drm/bridge/cadence/cdns-mhdp8546-j721e.h  |   2 +- >>>   drivers/gpu/drm/bridge/sii902x.c              |  40 +++++ >>>   drivers/gpu/drm/bridge/ti-tfp410.c            |  43 ++++++ >>>   drivers/gpu/drm/tidss/tidss_encoder.c         | 140 +++++++++++------- >>>   drivers/gpu/drm/tidss/tidss_encoder.h         |   5 +- >>>   drivers/gpu/drm/tidss/tidss_kms.c             |  12 +- >>>   9 files changed, 235 insertions(+), 95 deletions(-) >>> >>