Skip to content

[Backport wrynose] libcamera: prefer udmabuf over dma-heaps - #482

Open
quic-yocto-ci wants to merge 1 commit into
wrynosefrom
backport/464-to-wrynose
Open

quic-yocto-ci wants to merge 1 commit into
wrynosefrom
backport/464-to-wrynose

Conversation

@quic-yocto-ci

Copy link
Copy Markdown

Description

Backport of #464 to wrynose.

On Hamoa, CMA memory is currently insufficient for libcamera operation
at some resolutions. Make the DMA-BUF provider priority order
configurable through the runtime configuration.

DmaBufAllocator now accepts an ordered list of preferred provider names;
providers not listed are tried afterwards in the built-in order. When
the list is empty, the historical order is preserved, so behaviour
remains unchanged by default.

The change is carried as a qcom-specific patch applied through a
libcamera bbappend.

Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
(cherry picked from commit 5948083)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants