Skip to content

Commit

Permalink
clk: qcom: Put venus core0/1 gdscs to hw control mode
Browse files Browse the repository at this point in the history
The venus video ip's internal core blocks are under the
control of the firmware and their powerdomains needs to be
'ON' only when used by the firmware. So putting it into
hw controlled mode lets this to happen, otherwise the firmware
hangs checking for this.

Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  • Loading branch information
Sricharan R authored and Stephen Boyd committed Nov 24, 2016
1 parent 904bb4f commit 96893e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/clk/qcom/mmcc-msm8996.c
Original file line number Diff line number Diff line change
Expand Up @@ -2945,6 +2945,7 @@ static struct gdsc venus_core0_gdsc = {
.name = "venus_core0",
},
.pwrsts = PWRSTS_OFF_ON,
.flags = HW_CTRL,
};

static struct gdsc venus_core1_gdsc = {
Expand All @@ -2955,6 +2956,7 @@ static struct gdsc venus_core1_gdsc = {
.name = "venus_core1",
},
.pwrsts = PWRSTS_OFF_ON,
.flags = HW_CTRL,
};

static struct gdsc camss_gdsc = {
Expand Down

0 comments on commit 96893e1

Please sign in to comment.