msm: vidc: increase timeout value for hw response and power collapse

When running concurrent video session, there are some possibilities
that CPU may take more than a second  to schedule hfi work handler.
In those cases, one of the threads which is waiting for the response
is timing-out.

Increase hw response timeout and power collapse timeout will give
more time for hfi work handler to be scheduled and process the response
messages.

CRs-Fixed: 1086284
Change-Id: I768ef6c941c791af5a45d846fa81d810b831efa5
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
This commit is contained in:
Karthikeyan Periasamy 2016-11-08 12:28:05 -08:00
parent 0e5ae23063
commit 4a1e5a36de
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
struct msm_vidc_drv *vidc_driver; struct msm_vidc_drv *vidc_driver;
uint32_t msm_vidc_pwr_collapse_delay = 2000; uint32_t msm_vidc_pwr_collapse_delay = 3000;
static inline struct msm_vidc_inst *get_vidc_inst(struct file *filp, void *fh) static inline struct msm_vidc_inst *get_vidc_inst(struct file *filp, void *fh)
{ {

View file

@ -24,7 +24,7 @@ EXPORT_SYMBOL(msm_vidc_debug_out);
int msm_vidc_fw_debug = 0x18; int msm_vidc_fw_debug = 0x18;
int msm_vidc_fw_debug_mode = 1; int msm_vidc_fw_debug_mode = 1;
int msm_vidc_fw_low_power_mode = 1; int msm_vidc_fw_low_power_mode = 1;
int msm_vidc_hw_rsp_timeout = 1000; int msm_vidc_hw_rsp_timeout = 2000;
bool msm_vidc_fw_coverage = false; bool msm_vidc_fw_coverage = false;
bool msm_vidc_vpe_csc_601_to_709 = false; bool msm_vidc_vpe_csc_601_to_709 = false;
bool msm_vidc_dec_dcvs_mode = true; bool msm_vidc_dec_dcvs_mode = true;