From patchwork Wed Jun 12 14:35:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13695126 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 203A1C27C53 for ; Wed, 12 Jun 2024 14:36:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C42C10E87F; Wed, 12 Jun 2024 14:36:07 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="unZ9u/A2"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C1AC10E87F for ; Wed, 12 Jun 2024 14:36:01 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 41FDB6149A; Wed, 12 Jun 2024 14:36:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92AABC116B1; Wed, 12 Jun 2024 14:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718202961; bh=E+6iiKAAyXlMtZ6T33s52aNTX7qMp5w1njSRTRjCFRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=unZ9u/A2gAPxyG2gYGd5SCKrwH5hRc+cB66rkoGdLp+mScStcXUGd8PDCjtD+ef9P 3314N1SX9tEKZU5rfIp03z2ZYUiIB20r2Dk+IAZ1aqFhEAoQirdk4uJX6ob0QQVTfO qiK6ehXaZ3LMVjxqGq9T+COzX5HSyg0/6FW1daPG+nrhLUYpXYPcOLjABwJDylj7YP M/t1xOdqiTSwsIwDfdXBxMbO48HYGJykWCob6b0+Aoc0JUvgluGBlTKO9P3ma1t2mp ntbcBRYqIbvUGcQGK7Q3kG+2A4iTt464YO+NUbzM0yeO+OTNi/7oMBn1ToUglM5yL+ V7u5A/ObjgK6w== From: Maxime Ripard To: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Javier Martinez Canillas , Dmitry Baryshkov Subject: [PATCH 2/3] drm/todo: Create a TODO item for MIPI-DSI rework Date: Wed, 12 Jun 2024 16:35:52 +0200 Message-ID: <20240612143553.915966-2-mripard@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240612143553.915966-1-mripard@kernel.org> References: <20240612143553.915966-1-mripard@kernel.org> MIME-Version: 1.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The MIPI-DSI infrastructure and setup we have so far is limited and doesn't provide a good way to address some corner-cases. Add a TODO entry to document what is needed. Cc: Dmitry Baryshkov Signed-off-by: Maxime Ripard --- Documentation/gpu/todo.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 52fd8672fb6d..94139c652663 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -633,10 +633,30 @@ long as that supports DMA. Otherwise importing can still needlessly fail. Contact: Thomas Zimmermann , Daniel Vetter Level: Advanced +Improve MIPI-DSI infrastructure +------------------------------- + +The MIPI-DSI infrastructure in KMS supports MIPI-DSI devices in part +through a dedicated bus (`drm_mipi_dsi.c`) and in part through ad-hoc +calls in drivers, especially to handle the power state of the bus. + +This is an oddity as far as the device model is concerned, but is also +an issue when multiple devices are chained (like bridges) and have +different requirements. + +It would be a good idea to move all the power state handling out of KMS +and into the bus support itself. + +See `[RFC PATCH 03/10] drm/mipi-dsi: add API for manual control over the DSI link power state `_ + +Contact: Maxime Ripard , Dmitry Baryshkov + +Level: Advanced + Improve HDMI Infrastructure --------------------------- We have a bunch of helpers to handle HDMI and reduce the boilerplate in drivers. Support so far includes HDMI 1.4 support, but we need to extend