[PATCH v4 0/3] drm/msm: drop DPU 3.x support from the MDP5 driver

Dmitry Baryshkov posted 3 patches 1 month, 1 week ago
.../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h    |   5 -
.../gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h |   5 -
.../gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h |   5 -
.../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c   |   7 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c           | 314 ---------------------
drivers/gpu/drm/msm/msm_drv.c                      |  16 +-
6 files changed, 17 insertions(+), 335 deletions(-)
[PATCH v4 0/3] drm/msm: drop DPU 3.x support from the MDP5 driver
Posted by Dmitry Baryshkov 1 month, 1 week ago
Fix commands pannels support on DPU 3.x platforms and drop support for
those platforms (MSM8998, SDM660 / SDM636, SDM630) from the MDP5 driver.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Changes in v4:
- Inverted logic in dpu_encoder_phys_cmd_wait_for_commit_done(), check
  for the feature rather than the lack of it.
- Link to v3: https://lore.kernel.org/r/20251224-mdp5-drop-dpu3-v3-0-fd7bb8546c30@oss.qualcomm.com

Changes in v3:
- Fixed commit message (Marijn)
- Reordered CTL_START checks to be more logical (Marijn)
- Link to v2: https://lore.kernel.org/r/20251218-mdp5-drop-dpu3-v2-0-11299f1999d2@oss.qualcomm.com

Changes in v2:
- Fixed CTL_START interrupt handling on DPU 3.x
- Link to v1: https://lore.kernel.org/r/20251211-mdp5-drop-dpu3-v1-1-0a0186d92757@oss.qualcomm.com

---
Dmitry Baryshkov (3):
      drm/msm/dpu: drop intr_start from DPU 3.x catalog files
      drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x
      drm/msm/mdp5: drop support for MSM8998, SDM630 and SDM660

 .../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h    |   5 -
 .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h |   5 -
 .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h |   5 -
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c   |   7 +-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c           | 314 ---------------------
 drivers/gpu/drm/msm/msm_drv.c                      |  16 +-
 6 files changed, 17 insertions(+), 335 deletions(-)
---
base-commit: 4ba14a6add891fe9b2564e3049b7447de3256399
change-id: 20250926-mdp5-drop-dpu3-38bc04d44103

Best regards,
-- 
With best wishes
Dmitry
Re: [PATCH v4 0/3] drm/msm: drop DPU 3.x support from the MDP5 driver
Posted by Dmitry Baryshkov 3 weeks, 2 days ago
On Sun, 28 Dec 2025 06:02:26 +0200, Dmitry Baryshkov wrote:
> Fix commands pannels support on DPU 3.x platforms and drop support for
> those platforms (MSM8998, SDM660 / SDM636, SDM630) from the MDP5 driver.
> 
> 

Applied to msm-next, thanks!

[1/3] drm/msm/dpu: drop intr_start from DPU 3.x catalog files
      https://gitlab.freedesktop.org/lumag/msm/-/commit/f4a8e3a34ea4
[2/3] drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x
      https://gitlab.freedesktop.org/lumag/msm/-/commit/59ca3d11f531
[3/3] drm/msm/mdp5: drop support for MSM8998, SDM630 and SDM660
      https://gitlab.freedesktop.org/lumag/msm/-/commit/23c39217d933

Best regards,
-- 
With best wishes
Dmitry
Re: [PATCH v4 0/3] drm/msm: drop DPU 3.x support from the MDP5 driver
Posted by Alexey Minnekhanov 3 weeks, 5 days ago
On 12/28/25 7:02 AM, Dmitry Baryshkov wrote:
> Fix commands pannels support on DPU 3.x platforms and drop support for
> those platforms (MSM8998, SDM660 / SDM636, SDM630) from the MDP5 driver.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> Changes in v4:
> - Inverted logic in dpu_encoder_phys_cmd_wait_for_commit_done(), check
>    for the feature rather than the lack of it.
> - Link to v3: https://lore.kernel.org/r/20251224-mdp5-drop-dpu3-v3-0-fd7bb8546c30@oss.qualcomm.com
> 
> Changes in v3:
> - Fixed commit message (Marijn)
> - Reordered CTL_START checks to be more logical (Marijn)
> - Link to v2: https://lore.kernel.org/r/20251218-mdp5-drop-dpu3-v2-0-11299f1999d2@oss.qualcomm.com
> 
> Changes in v2:
> - Fixed CTL_START interrupt handling on DPU 3.x
> - Link to v1: https://lore.kernel.org/r/20251211-mdp5-drop-dpu3-v1-1-0a0186d92757@oss.qualcomm.com
> 
> ---
> Dmitry Baryshkov (3):
>        drm/msm/dpu: drop intr_start from DPU 3.x catalog files
>        drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x
>        drm/msm/mdp5: drop support for MSM8998, SDM630 and SDM660
> 
>   .../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h    |   5 -
>   .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h |   5 -
>   .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h |   5 -
>   .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c   |   7 +-
>   drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c           | 314 ---------------------
>   drivers/gpu/drm/msm/msm_drv.c                      |  16 +-
>   6 files changed, 17 insertions(+), 335 deletions(-)
> ---
> base-commit: 4ba14a6add891fe9b2564e3049b7447de3256399
> change-id: 20250926-mdp5-drop-dpu3-38bc04d44103
> 
> Best regards,

Thanks!

This fixes DPU with command mode panel on Sony Xperia XA2
(sdm630-sony-nile-pioneer) and still works on video mode panels on
whole bunch of sdm660/636-xiaomi phones and tablet. The whole series

Tested-by: Alexey Minnekhanov <alexeymin@minlexx.ru>

---
Regards,
Alexey Minnekhanov
Re: [PATCH v4 0/3] drm/msm: drop DPU 3.x support from the MDP5 driver
Posted by Dmitry Baryshkov 3 weeks, 5 days ago
On Tue, Jan 13, 2026 at 03:02:33AM +0300, Alexey Minnekhanov wrote:
> On 12/28/25 7:02 AM, Dmitry Baryshkov wrote:
> > Fix commands pannels support on DPU 3.x platforms and drop support for
> > those platforms (MSM8998, SDM660 / SDM636, SDM630) from the MDP5 driver.
> > 
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > ---
> > Changes in v4:
> > - Inverted logic in dpu_encoder_phys_cmd_wait_for_commit_done(), check
> >    for the feature rather than the lack of it.
> > - Link to v3: https://lore.kernel.org/r/20251224-mdp5-drop-dpu3-v3-0-fd7bb8546c30@oss.qualcomm.com
> > 
> > Changes in v3:
> > - Fixed commit message (Marijn)
> > - Reordered CTL_START checks to be more logical (Marijn)
> > - Link to v2: https://lore.kernel.org/r/20251218-mdp5-drop-dpu3-v2-0-11299f1999d2@oss.qualcomm.com
> > 
> > Changes in v2:
> > - Fixed CTL_START interrupt handling on DPU 3.x
> > - Link to v1: https://lore.kernel.org/r/20251211-mdp5-drop-dpu3-v1-1-0a0186d92757@oss.qualcomm.com
> > 
> > ---
> > Dmitry Baryshkov (3):
> >        drm/msm/dpu: drop intr_start from DPU 3.x catalog files
> >        drm/msm/dpu: fix CMD panels on DPU 1.x - 3.x
> >        drm/msm/mdp5: drop support for MSM8998, SDM630 and SDM660
> > 
> >   .../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h    |   5 -
> >   .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h |   5 -
> >   .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h |   5 -
> >   .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c   |   7 +-
> >   drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c           | 314 ---------------------
> >   drivers/gpu/drm/msm/msm_drv.c                      |  16 +-
> >   6 files changed, 17 insertions(+), 335 deletions(-)
> > ---
> > base-commit: 4ba14a6add891fe9b2564e3049b7447de3256399
> > change-id: 20250926-mdp5-drop-dpu3-38bc04d44103
> > 
> > Best regards,
> 
> Thanks!
> 
> This fixes DPU with command mode panel on Sony Xperia XA2
> (sdm630-sony-nile-pioneer) and still works on video mode panels on
> whole bunch of sdm660/636-xiaomi phones and tablet. The whole series
> 
> Tested-by: Alexey Minnekhanov <alexeymin@minlexx.ru>

Thanks!

-- 
With best wishes
Dmitry