mirror of https://github.com/thesofproject/sof.git
ipc: trace: dma_trace cant use page tables on APL/CNL
Page tables are not used by DMA trace on CNL and APL. Make sure they are not built in. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
46f1220ddc
commit
9053e0455f
|
@ -598,13 +598,15 @@ static int ipc_glb_pm_message(uint32_t header)
|
|||
|
||||
static int ipc_dma_trace_config(uint32_t header)
|
||||
{
|
||||
#ifdef CONFIG_HOST_PTABLE
|
||||
struct intel_ipc_data *iipc = ipc_get_drvdata(_ipc);
|
||||
struct sof_ipc_dma_trace_params *params = _ipc->comp_data;
|
||||
#endif
|
||||
struct sof_ipc_reply reply;
|
||||
int err;
|
||||
|
||||
trace_ipc_error("DA1");
|
||||
|
||||
#ifdef CONFIG_HOST_PTABLE
|
||||
/* use DMA to read in compressed page table ringbuffer from host */
|
||||
err = get_page_descriptors(iipc, ¶ms->buffer);
|
||||
if (err < 0) {
|
||||
|
@ -621,7 +623,7 @@ static int ipc_dma_trace_config(uint32_t header)
|
|||
trace_ipc_error("ePP");
|
||||
goto error;
|
||||
}
|
||||
|
||||
#endif
|
||||
trace_ipc("DAp");
|
||||
|
||||
err = dma_trace_enable(&_ipc->dmat);
|
||||
|
|
Loading…
Reference in New Issue