]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: Integrate interconnect API in MDSS
authorJayant Shekhar <jshekhar@codeaurora.org>
Tue, 18 Jun 2019 20:24:10 +0000 (13:24 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 20 Jun 2019 15:39:24 +0000 (08:39 -0700)
commit5fb7fc1fe85b935980f90d8b7553f98330829292
treec41855d01b9cd871851ca1c3d63604e49c61ad95
parent276eb226a6bfab84635c2b5f0d4b123d27044c3e
drm/msm/dpu: Integrate interconnect API in MDSS

The interconnect framework is designed to provide a
standard kernel interface to control the settings of
the interconnects on a SoC.

The interconnect API uses a consumer/provider-based model,
where the providers are the interconnect buses and the
consumers could be various drivers.

MDSS is one of the interconnect consumers which uses the
interconnect APIs to get the path between endpoints and
set its bandwidth requirement for the given interconnected
path.

Changes in v2:
- Remove error log and unnecessary check (Jordan Crouse)

Changes in v3:
- Code clean involving variable name change, removal
  of extra paranthesis and variables (Matthias Kaehlcke)

Changes in v4:
- Add comments, spacings, tabs, proper port name
  and icc macro (Georgi Djakov)

Changes in v5:
- Commit text and parenthesis alignment (Georgi Djakov)

Changes in v6:
- Change to new icc_set API's (Doug Anderson)

Changes in v7:
- Fixed a typo

Changes in v8:
- Handle the of_icc_get() returning NULL case.  In practice
  icc_set_bw() will gracefully handle the case of a NULL path,
  but it's probably best for clarity to keep num_paths=0 in
  this case.

Signed-off-by: Sravanthi Kollukuduru <skolluku@codeaurora.org>
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Acked-by: Georgi Djakov <georgi.djakov@linaro.org>
Reviewed-by: Sean Paul <sean@poorly.run>
drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c