Commit 03a5123e authored by Sricharan R's avatar Sricharan R Committed by Rajendra Nayak
Browse files

drm/msm: gpu: Call pmruntime ops before attaching to the smmu



The arm-smmu driver has runtime pm enabled and the devicelinks
between smmu (suppliers) and masters (gpu, mdss etc) is
set. So with the devicelink in place, it will be the
responsiblity of the masters to enable the power to the
suppliers before using them. So call pmruntime_get_sync
in gpu before trying to attach to its smmu and relinquish
it once its done.

Note that similar thing has to be done on other places
as well (if found), when the master wants its supplier
to be powered.

Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
parent 2e4e542a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment