Searched hist:b57cf6a0a8894d5e89848e15e8f5e4cf36124aeb (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/media/platform/qcom/venus/ |
H A D | pm_helpers.c | diff b57cf6a0a8894d5e89848e15e8f5e4cf36124aeb Mon Nov 02 11:31:37 CET 2020 Mansur Alisha Shaik <mansur@codeaurora.org> media: venus: fix calculating mbps in calculate_inst_freq()
Currently in calculate_inst_freq(), video driver is calculating macro blocks per frame instead of macro blocks per second(mpbs). Which results frequency is always setting to lower frequency (150MHz) as per frequency table for sc7180. Hence the playback is not smooth.
Corrected this by correcting the mbps calculation in calculate_inst_freq().
Signed-off-by: Mansur Alisha Shaik <mansur@codeaurora.org> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|