On 12/2/2023 2:42 PM, Dmitry Baryshkov wrote:
Apart from the already handled data bus (MAS_MDP_Pn<->DDR), there's
another path that needs to be handled to ensure MDSS functions properly,
namely the "reg bus", a.k.a the CPU-MDSS interconnect.

Gating that path may have a variety of effects, from none to otherwise
inexplicable DSI timeouts.

Provide a way for MDSS driver to vote on this bus.

A note regarding vote values. Newer platforms have corresponding
bandwidth values in the vendor DT files. For the older platforms there
was a static vote in the mdss_mdp and rotator drivers. I choose to be
conservative here and choose this value as a default.

Co-developed-by: Konrad Dybcio <konrad.dyb...@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dyb...@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org>
---
  drivers/gpu/drm/msm/msm_mdss.c | 49 +++++++++++++++++++++++++++++++---
  drivers/gpu/drm/msm/msm_mdss.h |  1 +
  2 files changed, 46 insertions(+), 4 deletions(-)


I checked the values with corresponding DT files and they match,

Reviewed-by: Abhinav Kumar <quic_abhin...@quicinc.com>

Reply via email to