* [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default
@ 2026-02-26 13:49 Dmitry Baryshkov
2026-03-02 9:39 ` Neil Armstrong
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2026-02-26 13:49 UTC (permalink / raw)
To: Abhinav Kumar, Dmitry Baryshkov, Sean Paul, Marijn Suijten,
David Airlie, Simona Vetter, Rob Clark
Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel
Turn on the switch and use virtual planes by default, enhancing
utilisation of the display pipelines. It is still possible to use legacy
implementation by using `msm.dpu_use_virtual_planes=false` kernel boot
parameter.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
This is being sent as an RFT for now. Please give it a test with your
compositor of choice. X11. Weston. Sway. Wlroot. CrOS. I plan to turn
the switch for 7.1
---
Changes in v2:
- Rebased on msm-next
- Updated the cover letter, targeting the switch to 7.1
- Link to v1: https://lore.kernel.org/r/20250514-dpu-enable-virt-planes-v1-1-bf5ba0088007@oss.qualcomm.com
---
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
index 0623f1dbed97..7c5b3495bddf 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
@@ -52,7 +52,7 @@
#define DPU_DEBUGFS_DIR "msm_dpu"
#define DPU_DEBUGFS_HWMASKNAME "hw_log_mask"
-bool dpu_use_virtual_planes;
+bool dpu_use_virtual_planes = true;
module_param(dpu_use_virtual_planes, bool, 0);
static int dpu_kms_hw_init(struct msm_kms *kms);
---
base-commit: 50c4a49f7292b33b454ea1a16c4f77d6965405dc
change-id: 20250514-dpu-enable-virt-planes-7b7ce0a6ce2a
Best regards,
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default
2026-02-26 13:49 [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default Dmitry Baryshkov
@ 2026-03-02 9:39 ` Neil Armstrong
2026-03-03 10:59 ` Konrad Dybcio
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Neil Armstrong @ 2026-03-02 9:39 UTC (permalink / raw)
To: Dmitry Baryshkov, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Rob Clark
Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel
On 2/26/26 14:49, Dmitry Baryshkov wrote:
> Turn on the switch and use virtual planes by default, enhancing
> utilisation of the display pipelines. It is still possible to use legacy
> implementation by using `msm.dpu_use_virtual_planes=false` kernel boot
> parameter.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> This is being sent as an RFT for now. Please give it a test with your
> compositor of choice. X11. Weston. Sway. Wlroot. CrOS. I plan to turn
> the switch for 7.1
> ---
> Changes in v2:
> - Rebased on msm-next
> - Updated the cover letter, targeting the switch to 7.1
> - Link to v1: https://lore.kernel.org/r/20250514-dpu-enable-virt-planes-v1-1-bf5ba0088007@oss.qualcomm.com
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> index 0623f1dbed97..7c5b3495bddf 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
> @@ -52,7 +52,7 @@
> #define DPU_DEBUGFS_DIR "msm_dpu"
> #define DPU_DEBUGFS_HWMASKNAME "hw_log_mask"
>
> -bool dpu_use_virtual_planes;
> +bool dpu_use_virtual_planes = true;
> module_param(dpu_use_virtual_planes, bool, 0);
>
> static int dpu_kms_hw_init(struct msm_kms *kms);
>
> ---
> base-commit: 50c4a49f7292b33b454ea1a16c4f77d6965405dc
> change-id: 20250514-dpu-enable-virt-planes-7b7ce0a6ce2a
>
> Best regards,
LGTM
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default
2026-02-26 13:49 [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default Dmitry Baryshkov
2026-03-02 9:39 ` Neil Armstrong
@ 2026-03-03 10:59 ` Konrad Dybcio
2026-03-14 19:06 ` Val Packett
2026-03-27 19:47 ` Dmitry Baryshkov
3 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-03-03 10:59 UTC (permalink / raw)
To: Dmitry Baryshkov, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Rob Clark
Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel
On 2/26/26 2:49 PM, Dmitry Baryshkov wrote:
> Turn on the switch and use virtual planes by default, enhancing
> utilisation of the display pipelines. It is still possible to use legacy
> implementation by using `msm.dpu_use_virtual_planes=false` kernel boot
> parameter.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> This is being sent as an RFT for now. Please give it a test with your
> compositor of choice. X11. Weston. Sway. Wlroot. CrOS. I plan to turn
> the switch for 7.1
> ---
No immediate issues on x13s + sddm + plasma-wayland
Acked-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default
2026-02-26 13:49 [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default Dmitry Baryshkov
2026-03-02 9:39 ` Neil Armstrong
2026-03-03 10:59 ` Konrad Dybcio
@ 2026-03-14 19:06 ` Val Packett
2026-03-16 3:24 ` Dmitry Baryshkov
2026-03-27 19:47 ` Dmitry Baryshkov
3 siblings, 1 reply; 6+ messages in thread
From: Val Packett @ 2026-03-14 19:06 UTC (permalink / raw)
To: Dmitry Baryshkov, Abhinav Kumar, Sean Paul, Marijn Suijten,
David Airlie, Simona Vetter, Rob Clark
Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel
On 2/26/26 10:49 AM, Dmitry Baryshkov wrote:
> Turn on the switch and use virtual planes by default, enhancing
> utilisation of the display pipelines. It is still possible to use legacy
> implementation by using `msm.dpu_use_virtual_planes=false` kernel boot
> parameter.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> This is being sent as an RFT for now. Please give it a test with your
> compositor of choice. X11. Weston. Sway. Wlroot. CrOS. I plan to turn
> the switch for 7.1
Tested-by: Val Packett <val@packett.cool> # x1e80100-dell-latitude-7455,
with niri
Running with this for a few days, seems like no change, everything works
as before. Any way to confirm virtual planes are being used?
~val
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default
2026-03-14 19:06 ` Val Packett
@ 2026-03-16 3:24 ` Dmitry Baryshkov
0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2026-03-16 3:24 UTC (permalink / raw)
To: Val Packett
Cc: Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Rob Clark, linux-arm-msm, dri-devel, freedreno,
linux-kernel
On Sat, Mar 14, 2026 at 04:06:37PM -0300, Val Packett wrote:
> On 2/26/26 10:49 AM, Dmitry Baryshkov wrote:
>
> > Turn on the switch and use virtual planes by default, enhancing
> > utilisation of the display pipelines. It is still possible to use legacy
> > implementation by using `msm.dpu_use_virtual_planes=false` kernel boot
> > parameter.
> >
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > ---
> > This is being sent as an RFT for now. Please give it a test with your
> > compositor of choice. X11. Weston. Sway. Wlroot. CrOS. I plan to turn
> > the switch for 7.1
>
> Tested-by: Val Packett <val@packett.cool> # x1e80100-dell-latitude-7455,
> with niri
>
> Running with this for a few days, seems like no change, everything works as
> before. Any way to confirm virtual planes are being used?
You can compare, which SSPPs are used by checking
/sys/kernel/debug/dri/*/state.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default
2026-02-26 13:49 [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default Dmitry Baryshkov
` (2 preceding siblings ...)
2026-03-14 19:06 ` Val Packett
@ 2026-03-27 19:47 ` Dmitry Baryshkov
3 siblings, 0 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2026-03-27 19:47 UTC (permalink / raw)
To: Abhinav Kumar, Dmitry Baryshkov, Sean Paul, Marijn Suijten,
David Airlie, Simona Vetter, Rob Clark, Dmitry Baryshkov
Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel
On Thu, 26 Feb 2026 15:49:02 +0200, Dmitry Baryshkov wrote:
> Turn on the switch and use virtual planes by default, enhancing
> utilisation of the display pipelines. It is still possible to use legacy
> implementation by using `msm.dpu_use_virtual_planes=false` kernel boot
> parameter.
Applied to msm-next, thanks!
[1/1] drm/msm/dpu: enable virtual planes by default
https://gitlab.freedesktop.org/lumag/msm/-/commit/b0907ee59e24
Best regards,
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-03-27 19:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-26 13:49 [PATCH RFT v2] drm/msm/dpu: enable virtual planes by default Dmitry Baryshkov
2026-03-02 9:39 ` Neil Armstrong
2026-03-03 10:59 ` Konrad Dybcio
2026-03-14 19:06 ` Val Packett
2026-03-16 3:24 ` Dmitry Baryshkov
2026-03-27 19:47 ` Dmitry Baryshkov
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®