dma-buf needs to support user-space mmap

Registered by Jesse Barker on 2012-02-21

While this was a non-goal for version 1 (now upstream), it has become clear from use cases on Android, V4L2, and some of the OpenGL{|ES} API that supporting user-space mmap of buffers will be an absolute requirement. This will likely require a new dma-buf op (a file op on the dma-buf file descriptor). As with other mmap requests, this would be allowed to fail, but we need to support device drivers ((in particular, exporters) in making this available.

Blueprint information

Status:
Complete
Approver:
Jesse Barker
Priority:
Essential
Drafter:
Rob Clark
Direction:
Needs approval
Assignee:
Rob Clark
Definition:
New
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.05
Started by
Jesse Barker on 2012-03-27
Completed by
Jesse Barker on 2012-05-29

Related branches

Sprints

Whiteboard

[ibiris 16mar2012]: since work on this started - it is clearly work in progress

(?)

Work Items

Work items:
Propose solution (RFC): DONE
Review and comment on alternative solutions: DONE
Finalize solution from list of proposals: TODO

This blueprint contains Public information 
Everyone can see this information.