Browse Source

driver: waipio: allow higher fps rate

Driver would allow clients to set any value for rate during
static state. In dynamic state, if the rate value is such
that it crosses the maximum supported load, the setting
is rejeceted. Again the rejection is only for realtime session.

Change-Id: Iaeb786243fe4ca61f9e6f671a24a09dc98eaabfa
Signed-off-by: Vikash Garodia <[email protected]>
Vikash Garodia 4 years ago
parent
commit
edce8f49c9
1 changed files with 0 additions and 9 deletions
  1. 0 9
      driver/vidc/src/msm_vdec.c

+ 0 - 9
driver/vidc/src/msm_vdec.c

@@ -2297,15 +2297,6 @@ int msm_vdec_s_param(struct msm_vidc_inst *inst,
 	input_rate = (u64)USEC_PER_SEC;
 	do_div(input_rate, us_per_frame);
 
-	/* Check max allowed rate */
-	if (input_rate > max_rate) {
-		i_vpr_e(inst,
-			"%s: Unsupported rate %llu, max_fps %u, type: %u\n",
-			__func__, input_rate, max_rate, s_parm->type);
-		rc = -ENOTSUPP;
-		goto exit;
-	}
-
 set_default:
 	q16_rate = (u32)input_rate << 16;
 	i_vpr_h(inst, "%s: %s value %d\n",