diff options
author | Jordan Crouse | 2019-02-19 11:48:20 -0700 |
---|---|---|
committer | Rob Clark | 2019-04-18 10:04:09 -0700 |
commit | a6bb79ab48796a6293b9c60597b631bca6011041 (patch) | |
tree | 419a127be8f1a2689ca7fd265d40e7fba5160161 /tools/power/pm-graph | |
parent | 0abdba47dc1df708c365421d481734d3f7fecb01 (diff) |
drm/msm: Remove pm_runtime calls from msm_iommu.c
Currently the IOMMU code calls pm_runtime_get/put on the GPU or display
device before doing a IOMMU operation. This was because usually the
IOMMU driver didn't do power control of its own and since the hardware
used the same clocks and power as the respective multimedia device it
was a easy way to make sure that the power was available.
Now two things have changed. First, the SMMU devices can do their own power
control and more important bringing up the a6xx GPU isn't as easy as
turning on some clocks. To bring the GPU up we need the GMU which itself
needs the IOMMU so we have a chicken and egg problem.
Luckily this is easily fixed by removing the pm_runtime calls from the
functions and letting the device link to the IOMMU device handle the magic.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/power/pm-graph')
0 files changed, 0 insertions, 0 deletions