qcacmn: Add runtime pm apis to record last dp rx busy mark

Add runtime pm apis to record last busy mark set by data path
during dp rx process.

Currently for mcl in some scenerios runtime sync suspend is issued
which puts the link in low power state with out waiting for link
inactivity timeout. This leads to throughput degradation in case of
rx direction as in rx processing data path extends the timer by marking
last busy to avoid immediate runtime suspend. But runtime sync suspend
does not take in to account of the link idle timeout value before
suspending the link. So using this apis, before issuing runtime sync
suspend check the duration since last busy mark by data path rx process.
If the duration is less than run time delay just do runtime put.

Change-Id: I694ef6ddec8f11fed44bf3b9e5ae18ad93b6ec24
CRs-Fixed: 2512326
这个提交包含在:
Sravan Kumar Kairam
2019-08-21 20:59:51 +05:30
提交者 nshrivas
父节点 7ee0677954
当前提交 b96e5072de
修改 4 个文件,包含 69 行新增1 行删除

查看文件

@@ -1697,7 +1697,7 @@ uint32_t dp_rx_process(struct dp_intr *int_ctx, hal_ring_handle_t hal_ring_hdl,
qdf_assert_always(hal_soc);
scn = soc->hif_handle;
hif_pm_runtime_mark_last_busy(scn);
hif_pm_runtime_mark_dp_rx_busy(scn);
intr_id = int_ctx->dp_intr_id;
more_data: