summaryrefslogtreecommitdiff
path: root/lib/devres.c
diff options
context:
space:
mode:
authorJessica Zhang <quic_jesszhan@quicinc.com>2025-02-14 16:14:27 -0800
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2025-03-05 04:34:12 +0200
commit2ea34682263b90566130d70a20bc742ed8de2e3f (patch)
treed56ea104761b747d27810f765bf60c4d56816c9a /lib/devres.c
parentcae6a13a71f7edb078dc9ba71047dfd2a6422c31 (diff)
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>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions