Implement DRM backend to gralloc

Registered by Jesse Barker

The implementation of a DRM backend for gralloc (the Android graphics/multimedia user-space allocator) will enable us to validate the memory management work, especially with respect to the display driver (KMS has better support for HDMI and additional devices).

Blueprint information

Status:
Not started
Approver:
Jesse Barker
Priority:
Medium
Drafter:
Rob Clark
Direction:
Needs approval
Assignee:
Rob Clark
Definition:
Drafting
Series goal:
Accepted for trunk
Implementation:
Unknown
Milestone target:
milestone icon backlog

Related branches

Sprints

Whiteboard

[jesse-barker 2012-12-04] Laurent Pinchart has pushed his initial work, including support for the Renesas device he is working on to a set of repositories on github.

git://github.com/pinchartl/drm.git
git://github.com/pinchartl/platform_system_core.git
git://github.com/pinchartl/platform_hardware_renesas.git
git://github.com/pinchartl/platform_bionic.git

Next steps are to port the general parts of this work to member hardware, making framework and design updates as exposure to new hardware demands.

[jesse-barker 2012-02-08]
This might be a useful starting point:
  http://git.android-x86.org/?p=platform/hardware/drm_gralloc.git;a=tree;h=refs/heads/ics-x86;hb=refs/heads/ics-x86

Rob: But I think eventual goal would be to implement also composition bypass using drm-plane API (similar to the "sprite" patches in wayland proposed by Jesse Barnes)

Marcus: We could start with a simple fullscreen composition bypass, that way we don't need all the plane stuff up front. That would also allow us to do GLES benchmarking with improved performance over normal Android.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.