Skip to content

Commit e3c8bd5

Browse files
committed
Change to make DMA single buffered because we see issues in double buffering tests
1 parent b6757c7 commit e3c8bd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/source/host/mmd_dma.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ int mmd_dma::send_descriptors(uint64_t dma_src_addr, uint64_t dma_dst_addr, uint
393393
* it determines appropriate dma src, dst, len and calles send_descriptors() function
394394
*/
395395
int mmd_dma::do_dma(dma_work_item &item) {
396+
const std::lock_guard<std::mutex> lock(pinning_mutex);
396397
#if 0
397398
printf("do_dma\t");
398399
if (m_mode == dma_mode::f2h) {

0 commit comments

Comments
 (0)