Skip to content

Commit

Permalink
msm: kgsl: Initialize wakeup pwrlevel to the initial pwrlevel
Browse files Browse the repository at this point in the history
This went missing when we added POPP back. Fix the wakeup pwrlevel
defaulting to the maximum pwrlewvel.

Signed-off-by: Danny Lin <[email protected]>
  • Loading branch information
kdrag0n authored and wloot committed Apr 10, 2019
1 parent a32c0d7 commit d948f8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/msm/adreno.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ static void adreno_of_get_initial_pwrlevel(struct adreno_device *adreno_dev,
init_level = 1;

pwr->active_pwrlevel = init_level;
pwr->default_pwrlevel = init_level;
}

static int adreno_of_get_legacy_pwrlevels(struct adreno_device *adreno_dev,
Expand Down

0 comments on commit d948f8e

Please sign in to comment.