mbox series

[0/2] drm/msm/dpu: Minor virtual planes fixes

Message ID 20250108-virtual-planes-fixes-v1-0-420cb36df94a@quicinc.com (mailing list archive)
Headers show
Series drm/msm/dpu: Minor virtual planes fixes | expand

Message

Jessica Zhang Jan. 8, 2025, 10:40 p.m. UTC
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@quicinc.com>
---
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,