msm: vidc: Reduce max_packets count to 480

Currently max_packets is configured as 1000, but max outstanding
packets will not exceed more than 480(16 clients x 30 pkts/client).

Bug: 153501065
Test: camera recording/video playback
Change-Id: I57a302857ce143c8c7507818e6e9e9ed1e29f327
Signed-off-by: wenchangliu <wenchangliu@google.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
Santhosh Behara 2020-05-07 20:25:34 +05:30 committed by azrim
parent 30f831e5ce
commit 92c2986975
No known key found for this signature in database
GPG Key ID: 497F8FB059B45D1C

View File

@ -84,7 +84,7 @@ const struct msm_vidc_gov_data DEFAULT_BUS_VOTE = {
.data_count = 0,
};
const int max_packets = 1000;
const int max_packets = 480; /* 16 sessions x 30 packets */
static void venus_hfi_pm_handler(struct work_struct *work);
static DECLARE_DELAYED_WORK(venus_hfi_pm_work, venus_hfi_pm_handler);