From patchwork Wed Dec 7 10:22:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13066944 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 0B908C4708D for ; Wed, 7 Dec 2022 10:27:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 344B410E38F; Wed, 7 Dec 2022 10:27:22 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2544E10E38F for ; Wed, 7 Dec 2022 10:27:17 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7C93F5C0114; Wed, 7 Dec 2022 05:27:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 07 Dec 2022 05:27:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1670408835; x=1670495235; bh=loLEWF9/Hm qi4zpCJxwmMjkK/vA2L1bwza6NoHA9Kbc=; b=PpkJDUMfjfnmhoYYGZxyQgUL7T d1TlwuTPBSsGVB8ELxNhpZjzsfnLHZXApLQ5nKdjOrMEHWUG8z9LEg/f6R7bs6RL Ivvw/pXy3VCV05fbkEfdR0n+J4oDMHfysqv++7jSDSLkfQ4Wbo2gBx2m57zupLCf 5dFWACyLgQq/N1RE3earoj/qjt3pMmIc4Xm1pSyFF9ljkmWHGUSgPpm0hf3pibSK bJQFPIlpD1IA8RNcrNJE324VeOUMS+01bROOUK7KqBoAOP+NcarHYNZEfnY4zqUA 0Yr8I/teOEuRjjpriiAPbg5uW6nJFA3ZM7TCX+pqQqsLkK8kxN9Nhg03lQwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1670408835; x=1670495235; bh=loLEWF9/Hmqi4 zpCJxwmMjkK/vA2L1bwza6NoHA9Kbc=; b=QSbQJ6r1cM7ZZDUHUFeUP+i3vobGj vIWAKpFEzpIcVT3f/zQxqc8AbdhSWRrt+yK/fGB4NtVW0y6ShRiuIjA4z0nK1bKr Cxs8McLNSnhwwVGJWAeiKTpzLp6801m6d2TssAwxXl5KSYcRbUL71/tZJshI9N61 Gy8Fb8MKNEbjWhvHQV0VRMHAz/tbgi1jDXgwhaYSKzKE1NeRe+VvxNIssW19qdwJ /BoQsovIP/7JhYVuIDF91evqmkl9stD8U/47BnaTPwCkqT6OdOB16kD6dtPTC9Iv tRA7AD1Pwz06Z3375HikhFF2GPdRtbF7EK7d18cn8hGnttfVAy20p/lLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekgddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefugggtgffhfffkvfevofesthejredtredtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeevgfeiffffhfeugedvvdffgfevhfelgfehueeujeeiffejfffgleelvdffgeek keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Dec 2022 05:27:14 -0500 (EST) Subject: [PATCH 0/6] drm/vc4: dsi: Conversion to bridge MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHNpkGMC/w3LQQqAMAwAwa9IzhZqRER/0zTBBqRKg16kfzfHZd gPTJqKwT580ORV06t6TOMAuaR6SFD2BoyIE8Y1tFsDmwZqyq5xk5loicyC4BMlE7dUc/GtPufZ+w 9avD+4ZQAAAA== From: Maxime Ripard Date: Wed, 07 Dec 2022 11:22:43 +0100 Message-Id: <20221207-rpi-dsi-bridge-v1-0-8f68ee0b0adb@cerno.tech> To: Emma Anholt , Maxime Ripard , David Airlie , Daniel Vetter X-Mailer: b4 0.11.0-dev-8c583 X-Developer-Signature: v=1; a=openpgp-sha256; l=1178; i=maxime@cerno.tech; h=from:subject:message-id; bh=wiRS50xN096d81HEbkRBXzZ5VsP627i9wgG9QKVbDkc=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDMkTMkv6WZTrlyZdSJ8y0SKcPWlmn4XEukK5uTF9DFqWjfFy a3Z1lLIwiHExyIopssQImy+JOzXrdScb3zyYOaxMIEMYuDgFYCI2ZYwMy7askeLeE9DGtYBBqvESR2 /023ONahvmCIiqlKsxrXg7iZFh2mcGk5+3tbxeeh4zO/usvl1E49oBntAPZ1r4Z+mb3brCAAA= X-Developer-Key: i=maxime@cerno.tech; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Dave Stevenson Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, This series converts the vc4 DSI driver to a bridge. It's been in use for a while on the downstream tree. Let me know what you think, Maxime To: Emma Anholt To: Maxime Ripard To: David Airlie To: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Cc: Dave Stevenson Signed-off-by: Maxime Ripard --- Dave Stevenson (6): drm/vc4: dsi: Rename bridge to out_bridge drm/vc4: dsi: Move initialisation to encoder_mode_set drm/vc4: dsi: Remove splitting the bridge chain from the driver drm/vc4: dsi: Convert to use atomic operations drm/vc4: dsi: Convert to using a bridge instead of encoder drm/vc4: dsi: Remove entry to ULPS from vc4_dsi post_disable drivers/gpu/drm/vc4/vc4_dsi.c | 173 ++++++++++++++++++++++++------------------ 1 file changed, 99 insertions(+), 74 deletions(-) --- base-commit: 99e2d98adc738597abcc5d38b03d0e9858db5c00 change-id: 20221207-rpi-dsi-bridge-09e3bb50dde2 Best regards,