Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6823892rwd; Tue, 6 Jun 2023 02:24:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5GDbo/9WCRuzRXmai4bEPltFOtL6wvbRBlK53bJfBiXUH2p3pSCr7AOB1w3zJ7GwtYckAF X-Received: by 2002:a05:622a:1ca:b0:3f6:db71:48a3 with SMTP id t10-20020a05622a01ca00b003f6db7148a3mr1664553qtw.28.1686043498065; Tue, 06 Jun 2023 02:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686043498; cv=none; d=google.com; s=arc-20160816; b=i5/x0HdHtUdCfAKMWrnNGCcdXza9nDH8NvvrTQYI00TI1wKTAum2bn4ej+8kePGNx3 m3nTDlpRA/a6QQzysaomOpHjEKX8ptFVsav/gebCE9WV10NKsAt5NYmvuaRU27RKUrCx FpWyuxgTWsX8RgX8JjfEshob1EfdMoqiE0Mm3TwA77uTalyhsOy8dJBoVBA79BDX3Vmy fq+zNKrXd2JqP1hpPBl3gwtiBq40kFtMKdLAFCt5TAXvzWbZUhSTjgkPpobPsq0X7/My mYKG/O4ocogLA2Qgz77V549oN2xkffylNIuwm9LY9BEAzLCeNyumASp3ToZuwBSMeJdn CBpg== 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=H7PV2fMN/fTvttTs59n+e74sqhlZtVJ8rgHwz2ZXCaA=; b=YMI84WhSXksMmuZ4ufQgu2z1wI8MRWWv2l+xP9XHZTdkOQaXFebFWsHPoc75m5DTXe 5aYYJG1os928QiTfERjzgiPj7xEmdf5/aKZhpIp8QeBwNFOQdoRPXKakv3eIn3pzMAe7 3bTUvgxDgjSVQvm4oEOBmaL7JIbeyEwri9vEjJI7CFyPo4UjEh7E650RbbPkvNPVHIjD JDo5lsQH3GoYVLjeOEEMNfoaTE5M6LUXExFuqzi/SURIU/wlVhRRDO33VVxPWH1TBjHz yu969KaEoEYBQbhFJ3knAmwrPiWRwFfzPL+JvCxMY/sneM325CfFZdbEEkVodsJZKbwe o7Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P9A0HFv6; 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 x6-20020a05622a000600b003f956866873si2630035qtw.212.2023.06.06.02.24.43; Tue, 06 Jun 2023 02:24:58 -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=P9A0HFv6; 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 S229669AbjFFJHa (ORCPT + 99 others); Tue, 6 Jun 2023 05:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjFFJH3 (ORCPT ); Tue, 6 Jun 2023 05:07:29 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4461109 for ; Tue, 6 Jun 2023 02:07:27 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-30c5e5226bdso3926700f8f.2 for ; Tue, 06 Jun 2023 02:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686042446; x=1688634446; 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=H7PV2fMN/fTvttTs59n+e74sqhlZtVJ8rgHwz2ZXCaA=; b=P9A0HFv67bS758BpN2s6TX8VNUdx6wqZc/0mTm/40VSiq5v1NQWYKhQZ4AHwMguj5r Oe6Cwayv3Vo+VZvLifB8yQsCCWOdTe3Q7znlWsHkUrOVSknhVr8qt7MV+dBI7KqCSC+q yWK7McIpvm8VQARio/ql1iLPVRYLVN1eDAHpv6Szu1G4jx3yG6Z4mDTFJnsX16TDxwKN qWwbZwx3o2Zu4ZRdQzwyfoHUY+OKBwbD4uj0YQUHkl1z6I3Pn3pcEoMBmxKzLKqCWZlq SVfGE2y1NeAGTUkYKTx13nmdPkrr0ENBmSpevQvwWezKgztxM1jYnn+ymHLW2eQyCnLx 01KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686042446; x=1688634446; 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=H7PV2fMN/fTvttTs59n+e74sqhlZtVJ8rgHwz2ZXCaA=; b=TX74MsEc5Lf2qk8hm78jtfbD2tjCJcev/AI03AWYiyJmaj2Kp5pbGqHJkqWV82GT8M LJDns75cdbKZ4T7p7ixjXwNObz9FwnIM7D9pa8PDaDGggnEVDi5Ron1Q2mqCLslZK96l +eZXvHNOPG221n8aThM9Yp3aE738wlZ2StCGHU2mTWwwQoUxFyv9chcFzOyBNVVX8URq zjnL3mFvGyaqHdfTqEIGcX8eN4JmMy/WWoTDbr8p1cW6vsyuvAonR0zewRUIQV50XFBM 09TYbm/eAK1dZwgAlzgC33xosxcWqsaJ9B8wj02Gj5Rm+KfjuDJiF9/G7dSkkUIp3k5n z1Pw== X-Gm-Message-State: AC+VfDxrOfEb1jYYdyl2chqHgy2eTn+N9ZDuRi03hm3ZsyJLGoMDoTLU 3B92TVcoymW0RonvTSTw50gfMg== X-Received: by 2002:adf:e4c4:0:b0:30a:d8df:6800 with SMTP id v4-20020adfe4c4000000b0030ad8df6800mr1194608wrm.33.1686042446300; Tue, 06 Jun 2023 02:07:26 -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 v10-20020a1cf70a000000b003f41bb52834sm16908761wmh.38.2023.06.06.02.07.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jun 2023 02:07:25 -0700 (PDT) Message-ID: <1f284e9d-5a1e-9fca-ceb0-478a413ae4ef@linaro.org> Date: Tue, 6 Jun 2023 11:07:24 +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 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> Organization: Linaro Developer Services In-Reply-To: <20230606082142.23760-1-a-bhatia1@ti.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 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 ? > > 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(-) >