video: rockchip: vpu: Fix core and cabac rate error when high temperature
Fixes: 5bc582df48 ("video: rockchip: vpu: Add devfreq feature")
Change-Id: I0af1c64f778059a5f42e88ad9316f65f4c554fb9
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
parent
8fcb9b0c04
commit
c11c980229
1 changed files with 2 additions and 2 deletions
|
|
@ -2320,8 +2320,8 @@ static void rkvdec_set_clk(struct vpu_service_info *pservice,
|
|||
clk_set_rate(pservice->clk_cabac, cabac_rate);
|
||||
} else {
|
||||
clk_set_rate(pservice->aclk_vcodec, vcodec_rate / div);
|
||||
clk_set_rate(pservice->clk_core, vcodec_rate / div);
|
||||
clk_set_rate(pservice->clk_cabac, vcodec_rate / div);
|
||||
clk_set_rate(pservice->clk_core, core_rate / div);
|
||||
clk_set_rate(pservice->clk_cabac, cabac_rate / div);
|
||||
}
|
||||
pservice->vcodec_rate = vcodec_rate;
|
||||
pservice->core_rate = core_rate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue