(min_type == fasdma_real_all || SCp->this_residual >=512)) {intbufs, map_dir, dma_dir; bufs = copy_SCp_to_sg(&info->sg[0], SCp, NR_SG);if(direction == DMA_OUT) map_dir = DMA_TO_DEVICE, dma_dir = DMA_MODE_WRITE;elsemap_dir = DMA_FROM_DEVICE, dma_dir = DMA_MODE...
But we cannot udpate linux version at will, we must use ubuntu release kernel. So i am here for some help. I think this bug afftect the cuda api who call linux api dma_map_sg to map large size system memory. Is nvidia encounter this bug? we can avoid ...
The dma_map_sg() function can fail, so check for the return value.
The VideoPortMapDmaMemory function is obsolete in Windows 2000 and later.VideoPortMapDmaMemory maps a range of memory for use in DMA transfers.