mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-06 05:03:13 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user