[PATCH 0/2] drm/msm/dpu: Minor virtual planes fixes
From: Jessica Zhang
Date: Wed Jan 08 2025 - 17:41:43 EST
This series adds the following fixes related to the virtual planes code
changes:
1) Initialize the return value of dpu_assign_plane_resources() so that
the function doesn't return a garbage value if all planes are
disabled/otherwise not visible.
2) Remove extraneous return value for dpu_crtc_reassign_planes()
These were discovered when setting `msm.dpu_use_virtual_planes=1` in the
command line arguments, but not forcing virtual planes to be used.
Signed-off-by: Jessica Zhang <quic_jesszhan@xxxxxxxxxxx>
---
Jessica Zhang (2):
drm/msm/dpu: Initialize return value for dpu_assign_plane_resources()
drm/msm/dpu: Drop extraneous return in dpu_crtc_reassign_planes()
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 --
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
---
base-commit: 866e43b945bf98f8e807dfa45eca92f931f3a032
change-id: 20250108-virtual-planes-fixes-f41ef2922ac7
Best regards,
--
Jessica Zhang <quic_jesszhan@xxxxxxxxxxx>