]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/msm/mdp5: Use the interconnect API
authorGeorgi Djakov <georgi.djakov@linaro.org>
Tue, 18 Jun 2019 22:10:16 +0000 (15:10 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 20 Jun 2019 15:39:24 +0000 (08:39 -0700)
commit97f90e1b82e801bd9fa135af6a10843ecde4d125
treee44306fd31e4ff3de9a4c272c3c7cb2584219000
parent217a6ddf93e0d99ac720ded6c81401030af981a7
drm/msm/mdp5: Use the interconnect API

The interconnect API provides an interface for consumer drivers to
express their bandwidth needs in the SoC. This data is aggregated
and the on-chip interconnect hardware is configured to the most
appropriate power/performance profile.

Use the API to configure the interconnects and request bandwidth
between DDR and the display hardware (MDP port(s) and rotator
downscaler).

v2: update the path names to be consistent with dpu, handle the NULL
    path case, updated commit msg from Georgi.
v3: split out icc setup into it's own function, and rework logic
    slightly so no interconnect paths is not fatal.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-By: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c