Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Conversation

@manxiaoliang
Copy link

No description provided.

phreer and others added 2 commits March 3, 2025 14:11
Add flags field to struct dma_buf_attachment as a means of metadata
sharing for DMA-BUF exporter and importer. DMABUF_ATTACH_FLAG_LMEM is
defined, acting as an indicator of buffer residing in local memory of a
discrete GPU.

Add importer_type_id to struct dma_buf. This allows the exporter to
recognize the importer and respond properly accordingly. Currently, the
only added id is for virtio-GPU.

Tracked-On: No
Signed-off-by: Weifeng Liu <[email protected]>
Leverage the new fields in dmabuf attachment to obtained information
about the imported buffers. In atomic check, we must return an error
when the user space is trying to present a framebuffer in system memory
(without DMABUF_ATTACH_FLAG_LMEM being set) on discrete GPU backing
display.

Tracked-On: No
Signed-off-by: manxiaoliang <[email protected]>
@sysopenci
Copy link

Improper Commit Message
Proper Tracked on value is not present in
commit message,make sure Tracked-on: jira-ticket is present

@sysopenci sysopenci added Pending PR Review Pending PR Review Engineering Build Not Started Engineering Build Not Started labels Mar 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Engineering Build Not Started Engineering Build Not Started Invalid commit message Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants