From mboxrd@z Thu Jan 1 00:00:00 1970 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 5FCEBCCD184 for ; Mon, 13 Oct 2025 02:02:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6ECA810E352; Mon, 13 Oct 2025 02:02:33 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="VFO8CXVi"; dkim-atps=neutral Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by gabe.freedesktop.org (Postfix) with ESMTPS id B865010E025 for ; Mon, 13 Oct 2025 02:02:31 +0000 (UTC) Received: by mail-ed1-f66.google.com with SMTP id 4fb4d7f45d1cf-63a10267219so7038732a12.0 for ; Sun, 12 Oct 2025 19:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760320950; x=1760925750; darn=lists.freedesktop.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cKOZo+MGQBv4KkNvRAav7sTJbp8ajk9ELpgGPOLBZm4=; b=VFO8CXVii0FG/VDW2hDWP0x/0AbbjKG71ilsAR+cnHNFBRQbBaHOAsiRAUCB/h9GoM v9U52ag1tu/UN9iqX0xa5sUsBg7aNV28cr0ZESzxIbbCoUhYH7NeZweVw4d8jwYBUXM5 gSV7f/hO9fs1YSfQDY45hUVJbq1LahLVYaXHa6aasLQnYExtp4qgoj1NM5OpiHl2SZlW T/ImWxm0gEi6XUPRt+FEMPnhYBpxfMse1ND86MmCqp+F2+Pk/7HXgW6tmRzagGPDu0CH e+NawavBrdHeEOID11ooAcNDPJ+oHl9xdCLnmjWOumXDRdqdoYha8zViV0fSd2JEvIDu M2tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760320950; x=1760925750; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cKOZo+MGQBv4KkNvRAav7sTJbp8ajk9ELpgGPOLBZm4=; b=oYurGXpEuRlGo5biNCm9oKyDGYUZ0/kU6XxUsD5gGFgR1n+hpOM3YUQ/y1wp91ldi4 pjQuvlu86mUcpozGD0ZniTOXUQk8XjB3lKVDKa3oqgVtVwL5mj11G7Zr26cCP2+oSp/2 6l750LCUmAQNS9xA3mHmYmKYBLgsBkFoFqQBulzECd5UCvXakrUaReMVdpbOHWWp7T4f qGAz2+4anRQpwejIWdpyEMlRiYk4JehfwjDA5ye2kpAkLtgwDyHDqo1/+F7rTnM8l6HP niayDAcYvFR6lRmb8gfIdrVtipgSgFkf8TN/OltDFsZh8jIXGmifNo8ytK2CNcbtVr4U TIiQ== X-Forwarded-Encrypted: i=1; AJvYcCU3SOQsRGOuRhIh5GbXYV87CCVSa0rm6C4OMn3BcznNvcMnk7V5ZsjBWF5KDNSEAIcgKo0fbuXhrU0=@lists.freedesktop.org X-Gm-Message-State: AOJu0YzmRcpmUefJbJHr35Dt1GMuKQ2Dt+3Ce2SfevQIRDxzaWMVWm/o +K3kQxIOJ+S7SrQevZ1LDyFdDCeGRthqgKGT/6zFygByQydKOlWCXf4o14vHj5VR4cyI/8ZISd/ R7BUv+x1qRw5kPQFNdPQ2U5ajUxalhkw= X-Gm-Gg: ASbGnct4ICsC9KiyT/NYgwHVDLcp9OTfxa6Q+EBo7lbId2pEL2W3+12kpHm27dPpZEU VHng45cGFMnEGuqRj006LW3bkmbw+m+a33sWGx9twkllJ5/nMBelmPgTwMPzgpmLow5hkxKfP6L ZaO20jLh5EkyiYCCamrr3fMvdP4c+alNzwNMtFKn3NolRY+DjSaXN1hlUaM6MDszuJCoqGKsArs X3W+2cgSUDZbT2HkpP7NjQyPQ== X-Google-Smtp-Source: AGHT+IFTAKUZcpu0Or52X4cPFWH/lGvPoMo0cZl0OXAFq6HByiIQIZ46OQicUY/q4dcLXyIxPvL349rhnXiTBLRJSJ8= X-Received: by 2002:a05:6402:2788:b0:63b:3aae:c426 with SMTP id 4fb4d7f45d1cf-63b3aaeeffdmr11764783a12.19.1760320950055; Sun, 12 Oct 2025 19:02:30 -0700 (PDT) MIME-Version: 1.0 References: <20251001135914.13754-1-caojunjie650@gmail.com> <20251001135914.13754-3-caojunjie650@gmail.com> In-Reply-To: From: =?UTF-8?B?5pu55L+K5p2w?= Date: Mon, 13 Oct 2025 10:02:18 +0800 X-Gm-Features: AS18NWDYBe2ziyEiQdPGz_Noz0h9TvWVbunULPyIXdj2bUT39mUslIiSO0_o0Zc Message-ID: Subject: Re: [PATCH 2/3] drm/msm/dsi: support DSC configurations with slice_per_pkt > 1 To: Dmitry Baryshkov Cc: Neil Armstrong , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Sean Paul , Marijn Suijten , Antonino Maniscalco , Jonathan Marek , Eugene Lepshy , Jun Nie , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org Content-Type: multipart/alternative; boundary="000000000000eb369d064100a892" 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" --000000000000eb369d064100a892 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dmitry Baryshkov =E4=BA=8E2025=E5=B9=B4= 10=E6=9C=882=E6=97=A5=E5=91=A8=E5=9B=9B 10:04=E5=86=99=E9=81=93=EF=BC=9A >On Wed, Oct 01, 2025 at 09:59:13PM +0800, Junjie Cao wrote: >> From: Jun Nie >> >> Some panels support multiple slice to be sent in a single DSC packet. An= d >> 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 >> Signed-off-by: Jonathan Marek >> Signed-off-by: Jun Nie >> Signed-off-by: Junjie Cao >> --- >> 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 >=3D 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. >-- >With best wishes >Dmitry Regards, Junjie Dmitry Baryshkov =E4=BA=8E2025=E5=B9=B4= 10=E6=9C=882=E6=97=A5=E5=91=A8=E5=9B=9B 10:04=E5=86=99=E9=81=93=EF=BC=9A > On Wed, Oct 01, 2025 at 09:59:13PM +0800, Junjie Cao wrote: > > From: Jun Nie > > > > Some panels support multiple slice to be sent in a single DSC packet. A= nd > > this feature is a must for specific panels, such as JDI LPM026M648C. Ad= d > a > > dsc_slice_per_pkt member into struct mipi_dsi_device and support the > > feature in msm mdss driver. > > > > Co-developed-by: Jonathan Marek > > Signed-off-by: Jonathan Marek > > Signed-off-by: Jun Nie > > Signed-off-by: Junjie Cao > > --- > > 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. > > -- > With best wishes > Dmitry > --000000000000eb369d064100a892 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>= =E4=BA=8E2025=E5=B9=B410=E6=9C=882=E6=97=A5=E5=91=A8=E5=9B=9B 10:04=E5=86= =99=E9=81=93=EF=BC=9A
>On Wed, Oct 01, 2025 = at 09:59:13PM +0800, Junjie Cao wrote:
>> From: Jun Nie <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 pa= nels, such as JDI LPM026M648C. Add a
>> dsc_slice_per_pkt member i= nto struct mipi_dsi_device and support the
>> feature in msm mdss = driver.
>>
>> Co-developed-by: Jonathan Marek <jonathan@marek.ca>>> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
>> Signed-off-b= y: Jun Nie <jun.= nie@linaro.org>
>> Signed-off-by: Junjie Cao <caojunjie650@gmail.com>
>> ---
>> =C2=A0drivers/gpu/drm/msm/dsi/dsi_host.c = | 25 ++++++++++---------------
>> =C2=A0include/drm/drm_mipi_dsi.h= =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A02 ++
>> =C2=A02 files changed= , 12 insertions(+), 15 deletions(-)
>
>Please extract the gener= ic part, so that it can be merged through a
>generic tree.
>
Sorry, I don't get it.=C2=A0 The generic part, generic tree= ? Do you mean
the drm tree? `slice_per_pkt >=3D 2` is seen on the pan= els 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.

>--
>With best w= ishes
>Dmitry

Regards,
Junjie

Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> =E4=BA=8E2025=E5=B9=B410=E6=9C= =882=E6=97=A5=E5=91=A8=E5=9B=9B 10:04=E5=86=99=E9=81=93=EF=BC=9A
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Oct 01, 2025 at 09= :59:13PM +0800, Junjie Cao wrote:
> From: Jun Nie <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. A= dd 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>
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
> Signed-off-by: Jun Nie <jun.nie@linaro.org>
> Signed-off-by: Junjie Cao <caojunjie650@gmail.com>
> ---
>=C2=A0 drivers/gpu/drm/msm/dsi/dsi_host.c | 25 ++++++++++--------------= -
>=C2=A0 include/drm/drm_mipi_dsi.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2= =A0 2 ++
>=C2=A0 2 files changed, 12 insertions(+), 15 deletions(-)

Please extract the generic part, so that it can be merged through a
generic tree.

--
With best wishes
Dmitry
--000000000000eb369d064100a892--