msm: vidc: update core ops for AR50LT bus calculation

Update core ops to invoke calc_bw_ar50lt API to
calculate bus bw requirement for ar50lt.

Change-Id: I1c8e1766d9aa2f8ad44498587b171c2827759ddb
Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org>
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
This commit is contained in:
Dikshita Agarwal 2019-11-13 16:48:29 +05:30 committed by Mihir Ganu
parent bcd5ad8e90
commit a88ec175cd

View File

@ -6,11 +6,6 @@
#include "msm_vidc_bus.h" #include "msm_vidc_bus.h"
#include "msm_vidc_internal.h" #include "msm_vidc_internal.h"
static unsigned long __calculate_vpe(struct vidc_bus_vote_data *d)
{
return 0;
}
static unsigned long __calculate_encoder(struct vidc_bus_vote_data *d) static unsigned long __calculate_encoder(struct vidc_bus_vote_data *d)
{ {
/* Encoder Parameters */ /* Encoder Parameters */
@ -274,9 +269,6 @@ static unsigned long __calculate(struct vidc_bus_vote_data *d)
unsigned long value = 0; unsigned long value = 0;
switch (d->domain) { switch (d->domain) {
case HAL_VIDEO_DOMAIN_VPE:
value = __calculate_vpe(d);
break;
case HAL_VIDEO_DOMAIN_ENCODER: case HAL_VIDEO_DOMAIN_ENCODER:
value = __calculate_encoder(d); value = __calculate_encoder(d);
break; break;