Merge "msm: vidc: Initialize the dcvs load during perf mode switch"
This commit is contained in:
commit
e77fc25751
1 changed files with 4 additions and 1 deletions
|
@ -2940,7 +2940,10 @@ static int try_set_ctrl(struct msm_vidc_inst *inst, struct v4l2_ctrl *ctrl)
|
|||
case V4L2_CID_MPEG_VIDC_SET_PERF_LEVEL:
|
||||
switch (ctrl->val) {
|
||||
case V4L2_CID_MPEG_VIDC_PERF_LEVEL_NOMINAL:
|
||||
inst->flags &= ~VIDC_TURBO;
|
||||
if (inst->flags & VIDC_TURBO) {
|
||||
inst->flags &= ~VIDC_TURBO;
|
||||
msm_dcvs_init_load(inst);
|
||||
}
|
||||
break;
|
||||
case V4L2_CID_MPEG_VIDC_PERF_LEVEL_TURBO:
|
||||
inst->flags |= VIDC_TURBO;
|
||||
|
|
Loading…
Add table
Reference in a new issue