diff options
author | Archit Taneja <architt@codeaurora.org> | 2016-11-28 17:07:51 +0530 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-12-01 13:30:22 +0000 |
commit | 6b33f8fd3dd25eda2d61b2bf46a81e5ef38b2bc1 (patch) | |
tree | 83cdce4ab4b4fd0617750c1babdd4931417ef2d4 | |
parent | c0c2d50ad6fee6f4737713e8e3700031ee61764d (diff) |
HACK: clk: qcom: mmcc-8996: Tie MMAGIC_BIMC_GDSC to the MMAGIC GDSCs of multimedia blocks
The MMAGIC_BIMC_GDSC is required to fetch from the memory. Without enabling
this, we end up seeing a blue screen on display.
Set MMAGIC BIMC GDSC as the parent for all the MMAGIC GDSCs of all the
multimedia blocks. This isn't the ideal solution since there isn't a real
parent-child relationship between the GDSCs. The BIMC GDSC should ideally
be tied to the power domain of a device that manages the noc/bus clocks.
Until we have device using this power domain, stick to this method.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
-rw-r--r-- | drivers/clk/qcom/mmcc-msm8996.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/qcom/mmcc-msm8996.c b/drivers/clk/qcom/mmcc-msm8996.c index 6ce658dc56b7..5f392433ae4a 100644 --- a/drivers/clk/qcom/mmcc-msm8996.c +++ b/drivers/clk/qcom/mmcc-msm8996.c @@ -2908,6 +2908,7 @@ static struct gdsc mmagic_video_gdsc = { .pd = { .name = "mmagic_video", }, + .parent = &mmagic_bimc_gdsc.pd, .pwrsts = PWRSTS_OFF_ON, .flags = VOTABLE, }; @@ -2918,6 +2919,7 @@ static struct gdsc mmagic_mdss_gdsc = { .pd = { .name = "mmagic_mdss", }, + .parent = &mmagic_bimc_gdsc.pd, .pwrsts = PWRSTS_OFF_ON, .flags = VOTABLE, }; @@ -2928,6 +2930,7 @@ static struct gdsc mmagic_camss_gdsc = { .pd = { .name = "mmagic_camss", }, + .parent = &mmagic_bimc_gdsc.pd, .pwrsts = PWRSTS_OFF_ON, .flags = VOTABLE, }; |