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

Commit 27016504 authored by Ravi Gummadidala's avatar Ravi Gummadidala
Browse files

msm: ipa: use high priority workers



IPA data path workers run in process context. They should be run
at high priority to avoid data drops on modem. This commit provides
that change.

Change-Id: I9221c4bcf5bdb2491821f1773a4eba478365c29d
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent a10ad25d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -974,7 +974,7 @@ int ipa_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
		snprintf(buff, IPA_RESOURCE_NAME_MAX, "ipawq%d",
				sys_in->client);
		ep->sys->wq = alloc_workqueue(buff,
				WQ_MEM_RECLAIM | WQ_UNBOUND, 1);
				WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_UNBOUND, 1);
		if (!ep->sys->wq) {
			IPAERR("failed to create wq for client %d\n",
					sys_in->client);
@@ -985,7 +985,7 @@ int ipa_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
		snprintf(buff, IPA_RESOURCE_NAME_MAX, "iparepwq%d",
				sys_in->client);
		ep->sys->repl_wq = alloc_workqueue(buff,
				WQ_MEM_RECLAIM | WQ_UNBOUND, 1);
				WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_UNBOUND, 1);
		if (!ep->sys->repl_wq) {
			IPAERR("failed to create rep wq for client %d\n",
					sys_in->client);