-
- Downloads
drm/msm/dpu: Add CWB to msm_display_topology
Currently, the topology is calculated based on the assumption that the user cannot request real-time and writeback simultaneously. For example, the number of LMs and CTLs are currently based off the number of phys encoders under the assumption there will be at least 1 LM/CTL per phys encoder. This will not hold true for concurrent writeback as both phys encoders (1 real-time and 1 writeback) must be driven by 1 LM/CTL when concurrent writeback is enabled. To account for this, add a cwb_enabled flag and only adjust the number of CTL/LMs needed by a given topology based on the number of phys encoders only if CWB is not enabled. Reviewed-by:Abhinav Kumar <quic_abhinavk@quicinc.com> Reviewed-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by:
Jessica Zhang <quic_jesszhan@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/637486/ Link: https://lore.kernel.org/r/20250214-concurrent-wb-v6-4-a44c293cf422@quicinc.com Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Showing
- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c 10 additions, 1 deletiondrivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c 12 additions, 2 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_rm.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h 2 additions, 0 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_rm.h
Loading
Please register or sign in to comment