Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.75.101 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796039542; b=aQYJ5V8TqePs2Crvk3UUPDQdeJlX43cjZDiJrn3YSP9GO/+0N9TEXISGL7f6n+rlcQ36 W0X6a3pOIh/wbvHCgO/FtwehUF0xQDh8cfCpuyllk+uoQEFYmT3uLeureTUDh/0dZ/FWE GMsLjtsDMuKlRUGuSc55EXYTLbLJvxzaYin8lV5Rhf+zx4rOBiF2IWO6VCbb0FZ6/thJw Zf6Nw520yZj/hmPhgY9QFX6MwTY5N0NrjTXqKZ/PlNUMUSWTEo5E0UM6c0SxKNb4y6fXR inBb4ZKyE57QWx1nm1YN/XsejEw5e4AvGOaL6VadqpTQGLeoQbllHIT80HWv0WxiLAQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796039542; h=DMARC-Filter:Received:Received:X-MS-Exchange-Authentication-Results: Received-SPF:Received:Received:From:To:Cc:Subject:Date:Message-Id: X-Mailer:MIME-Version:Content-Transfer-Encoding: X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:Content-Type: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=QQi7fUO8IZPTSEUJStru9SFPZNiIZezVaBzYKKNKC3Y=; b=PniSQ7H3zAmeNZJaC5Xab7sD5URMVwUY01+IXEOx93SAejf17nFA519g1USVMLLnXv1W Bt6iqfUSSpgKe4JQ32TUoQW1KBXkwPNOApL4K5S4sururMRpHC1Hy/4Orefiha5rMGBl/ WzX4UzSb98u3rO48cZZrMBcaz4uoaxDaWRMlVLwkgev4gGbvzyOixKBbo2UjmPIUXA26m rHMm17Cv5+RCa5mCsj1uW++NsWoo7KLBf+UdrFsikXVd0Vtfrqx7w1Wzo0RMaa2ERrBzn s1v/dN7Pjqd4Tl/kAfOw/OMolA3VEoSelrHPoejbq/9kJuyqllJ88mZ3iZ6uAKGAXbA== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=cixtech.com; spf=pass smtp.mailfrom=cixtech.com; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.75.101 Received: from OS8PR02CU002.outbound.protection.outlook.com (mail-japanwestazon11022101.outbound.protection.outlook.com [40.107.75.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62033606A31C for ; Mon, 30 Nov 2026 11:52:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 62033606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cixtech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Jl/DOPorEX5jLEC5qkGJf/RnKdkaJDz8XaCjhq8Xyo2AsxId9fkHqiwA5gLzPQYtfoDWR18uYEI+Z39B9h2iXMCcxBd/Iea1o7EAL82FLm7Of6YVsKluxAw/fmrhNJY5U1+4UxgtxZgpaLs8mn3RqnjyBBQhy8KxaQIFI62fO8ieSNXOxVxaS+SVjDH2ThwrNxcWvqkRLIXYo6unKN6nCTCCzQDpt2XAigLHQEpL4IouhGUHmWKOSjBPDvVc7mwx90Kfy2J/Lqif45dBOFuPua7LAG9GAE8MycpU1s5S2E8oV+yeXluNKjAkptsOBeFuy9VOkOef2CS4XF8FjkR9MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QQi7fUO8IZPTSEUJStru9SFPZNiIZezVaBzYKKNKC3Y=; b=Mkwga8oQ6m4t+4IMbxsDmTP63ZWbSnJcO6kwZLa+PdLLgoVenndpjrh9yxVCUYTjt2lrWUsdVbBYJJNFSV+x8dZL9yQJwwJAyqLloBeGezbISnVIXZ0IquczY/vjEc5jxQSJkDntAcl4ZdWkv0CugUxH2NyGbqY23V53yEK8pNUdhryGSW1GTBU7y+UaiWbS9AOXK8BawPEQ40Hhp6e3VIZdIhluiSeSnKetkZXQ3ddH/d1+4/OgoRKpXMyvnd6lUBOd3BQ7eVX2fF0ne1uxwzm7nQjoqQCU81MRTa6/o+VM7/HRO1hklugPgE77Kr0hFAZ1udSbSD6mnK6cZT3dIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 222.71.101.198) smtp.rcpttodomain=arm.com smtp.mailfrom=cixtech.com; dmarc=bestguesspass action=none header.from=cixtech.com; dkim=none (message not signed); arc=none (0) Received: from SI3PR02CA0007.apcprd02.prod.outlook.com (2603:1096:4:295::9) by SETPR06MB9094.apcprd06.prod.outlook.com (2603:1096:101:316::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.9; Mon, 30 Nov 2026 11:52:19 +0000 Received: from OSA0EPF000000C8.apcprd02.prod.outlook.com (2603:1096:4:295:cafe::28) by SI3PR02CA0007.outlook.office365.com (2603:1096:4:295::9) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.12 via Frontend Transport; Mon, 30 Nov 2026 11:52:18 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 222.71.101.198) smtp.mailfrom=cixtech.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=cixtech.com; Received-SPF: Pass (protection.outlook.com: domain of cixtech.com designates 222.71.101.198 as permitted sender) receiver=protection.outlook.com; client-ip=222.71.101.198; helo=smtprelay.cixcomputing.com; pr=C Received: from smtprelay.cixcomputing.com (222.71.101.198) by OSA0EPF000000C8.mail.protection.outlook.com (10.167.240.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Mon, 30 Nov 2026 11:52:17 +0000 Received: from localhost.localdomain (unknown [172.16.66.33]) by smtprelay.cixcomputing.com (Postfix) with ESMTPSA id D81B6427EFDB; Mon, 30 Nov 2026 19:52:13 +0800 (CST) From: Luo Liu To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Liviu Dudau , Russell King , dri-devel@lists.freedesktop.org Cc: Ayan Halder , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Kory Maincent , Luca Ceresoli , David Airlie , Simona Vetter , linux-kernel@vger.kernel.org, cix-kernel-upstream@cixtech.com, Wuyi.Shen@cixtech.com Subject: [PATCH v5 0/2] drm/komeda: use the bridge connector Date: Mon, 30 Nov 2026 19:52:11 +0800 Message-Id: <20261130115213.843515-1-Luo.Liu@cixtech.com> X-Mailer: git-send-email 2.25.1 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OSA0EPF000000C8:EE_|SETPR06MB9094:EE_ Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 43c79278-1aa9-4210-63eb-08df4ed86255 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|23010399003|1800799024|82310400026|42112799006|7416014|376014|10067099003|56012099006|261028144727099003|261026121527099003|261026140227099003|261102123227099003|261021121427099003|261021123027099003|261022105027099003|261022075727099003|261009223027099003|261009223327099003|261009221727099003|261009221227099003|261009220027099003|18002099003|6133799003; X-Microsoft-Antispam-Message-Info: nRL4glzNkL6JJ2AtBp+Yhw02oO9bbmb810aMZwqose9SZsVDYU/9eOF2OKhgWHsRX25Z2895owVyxn4drNt3mkBqZTZEQr2R2BD8HtxL163KZzBF/3SMxiXoNE1BAO6UbZdxvgYUswCC/rVMjdhkC1eJmdIoF97UmowwQPGixDHdj7+k+CPN3qzNB+L2uHrl8zyqvVvp8cFpxlL5/sidNG8hngnPGybZxv+b5q6POZ4DAax3H8wUa5t0WmmxB6aVq3FTGs7rN3jAhy3uNF8lkVBwnuFDSAZVt/5/DvMxga/8g4GXPXOL5ZUz2bGyS9ctwZgdxs9TFaqCtgEh/Nmz4eZuVn0k94QSxdvNoT9nEdFPGyaholvIjZLnwyqWwb7VsFhqtEoos+eT8bhnUgn9c6O6tfwRQC5xo25Mj7VEPq3GxXGJ0dH2EsmPVDY/WZnbwSV1odOXZnXHtSFOZZRFh9Wk1fiP+UTPWR52YjWDvoHDqc9HSXOeSOxbejyfvR5pzOLjVpsxy3khkrGO+0lYYwbWDZrq8T4do9ClvKmFrA+zObKxrvV1L3gQsLsWmNpUvOuv6hBRS6kh19bad1a2SPtEs1kRo4gPNrf7X8C25Antfo0KJxGnBLZvrDK93jHjQjpQYQgBO54lSjdneuW/SMnquBP02r6w9SIEgC+B0b358DGFs3GJj91oJis+ZWkHp7bSTddkOXnQPiw2MyMt2A== X-Forefront-Antispam-Report: CIP:222.71.101.198;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:smtprelay.cixcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700016)(23010399003)(1800799024)(82310400026)(42112799006)(7416014)(376014)(10067099003)(56012099006)(261028144727099003)(261026121527099003)(261026140227099003)(261102123227099003)(261021121427099003)(261021123027099003)(261022105027099003)(261022075727099003)(261009223027099003)(261009223327099003)(261009221727099003)(261009221227099003)(261009220027099003)(18002099003)(6133799003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: P0v68sXidbGTbKJWt4U1JZH8y8gp6OKyBzlU3Dv+VUb+XFxnzR70mXjg/U0yqQWsX4FYTYu6q6xqGWvCcluGKlYg6hF/7hOFir9Ih+7SthhDwMSDEze7ATCHqPcNmBLXmQmu9j1ExG0Is2rZNMgorcnvCmhHxgyu3ty8dulsmG6efvb0P+xBww3cIbrdEHw0qnXcM3YbvHaIq/cx6OVtaPsnllhWvsQLjpmxRsgSjQ8KPlyAhDUFxWfvHIA9/rKmTWq+DgTOu0ae4vzezCvanDhdMvCFtbLcLUWz1E2Y/zYpA3fmNFGdIV2AbNOyk25APCbLTQyv3wdjih3brdb4NlBps+WZqlF507wWJ6NWh/4/vIGp2OqApknIK5t433geS/a2RA+PBETYxPDb31erLeNRtw5+Hmv5jihSO+utlZyNkRIqf0ODyJHBqoG1TMWz X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 11:52:17.5328 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 43c79278-1aa9-4210-63eb-08df4ed86255 X-MS-Exchange-CrossTenant-Id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0409f77a-e53d-4d23-943e-ccade7cb4811;Ip=[222.71.101.198];Helo=[smtprelay.cixcomputing.com] X-MS-Exchange-CrossTenant-AuthSource: OSA0EPF000000C8.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SETPR06MB9094 Bridges following the new DRM bridge model no longer create a connector themselves: the display driver has to attach them with DRM_BRIDGE_ATTACH_NO_CONNECTOR and create one connector for the whole chain with drm_bridge_connector_init(). Convert komeda to that model, so it keeps working with bridges that have moved to the new one. The bridges komeda binds to in mainline support connector-less attach, so boards using them are unaffected. drm_bridge_connector_init() creates the connector with drmm_connector_init(), which does not allow a ->destroy hook, so the mode configuration has to be released by DRM as well. The second patch switches komeda to drmm_mode_config_init() and adapts the private object cleanup to the new teardown order. This series was previously posted together with komeda teardown fixes and a tda998x fix. Those are independent changes, so they are sent as a separate fixes series. Changes in v5: - Split the fixes out of the series, as they are merged through a different tree. This series only contains the conversion to the bridge connector model. - Added the missing cover letter. Luo Liu (2): drm/komeda: Use the bridge connector drm/komeda: Use drmm_mode_config_init() drivers/gpu/drm/arm/display/Kconfig | 2 ++ .../gpu/drm/arm/display/komeda/komeda_crtc.c | 18 ++++++++-- .../gpu/drm/arm/display/komeda/komeda_kms.c | 36 +++++++++++-------- .../gpu/drm/arm/display/komeda/komeda_kms.h | 2 +- .../arm/display/komeda/komeda_private_obj.c | 23 +++++++++--- 5 files changed, 57 insertions(+), 24 deletions(-) -- 2.25.1