psPrivData->ui32PhysPageCount = 0;
- dma_buf_unmap_attachment(psAttachment, psSgTable, DMA_BIDIRECTIONAL);
+ dma_buf_unmap_attachment_unlocked(psAttachment, psSgTable, DMA_BIDIRECTIONAL);
if (psPrivData->bPoisonOnFree)
{
}
}
- table = dma_buf_map_attachment(psAttachment, DMA_BIDIRECTIONAL);
+ table = dma_buf_map_attachment_unlocked(psAttachment, DMA_BIDIRECTIONAL);
if (IS_ERR_OR_NULL(table))
{
eError = PVRSRV_ERROR_INVALID_PARAMS;
return PVRSRV_OK;
errUnmap:
- dma_buf_unmap_attachment(psAttachment, table, DMA_BIDIRECTIONAL);
+ dma_buf_unmap_attachment_unlocked(psAttachment, table, DMA_BIDIRECTIONAL);
errFreePhysAddr:
OSFreeMem(psPrivData->pasDevPhysAddr);
errFreePrivData: