venus: helpers: keep max bandwidth when mbps exceeds the supported range
Subsystems (4)
PATCH 1/1 venus: helpers: keep max bandwidth when mbps exceeds the supported range
When the video usecase have macro blocks per sec which is more than supported, keep the required bus bandwidth as the maximum supported.
Signed-off-by Vikash Garodia <[email protected]>
--- drivers/media/platform/qcom/venus/pm_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/qcom/venus/pm_helpers.c +1 -1
@@ -186,7 +186,7 @@ static void mbs_to_bw(struct venus_inst *inst, u32 mbs, u32 *avg, u32 *peak)return ;for (i =0 ; i < num_rows; i++) { -if (mbs > bw_tbl[i].mbs_per_sec) +if (i !=0 && mbs > bw_tbl[i].mbs_per_sec)break ;if (inst->dpb_fmt &HFI_COLOR_FORMAT_10_BIT_BASE ) {
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
This patch was applied to qcom/linux.git (refs/heads/for-next):
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
Quoted 7 lines · On Wed, 31 Mar 2021 14:58:22 +0530 you wrote:
When the video usecase have macro blocks per sec which is more than supported, keep the required bus bandwidth as the maximum supported.
Signed-off-by Vikash Garodia <[email protected]>--- drivers/media/platform/qcom/venus/pm_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- venus: helpers: keep max bandwidth when mbps exceeds the supported range
https://git.kernel.org/qcom/c/7bf28a2153ea
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html