From nobody Mon Apr 6 21:36:27 2026 Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 8297A354AF2 for ; Wed, 18 Mar 2026 07:33:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773819185; cv=none; b=YvdV6ZM1qwgJUrTHnFX0z/vnGmBsfD5tVPNDrlPH/IlplyjRIyiNIvRgtX1aUeNXkYfntYpqVkxmOXJW6wSQ3Ky+uzLo3wvQ7iBPKQx9owrVjmAOZDep7YXMJDiuf1XKrs8UMkcV0y39/2CR4/FjeWDzTGRpCQQlsN16dmeT2tc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773819185; c=relaxed/simple; bh=Wy7pmybLcN2EzDYfooh+oiFyI7YbhcMFju9H5ENgtVI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=trWoyO7xIX6phraJdURj21yW7MELMlBl7wCfAfIAqgRbfqmvKJadRno9LUFM8w+0XX5ExXPEPLeiC+bceOIL6IY/qj1xi50HKziRAklmZVjHdQdpxSi2nfQmH+q+3pL5QdU9QkmRr7hC3x9whiSeF0a8zwKS3Pc1/8qH2EKNE/k= 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=Y2LADrkC; arc=none smtp.client-ip=185.70.43.22 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="Y2LADrkC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1773819182; x=1774078382; bh=Wy7pmybLcN2EzDYfooh+oiFyI7YbhcMFju9H5ENgtVI=; 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=Y2LADrkCf8lllWlZ9vKGIPTzW8ZRniVnXdoqByJztTOKg4HhBQBqZhPuhVv1Io7cq IPBF7C53yR1e2YC/g/eOFWjlJKkDTOryK1T4bHI3ApXPrCGtfD3T4gUAOTJ4wATmQH +piLr85kuSZY5rL0erFA487BND7Du9XQYsC0EBgMSMXKzLfmYL6ZT00BxREGODjh1/ 4B8LHcPjmw17IlniRdJbPjDpNSp831gO23mu1kt/nUi2TLyjNys2ScUkLm4cdny23w 5C/93nUpWMjOHvn1IiGiju74r8Op7SIpj/rv5ryDre+kg15+GFgs0IKa67fq5BceHC ayu+E3Kn/R/OA== Date: Wed, 18 Mar 2026 07:32:58 +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/2] drm/mipi-dsi: add flag for sending all DSC slices in one packet Message-ID: <20260318-dsi-dsc-slice-per-pkt-v1-1-1bd66b7f9e0c@pm.me> In-Reply-To: <20260318-dsi-dsc-slice-per-pkt-v1-0-1bd66b7f9e0c@pm.me> References: <20260318-dsi-dsc-slice-per-pkt-v1-0-1bd66b7f9e0c@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: e025ce9a6b601b1cd23397e38e9cee7c0f03c5db 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" The MIPI DSI v1.3 spec defines two modes for transporting compressed pixel data: one slice per packet or multiple slice widths in a single packet (Section 8.8.24 Figure 40). Add a MIPI_DSI_MODE_DSC_ALL_SLICES_IN_PKT flag that panel drivers can set to indicate that all DSC slices for a line should be packed into a single packet. When unset should default to 1 slice per packet. Signed-off-by: Alexander Koskovich Reviewed-by: Dmitry Baryshkov --- include/drm/drm_mipi_dsi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index 3aba7b380c8d..d3ad8c5d3ebe 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -138,6 +138,8 @@ struct mipi_dsi_host *of_find_mipi_dsi_host_by_node(str= uct device_node *node); #define MIPI_DSI_MODE_LPM BIT(11) /* transmit data ending at the same time for all lanes within one hsync */ #define MIPI_DSI_HS_PKT_END_ALIGNED BIT(12) +/* pack all DSC slices for a line into a single packet */ +#define MIPI_DSI_MODE_DSC_ALL_SLICES_IN_PKT BIT(13) =20 enum mipi_dsi_pixel_format { MIPI_DSI_FMT_RGB888, --=20 2.53.0