Skip to content

Commit

Permalink
Change to make DMA single buffered because we see issues in double bu…
Browse files Browse the repository at this point in the history
…ffering tests
  • Loading branch information
pajgaonk committed May 19, 2023
1 parent b6757c7 commit e3c8bd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/source/host/mmd_dma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ int mmd_dma::send_descriptors(uint64_t dma_src_addr, uint64_t dma_dst_addr, uint
* it determines appropriate dma src, dst, len and calles send_descriptors() function
*/
int mmd_dma::do_dma(dma_work_item &item) {
const std::lock_guard<std::mutex> lock(pinning_mutex);
#if 0
printf("do_dma\t");
if (m_mode == dma_mode::f2h) {
Expand Down

0 comments on commit e3c8bd5

Please sign in to comment.