From nobody Mon Apr 6 20:00:42 2026 Received: from mail-05.mail-europe.com (mail-05.mail-europe.com [85.9.206.169]) (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 7E1823ACA5E for ; Wed, 18 Mar 2026 09:41:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.9.206.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773826881; cv=none; b=f/TQNadE/8rHoG7f8Z6fgZtOUon10o9yIalj+Eq3xtVjxT9RIJWF2aR70KZLMXLGC8pmjchQPNv0fvC1wmMC2l/lT+NN/3sI7oHi1JKZ5kbOAyL98zxR7u71wzIpmKUQ8Aa8iHCkFx5xUP2y+NOUg+df6U3wEVcVlWH0TH0gPJA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773826881; c=relaxed/simple; bh=e8BFK1m08UzgrYFFBt6dCGTjWCawWzRQ5mu9DCpAQCg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uou20wIhjdZTKIJZTtrkdIqCfzE0QjztY9wUe6mBVT/ZO5+UzQliiuUYNgSChKZqWuIC9sJG1VByXTqVu8ssPe1R1uPQWvH34T9w1VYMf+bpnWHQ8aE6wEDPjq4kGvlZHnnGiVnCQyQf4T+wBRLA7LkuPb0d3tKJq8d7J9PN24k= 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=jjDM9OCj; arc=none smtp.client-ip=85.9.206.169 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="jjDM9OCj" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1773826864; x=1774086064; bh=e8BFK1m08UzgrYFFBt6dCGTjWCawWzRQ5mu9DCpAQCg=; 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=jjDM9OCjnNxJGlCevuNHFR54zEXe5xAXzA7i5vI39WRPNqqkJR3LON+BkdSFHa+4i XfHeOzHNQSA77F2z9YN10v/vNeCUlOIYMFsUYRcRGSix2Eb8F+N+nFcPkfoYd7Upst 5q34JC2I8cV0pH4IxtlNFcy+qxSEexXQH5FVjmRO6UYSEAvAVKi10TY209ppWSVwme n4NHoGbXwLeiH60mHANMsBkroiWzoNyQTzQh0apZbhAmQ8KSLwTj+sHoVg2GElt3Dk Ij7QfAkYhx8NGrUqT/qKUN4hAeTKlGIQB54LRdgnDOOo4IXZRGy1KHCdcrLau+d7fh 7HLqTtjaUMVMA== Date: Wed, 18 Mar 2026 09:41:00 +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 Subject: [PATCH 1/3] drm/mipi-dsi: add RGB101010 pixel format Message-ID: <20260318-dsi-rgb101010-support-v1-1-6021eb79e796@pm.me> In-Reply-To: <20260318-dsi-rgb101010-support-v1-0-6021eb79e796@pm.me> References: <20260318-dsi-rgb101010-support-v1-0-6021eb79e796@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 9b2600adb2bed490e714af3ccd60263349fcbd2a 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. Signed-off-by: Alexander Koskovich Reviewed-by: Dmitry Baryshkov --- 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