From nobody Mon Apr 6 16:35:30 2026 Received: from mail-24416.protonmail.ch (mail-24416.protonmail.ch [109.224.244.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 431FC2D7810; Thu, 19 Mar 2026 04:00:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.224.244.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773892809; cv=none; b=HWgL6rrjI0mVA/x5K/wQVJobRC82gxCriLQqOdnSlcasgrele9hOnMT4GKSq9ZN/WPSRKBOel9nZezejyn96+pihB6hoogrqtPWEZbxA8wdUd+mR1fs5x2ij8I/MK7ecaqd3hQJMc/I5LpnxzwqPj9IUMfjFL4AnC0guT58IFMc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773892809; c=relaxed/simple; bh=dD/BPKC5aT9eeNrRI4lDwbK6ytFidptagGuSLLMES4o=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QpC09eJAbdsmwq0ZC633XGsTkkPiwtKcU4eZHs4AzSpNwOAN8pVKghwaRBsUHOK6PE72Wlb0uS9sqdE+yUcuVZIM4oIGTMb5RZMmkLCnIQL45MR7KcNeM0JRzxVHY11IgWPQ8m99xwBzXy96PKpcjbgbaB+jebsxidO7poZ1nRs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=QfPzEGli; arc=none smtp.client-ip=109.224.244.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="QfPzEGli" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1773892806; x=1774152006; bh=dD/BPKC5aT9eeNrRI4lDwbK6ytFidptagGuSLLMES4o=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=QfPzEGliEXKb8VbfjeqZep2AZal6LNwmNkzmhnHj5N+JxyBuw0LTlI/64MruOC90J 1WQEZRfpRCnLJnmyLs4gf7xZ0IysuKkOMGwsgrdXAvcxByXDgJeZ3NXXvQ0K3aSAoy dg7G8TlimFMYCNFEnRMsL/GiPx3B8vCL0q8lB4HdHLKSOt4jLL0fvp+oRi8hHqfErr ZDVcvC8a0Dgpt+j5O6wg6K5wsVkPN/mV0AoHBKCoRDGTw9BizvH3+p3Wprog7WIefl 90Aj5LhzTFm6pPK6adLWgsxs0ShmyDApiVdgDEElY8CETET2Tc6VbLkW2pKQJ8CEqa KRznc3Yjs13jg== Date: Thu, 19 Mar 2026 04:00:01 +0000 To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten From: Alexander Koskovich Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Alexander Koskovich , Dmitry Baryshkov Subject: [PATCH v2 1/3] drm/mipi-dsi: add RGB101010 pixel format Message-ID: <20260318-dsi-rgb101010-support-v2-1-698b7612eaeb@pm.me> In-Reply-To: <20260318-dsi-rgb101010-support-v2-0-698b7612eaeb@pm.me> References: <20260318-dsi-rgb101010-support-v2-0-698b7612eaeb@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 885ab5d382f2949f45e29c33c5f5c86b683a34c0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add MIPI_DSI_FMT_RGB101010 for 30 bit (10,10,10 RGB) pixel format, corresponding to the packed 30 bit pixel stream defined in MIPI DSI v1.3 Section 8.8.17. Reviewed-by: Dmitry Baryshkov Signed-off-by: Alexander Koskovich --- include/drm/drm_mipi_dsi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 3aba7b380c8d..a822e9e876af 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -140,6 +140,7 @@ struct mipi_dsi_host *of_find_mipi_dsi_host_by_node(str= uct device_node *node); #define MIPI_DSI_HS_PKT_END_ALIGNED BIT(12) =20 enum mipi_dsi_pixel_format { + MIPI_DSI_FMT_RGB101010, MIPI_DSI_FMT_RGB888, MIPI_DSI_FMT_RGB666, MIPI_DSI_FMT_RGB666_PACKED, @@ -235,6 +236,9 @@ extern const struct bus_type mipi_dsi_bus_type; static inline int mipi_dsi_pixel_format_to_bpp(enum mipi_dsi_pixel_format = fmt) { switch (fmt) { + case MIPI_DSI_FMT_RGB101010: + return 30; + case MIPI_DSI_FMT_RGB888: case MIPI_DSI_FMT_RGB666: return 24; --=20 2.53.0