Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6875009rwd; Tue, 6 Jun 2023 03:17:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5R5n+qGsQAtGxhj/3C/5w73tSEu5phKGInJTT46wps+W/AS1NKA1MR/8YiNgxNY0T4meHh X-Received: by 2002:ac8:7d96:0:b0:3f6:aff0:6df2 with SMTP id c22-20020ac87d96000000b003f6aff06df2mr1699510qtd.31.1686046631868; Tue, 06 Jun 2023 03:17:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686046631; cv=none; d=google.com; s=arc-20160816; b=RyP3bIJJblMZEJbTJkHpmIDPJnedjpGGrilZu6YmJJVY40/5Bs2zICqlzvS8/JuWH9 W5pPncPZxgFvjSte3wapdYmJZv7+Nh1xuvqn1L0+wACDvRQHqWv4m/IMMPm/PQgf2rRe z6nYn9of3UpLSebpBd67vN/OIS25vW3T1YWW109xnU1AYEGou6vYm13jJM8FvBiFn75X GdmY8j/iPhrROccHd0hnmvb2wtl0BKgwTULZE2cb2nyzLJAZr3oZc7MoHSpDJ17XPRJt 3KM7lv7L2Q1tes2MMpxe18aNpy0f0m3rFa2sS8pk0Iw6ekymy5R9Jt6fEW34wq5jAWwi CZLQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/CpVUW5KJqV8jUtMerYvOT4MMkJcqj7gtawJjpNIJBk=; b=CjCMRqe4iQBa2dfU4c+6jkSM8pWuleCLHtquLjkCGmsvRaUG47KJ/2QdV51EjsMZwX Mh7/8TjUkdhMmg86q6Aes8koSzUWPHjoqOM4m03PqvEEPOZUlSciY12RiFN7aaW706nx KooVm2FBGI1aQl3nw3nafpLXiYO4i4eVJN9nDsMIJG8VImkq+cULaph+lpuo1dZz7lDp 90vW5IbVPs8f4Odys/mCh9Xy3LS4dptQVtBX26z02DjLWO1fm3QddZx4OBIj454z5el4 kg0zH4nSC61ulcdSKE5Go26aEGTFafiZwWD+l47a86DTgk9PrfgrhKGH+eqDyT8jzM4N peYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ivvb35jA; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b21-20020ac85bd5000000b003e4e39b3567si5826649qtb.593.2023.06.06.03.16.57; Tue, 06 Jun 2023 03:17:11 -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=@ti.com header.s=ti-com-17Q1 header.b=ivvb35jA; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236745AbjFFJrk (ORCPT + 99 others); Tue, 6 Jun 2023 05:47:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236722AbjFFJrf (ORCPT ); Tue, 6 Jun 2023 05:47:35 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ABFD83 for ; Tue, 6 Jun 2023 02:47:33 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3569kvk3041536; Tue, 6 Jun 2023 04:46:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686044817; bh=/CpVUW5KJqV8jUtMerYvOT4MMkJcqj7gtawJjpNIJBk=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=ivvb35jAW2dVixTnUeGGWBgwNAKYlhtFXguYCiZvJhdjUVlLsDihMrmHOjGpjW1wd mTuLgLRJBTSm7onzz+B/K8dW8ZEUbB7t5reT9L0OUjvXYCbUecKwhmfaIPXv13FPD7 ZL21jMIoMA1+vYCAO+XGfsJ93QiRj22FNzfgo1sY= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3569kvZB018974 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 6 Jun 2023 04:46:57 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 6 Jun 2023 04:46:56 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 6 Jun 2023 04:46:56 -0500 Received: from [172.24.218.160] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3569koec009877; Tue, 6 Jun 2023 04:46:51 -0500 Message-ID: <1b31f36c-b1ba-43b5-9285-0f50384a78cf@ti.com> Date: Tue, 6 Jun 2023 15:16:49 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v7 0/8] drm/tidss: Use new connector model for tidss Content-Language: en-US To: , 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> From: Aradhya Bhatia In-Reply-To: <1f284e9d-5a1e-9fca-ceb0-478a413ae4ef@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,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 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? 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(-) >> >