Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a1e5a36 authored by Karthikeyan Periasamy's avatar Karthikeyan Periasamy
Browse files

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: default avatarKarthikeyan Periasamy <kperiasa@codeaurora.org>
parent 0e5ae230
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@

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)
{
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ EXPORT_SYMBOL(msm_vidc_debug_out);
int msm_vidc_fw_debug = 0x18;
int msm_vidc_fw_debug_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_vpe_csc_601_to_709 = false;
bool msm_vidc_dec_dcvs_mode = true;