From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 148A6C43458 for ; Wed, 8 Jul 2026 10:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wiCJPdyP8BXedzuht5LcvgYxzlG/wfOxad98jzuDwFM=; b=NFNs/0Gb9xL11Y bQ9XkNPtkh9eaqeTlOgcldHoznv/VqOTkPgxmSoeSCsnEJNkUFUe9PCmn1q90itBwthdK8nXJ2uQ+ E2iXw9vrGhqZ9HBwcYYdJCkdKLdb9g4mHthk9BIwEXoj2pT1g/QDelzfy+U7kX3xd83FUDr2WN7Nm bXBSDPfMbs0dbUPkZBMHL6QKtpqZtcmnKTA1mts6QY9iiS8WHPngjqdStPAbMp3WinXjSmQ+iITg+ i/0LfwELNtp0SDKxFi72u4TUPDkokt6XU7Xy//WJco4RXL+GmIZpW6603PqRS11KxqInRPNizmzZI 0u0XVVwjRjc5owowec1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1whPNL-0000000GsDq-3ozO; Wed, 08 Jul 2026 10:19:31 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1whPNJ-0000000GsCc-0czD; Wed, 08 Jul 2026 10:19:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1783505964; bh=t4DOSQvYZTk4aogo+c4G+/9IKm4UAqiMw36o1jDkqKc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=a08YaQTjh/lmoGKJCUBgd5xcipF4vvRTVqpmEgm5tN2tQ8FCVo2rbhVH4cbGrENXd LuEKARrfWMtakQXhdbthmdrUoVfhqwvNRHqT0gmMT8JnL5O0HjKGr8DnVIv/gkCiqV YJU3OjZzhSUaBGvPBZc5LrPo40m5AwLHbY5VS5FwYvNUfsAQ0nfJd1+xpuRlmKSc8I 1TlRt8c/FHHZ30ynN+OLRZ4doGvL3DkdAQw/b5H3fKEoDnMz+wnWkjSrOyZaYrcItO qkMtQmrZvQdLbMI8HhoiMi25hvaTQg94FcU1EKJbgexlwCzLwQQsbw/VdPAkV1RClf dQ4gOYNZTG90g== Received: from [100.64.0.241] (unknown [100.64.0.241]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: cristicc) by bali.collaboradmins.com (Postfix) with ESMTPSA id D83EC17E00F6; Wed, 08 Jul 2026 12:19:23 +0200 (CEST) Message-ID: Date: Wed, 8 Jul 2026 13:19:23 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 03/39] drm/display: bridge_connector: Pass HDMI capabilities through caps struct To: Maxime Ripard Cc: Dmitry Baryshkov , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Simona Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Sandy Huang , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Andy Yan , Daniel Stone , Dave Stevenson , =?UTF-8?Q?Ma=C3=ADra_Canal?= , Raspberry Pi Kernel Maintenance , kernel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: <20260702-dw-hdmi-qp-scramb-v8-0-d79890d00b6a@collabora.com> <20260702-dw-hdmi-qp-scramb-v8-3-d79890d00b6a@collabora.com> <20260708-bold-ruby-potoo-c6c949@houat> Content-Language: en-US From: Cristian Ciocaltea In-Reply-To: <20260708-bold-ruby-potoo-c6c949@houat> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260708_031929_347930_005AA27E X-CRM114-Status: GOOD ( 13.29 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On 7/8/26 9:46 AM, Maxime Ripard wrote: > On Fri, Jul 03, 2026 at 10:55:09PM +0300, Cristian Ciocaltea wrote: >> On 7/3/26 5:19 PM, Dmitry Baryshkov wrote: >>> On Thu, Jul 02, 2026 at 05:46:16PM +0300, Cristian Ciocaltea wrote: >>>> Switch drm_bridge_connector_init() to >>>> drmm_connector_hdmi_init_with_caps(), collecting the bridge's HDMI >>>> properties into a stack drm_connector_hdmi_caps so future HDMI 2.x >>>> capabilities can be plumbed without growing the argument list. >>>> >>>> Introduce struct drm_bridge::supported_hdmi_ver to let bridges declare >>>> the HDMI specification version they are conformant with, and forward it >>>> to the connector layer through the new caps struct so HDMI 2.x features >>>> can be gated on real source capability rather than guesswork. >>> >>> And it's left uninitialized by the bridges, which doesn't mean anything. >>> If you don't want to touch all bridge drivers in one commit, please >>> provide some migration path and hopefully get rid of it by the end of >>> the series. >> >> Sure, one question though: at the end of the migration, would it be fine to >> stick with drmm_connector_hdmi_init_with_caps() and just drop >> drmm_connector_hdmi_init()? Otherwise I'll rename it back. > > Absolutely, it doesn't make any sense to keep both variants. I was referring to whether option 3 might be the preferred choice in the context of the earlier patch discussion. Cristian _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip