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

Commit 9261c908 authored by Da Hoon Pyun's avatar Da Hoon Pyun
Browse files

msm: npu: Change unmap buffer logging to debug option



This change will remove excessive loggings seen while
unmapping buffers during network cleanup.

Change-Id: I8a6cd4fa6b65951e28b03329904f7ccbadc7e78f
Signed-off-by: default avatarDa Hoon Pyun <dpyun@codeaurora.org>
parent 3934139e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2379,7 +2379,7 @@ void npu_host_cleanup_networks(struct npu_client *client)
	while (!list_empty(&client->mapped_buffer_list)) {
		ion_buf = list_first_entry(&client->mapped_buffer_list,
			struct npu_ion_buf, list);
		NPU_WARN("unmap buffer %x:%llx\n", ion_buf->fd, ion_buf->iova);
		NPU_DBG("unmap buffer %x:%llx\n", ion_buf->fd, ion_buf->iova);
		unmap_req.buf_ion_hdl = ion_buf->fd;
		unmap_req.npu_phys_addr = ion_buf->iova;
		npu_host_unmap_buf(client, &unmap_req);