]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: always use mdp device to scale bandwidth
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 1 Apr 2021 02:05:33 +0000 (05:05 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 7 Apr 2021 18:05:47 +0000 (11:05 -0700)
commite1b189aa50a0a8d64ed1b748fb8e805f41777eea
treeca93818edfd9b2f25535aa54fb568d9be75cd2de
parent665d260c95252e4bf0c8a876e50e2b3ffb11d9d3
drm/msm/dpu: always use mdp device to scale bandwidth

Currently DPU driver scales bandwidth and core clock for sc7180 only,
while the rest of chips get static bandwidth votes. Make all chipsets
scale bandwidth and clock per composition requirements like sc7180 does.
Drop old voting path completely.

Tested on RB3 (SDM845) and RB5 (SM8250).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210401020533.3956787-2-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c