From: Mahadevan P <mahadevan.p@oss.qualcomm.com>
To: Rob Clark <robin.clark@oss.qualcomm.com>,
Dmitry Baryshkov <lumag@kernel.org>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Jessica Zhang <jesszhan0024@gmail.com>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Xilin Wu <sophon@radxa.com>
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH v4 0/6] drm/msm/dpu: rework layer mixer allocation and mode limits
Date: Sun, 11 Oct 2026 01:22:44 +0530 [thread overview]
Message-ID: <396781e8-8115-4524-87a8-ec989330ce4f@oss.qualcomm.com> (raw)
In-Reply-To: <20261008-lm_fixes_final-v4-0-fa986071c3c1@oss.qualcomm.com>
On 10/8/2026 10:53 PM, Mahadevan P wrote:
> Currently, the DPU driver bases LM reservation off of the maximum
> supported width for the layer mixer and an arbitrary MAX_HDISPLAY_SPLIT.
> However, these limits are not hardware limits meaning that a single LM
> can support higher resolutions.
>
> Switch to basing LM reservation off of PINGPONG and DSC encoder hardware
> limits.
>
> This revision also adds clock-based mixer selection and a source-pipe
> width guard for mixers without source split.
Hi Dmitry,
I missed the ongoing quad-pipe changes
(https://lore.kernel.org/all/20261003-dpu-quad-pipe-fixed-v1-0-6a6a00917b71@oss.qualcomm.com/#t)
when preparing this v4.
I’ll rework my changes on top of your series, check the topology
interactions, and resend an updated version.
Thanks, Mahadevan
>
> Assisted-by: LLM
> Signed-off-by: Mahadevan P <mahadevan.p@oss.qualcomm.com>
> ---
> Changes in v4:
> - Rebased on msm-next, resolving conflicts.
> - Added clock-based mixer selection and reused the helper in mode
> validation.
> - Added a source-pipe width guard for mixers without source split.
> - Extended the catalog cleanup to newer platforms.
> - Link to v3: https://lore.kernel.org/r/20260112-max-mixer-width-v3-0-f98063ea21f5@oss.qualcomm.com
>
> Changes in v3:
> - Rebased on msm-next, fixing conflicts
> - Updated commit messages to describe the actual issue.
> - Link to v2: https://lore.kernel.org/r/20260103-max-mixer-width-v2-0-ef5d3d246709@oss.qualcomm.com
>
> Changes in v2:
> - Dropped PP and DSC encoder width drop the catalog, they are now
> determined in the code by using the DPU programming
> - Corrected DSC encoder width for DPUs < 8.x (2048 vs 2560)
> - Link to v1: https://lore.kernel.org/r/20250514-max-mixer-width-v1-0-c8ba0d9bb858@oss.qualcomm.com
>
> ---
> Jessica Zhang (3):
> drm/msm/dpu: check mode against PINGPONG or DSC max width
> drm/msm/dpu: filter writeback modes using writeback maxlinewidth
> drm/msm/dpu: remove max_mixer_width from catalog
>
> Mahadevan P (3):
> drm/msm/dpu: split modes a single layer mixer cannot clock
> drm/msm/dpu: do not assume a merged datapath when validating mode clock
> drm/msm/dpu: limit the mode width to a pipe if the LM has no source split
>
> .../drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_10_2_milos.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_12_0_sm8750.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_12_4_eliza.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_13_0_kaanapali.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_1_14_msm8937.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_1_15_msm8917.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_1_16_msm8953.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_2_sm7150.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_4_sm6125.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm6115.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_9_sm6375.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h | 1 -
> .../gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_9_1_sar2130p.h | 1 -
> .../drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 1 -
> drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 82 +++++++++++++++++++---
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 9 ++-
> drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c | 9 +--
> 36 files changed, 79 insertions(+), 54 deletions(-)
> ---
> base-commit: aac26bee2287c88af5be5a5ff96d783b19a28790
> change-id: 20261008-lm_fixes_final-9b9a8d0d9835
>
> Best regards,
next prev parent reply other threads:[~2026-10-10 19:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 17:23 Mahadevan P
2026-10-08 17:23 ` [PATCH v4 1/6] drm/msm/dpu: split modes a single layer mixer cannot clock Mahadevan P
2026-10-08 17:23 ` [PATCH v4 2/6] drm/msm/dpu: do not assume a merged datapath when validating mode clock Mahadevan P
2026-10-12 12:09 ` Dmitry Baryshkov
2026-10-12 18:13 ` Mahadevan P
2026-10-08 17:23 ` [PATCH v4 3/6] drm/msm/dpu: check mode against PINGPONG or DSC max width Mahadevan P
2026-10-12 12:14 ` Dmitry Baryshkov
2026-10-12 18:38 ` Mahadevan P
2026-10-08 17:23 ` [PATCH v4 4/6] drm/msm/dpu: filter writeback modes using writeback maxlinewidth Mahadevan P
2026-10-12 12:15 ` Dmitry Baryshkov
2026-10-08 17:23 ` [PATCH v4 5/6] drm/msm/dpu: remove max_mixer_width from catalog Mahadevan P
2026-10-08 17:23 ` [PATCH v4 6/6] drm/msm/dpu: limit the mode width to a pipe if the LM has no source split Mahadevan P
2026-10-12 12:21 ` Dmitry Baryshkov
2026-10-10 19:52 ` Mahadevan P [this message]
2026-10-12 12:05 ` [PATCH v4 0/6] drm/msm/dpu: rework layer mixer allocation and mode limits Dmitry Baryshkov
2026-10-13 7:33 ` Mahadevan P
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=396781e8-8115-4524-87a8-ec989330ce4f@oss.qualcomm.com \
--to=mahadevan.p@oss.qualcomm.com \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=sophon@radxa.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®