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

Commit e1b058a8 authored by Jilai Wang's avatar Jilai Wang
Browse files

msm: npu: Switch to high priority work queue



Switch to high priority work queue to handle IPC messages from
firmware in order to reduce latency.

Change-Id: I0f3bcd661599312131fb06f792f25c2f0004981b
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>
parent c0d13590
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -436,7 +436,8 @@ static void npu_destroy_wq(struct npu_host_ctx *host_ctx)
static struct workqueue_struct *npu_create_wq(struct npu_host_ctx *host_ctx,
	const char *name)
{
	struct workqueue_struct *wq = create_workqueue(name);
	struct workqueue_struct *wq =
		alloc_workqueue(name, WQ_HIGHPRI | WQ_UNBOUND, 0);

	INIT_WORK(&host_ctx->irq_work, host_irq_wq);
	INIT_DELAYED_WORK(&host_ctx->fw_deinit_work, fw_deinit_wq);