From: Alexander Koskovich <akoskovich@pm.me>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Junjie Cao <caojunjie650@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <jessica.zhang@oss.qualcomm.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Rob Clark <robin.clark@oss.qualcomm.com>,
Dmitry Baryshkov <lumag@kernel.org>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
Antonino Maniscalco <antomani103@gmail.com>,
Jonathan Marek <jonathan@marek.ca>,
Eugene Lepshy <fekz115@gmail.com>, Jun Nie <jun.nie@linaro.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
freedreno@lists.freedesktop.org
Subject: Re: [PATCH 2/3] drm/msm/dsi: support DSC configurations with slice_per_pkt > 1
Date: Thu, 12 Mar 2026 18:18:59 +0000 [thread overview]
Message-ID: <abL8qtbnNzspJMGC@prism> (raw)
On Mon, Oct 13, 2025 at 05:34:06PM +0300, Dmitry Baryshkov wrote:
> On Mon, Oct 13, 2025 at 09:17:04PM +0800, Junjie Cao wrote:
> > Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> 于2025年10月13日周一 20:31写道:
> > > On Mon, Oct 13, 2025 at 07:04:43PM +0800, Junjie Cao wrote:
> > > > Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> 于2025年10月13日周一 17:39写道:
> > > > > On 13/10/2025 04:52, 曹俊杰 wrote:
> > > > > > >Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com
> > > > > > <mailto:dmitry.baryshkov@oss.qualcomm.com>> 于2025年10月2日周四 10:04写道:
> > > > > > >On Wed, Oct 01, 2025 at 09:59:13PM +0800, Junjie Cao wrote:
> > > > > > >> From: Jun Nie <jun.nie@linaro.org <mailto:jun.nie@linaro.org>>
> > > > > > >>
> > > > > > >> Some panels support multiple slice to be sent in a single DSC
> > > > > > packet. And
> > > > > > >> this feature is a must for specific panels, such as JDI LPM026M648C.
> > > > > > Add a
> > > > > > >> dsc_slice_per_pkt member into struct mipi_dsi_device and support the
> > > > > > >> feature in msm mdss driver.
> > > > > > >>
> > > > > > >> Co-developed-by: Jonathan Marek <jonathan@marek.ca
> > > > > > <mailto:jonathan@marek.ca>>
> > > > > > >> Signed-off-by: Jonathan Marek <jonathan@marek.ca
> > > > > > <mailto:jonathan@marek.ca>>
> > > > > > >> Signed-off-by: Jun Nie <jun.nie@linaro.org <mailto:jun.nie@linaro.org>>
> > > > > > >> Signed-off-by: Junjie Cao <caojunjie650@gmail.com
> > > > > > <mailto:caojunjie650@gmail.com>>
> > > > > > >> ---
> > > > > > >> drivers/gpu/drm/msm/dsi/dsi_host.c | 25 ++++++++++---------------
> > > > > > >> include/drm/drm_mipi_dsi.h | 2 ++
> > > > > > >> 2 files changed, 12 insertions(+), 15 deletions(-)
> > > > > > >
> > > > > > >Please extract the generic part, so that it can be merged through a
> > > > > > >generic tree.
> > > > > > >
> > > > > >
> > > > > > Sorry, I don't get it. The generic part, generic tree? Do you mean
> > > > > > the drm tree? `slice_per_pkt >= 2` is seen on the panels of these
> > > > > > tablets that are equipped with qcom chips. I don't know if these
> > > > > > panels are used on other platforms, and if it is necessary to do it
> > > > > > in drm.
> > > > >
> > > > > There are two changes here:
> > > > > - MIPI DSI header change
> > > > > - msm DSI driver
> > > > >
> > > > > I've asked to split it to those two commits so that he change for
> > > > > drm_mipi_dsi.h is more obvious for reviewers and so that it can be
> > > > > merged through a drm-misc tree (or through drm-msm tree provided it gets
> > > > > a necessary ack).
> > > > >
> > > >
> > > > Thanks for your clear explanation.
> > > >
> > > > I don't mind to add the field separately. But should I submit it
> > > > with the panel driver together? Otherwise, this field is unused
> > > > for a while.
> > > >
> > > > However, as you mentioned, this is not a part of standard, neither
> > > > mipi dsi nor VESA DSC. Recently, only Qualcomm devices require it
> > > > to calculate parameters, then we use them to program registers. Why
> > > > don't we parse the field from devicetree?
> > >
> > > Because the value is uniquelly identified by the panel's compat string.
> > >
> >
> > Yes, it is panel specified.
> > But can we set it for every panel like
> >
> > &mdss_dsi0 {
> > qcom,mdss-dsc-slice-per-pkt = <2>;
> >
> > status = "okay";
> >
> > panel: panel@0 {
> > compatible = "foo,bar";
> > reg = <0>;
> > };
> > };
> >
> > or moving the property to panel node? We access it from child node.
>
> Why do you need it in DT if the panel driver can provide this
> information.
Hello, I need this patch for the Tianma TA066VVHM03 on the ASUS ROG Phone 3. Is
the only change required at this point to split the generic part, and is a v2
in the works to address this?
>
> --
> With best wishes
> Dmitry
Thanks,
Alex
next reply other threads:[~2026-03-13 8:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 18:18 Alexander Koskovich [this message]
2026-03-13 0:45 ` [PATCH 2/3] drm/msm/dsi: support DSC configurations with slice_per_pkt > 1 Dmitry Baryshkov
-- strict thread matches above, loose matches on Subject: below --
2025-10-01 13:59 [PATCH 0/3] drm/panel: Add support for Novatek NT36532 panel Junjie Cao
2025-10-01 13:59 ` [PATCH 2/3] drm/msm/dsi: support DSC configurations with slice_per_pkt > 1 Junjie Cao
2025-10-02 2:03 ` Dmitry Baryshkov
2025-10-13 1:52 ` 曹俊杰
2025-10-13 9:39 ` Dmitry Baryshkov
2025-10-13 11:04 ` Junjie Cao
2025-10-13 12:31 ` Dmitry Baryshkov
2025-10-13 13:17 ` Junjie Cao
2025-10-13 14:34 ` Dmitry Baryshkov
2025-10-13 2:02 ` 曹俊杰
2025-10-13 2:09 ` 曹俊杰
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=abL8qtbnNzspJMGC@prism \
--to=akoskovich@pm.me \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=antomani103@gmail.com \
--cc=caojunjie650@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=fekz115@gmail.com \
--cc=freedreno@lists.freedesktop.org \
--cc=jessica.zhang@oss.qualcomm.com \
--cc=jonathan@marek.ca \
--cc=jun.nie@linaro.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.