]> 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)
commita670ff578f1fb855fedc7931fa5bbc06b567af22
treeca93818edfd9b2f25535aa54fb568d9be75cd2de
parent4f2c98383fcceb45e04887a3d8a1058c9042f890
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