msm: vidc: Differentiate between different types of loads
Consider only real-time load during admission control.
Remove upper limit for concurrent non-realtime load.
However, consider both types of loads while voting for
frequency.
CRs-Fixed: 2092800
Change-Id: Ie49a4542d3155533d37ba129600d6db9fc0fd2e4
Signed-off-by: Saurabh Kothawade <skothawa@codeaurora.org>
diff --git a/drivers/media/platform/msm/vidc/msm_vidc_platform.c b/drivers/media/platform/msm/vidc/msm_vidc_platform.c
index 0fe09e2..9ec1f2f 100644
--- a/drivers/media/platform/msm/vidc/msm_vidc_platform.c
+++ b/drivers/media/platform/msm/vidc/msm_vidc_platform.c
@@ -98,7 +98,7 @@
},
{
.key = "qcom,max-hw-load",
- .value = 2563200,
+ .value = 3110400, /* 4096x2160@90 */
},
{
.key = "qcom,max-hq-mbs-per-frame",