media: venus: helpers: keep max bandwidth when mbps exceeds the supported range
authorVikash Garodia <vgarodia@codeaurora.org>
Wed, 31 Mar 2021 09:28:22 +0000 (11:28 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 15 Apr 2021 11:13:23 +0000 (13:13 +0200)
commit7bf28a2153ea3cc8362d78a76e1bccf06ce7805d
treef34ae1c2b565f9291136838264054f0ccba6e967
parentbcf6b264a806295cd4578aa7a03b3bcb15b1ab30
media: 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 <vgarodia@codeaurora.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/pm_helpers.c