summaryrefslogtreecommitdiff
path: root/src/android/mm/cros_camera_buffer.cpp
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-06-03 13:12:57 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-06-04 16:19:33 +0100
commit447da4a11f06f0d950fe75c20c7bb9f5d5408880 (patch)
treef12971f0327486e9286e1730959306d7942d4f9d /src/android/mm/cros_camera_buffer.cpp
parent6cd17515ffeb67fb38ffcc4d57aadf9732b54800 (diff)
libcamera: Rename DmaHeap class to DmaBufAllocator
Users of the DmaHeap class really just want some way to allocate dma-buffers from userspace. This can also be done by using /dev/udmabuf instead of using /dev/dma_heap/*. Rename DmaHeap class to DmaBufAllocator in preparation of adding /dev/udmabuf support. And update the DmaHeap class docs to match including replacing references to "dma-heap type" with "dma-buf provider". This is a pure automated rename on the code ('s/DmaHeap/DmaBufAllocator/') + file renames + doc updates. There are no functional changes. The DmaBufAllocator objects in vc4.cpp and software_isp.cpp are left named dmaHeap_ to keep the changes to those 2 files to a minimum. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # Lenovo-x13s Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/mm/cros_camera_buffer.cpp')
0 files changed, 0 insertions, 0 deletions