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

Commit 639e7ba0 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: cvp: Enable CDSP HFI queue allocation"

parents 85a0e59c d724b9e5
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1553,14 +1553,10 @@ static int __interface_dsp_queues_init(struct venus_hfi_device *dev)
	dma_addr_t iova;
	struct context_bank_info *cb;

	dev->dsp_iface_q_table.align_device_addr =
		dev->iface_q_table.align_device_addr;
	dev->dsp_iface_q_table.mem_data.size = SHARED_QSIZE;
	return 0;
	q_size = ALIGN(QUEUE_SIZE, SZ_1M);
	mem_data = &dev->dsp_iface_q_table.mem_data;

	/* Allocate dsp queues from ADSP device memory */
	/* Allocate dsp queues from CDSP device memory */
	kvaddr = dma_alloc_coherent(dev->res->mem_cdsp.dev, q_size,
				&dma_handle, GFP_KERNEL);
	if (IS_ERR_OR_NULL(kvaddr)) {