[PATCH 0/1] Make DmaSyncer non-copyable

Harvey Yang chenghaoyang at chromium.org
Fri Nov 29 19:53:27 CET 2024


Hi folks,

Thanks to Laurent's comment, I prepare the fix to make DmaSyncer
non-copyable.

Note that I have to add the move c'tor & operator= to use DmaSyncer in
std::vector. Please check if it makes sense.

The patch passes gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1320271

Please take a look. Thanks!

BR,
Harvey


Harvey Yang (1):
  DmaBufAllocator: Make DmaSyncer non-copyable

 include/libcamera/internal/dma_buf_allocator.h |  5 +++++
 src/libcamera/dma_buf_allocator.cpp            | 10 ++++++++++
 2 files changed, 15 insertions(+)

-- 
2.47.0.338.g60cca15819-goog



More information about the libcamera-devel mailing list