[PATCH] DRM planes
jbarnes at virtuousgeek.org
Wed Nov 2 13:03:18 PDT 2011
In response to feedback, I've adjusted the new addfb2 ioctl to take per
component pitch and offset args. Generally, the offset field will be
0, but it's conceivable that some metadata could be stored at the start
of a given buffer, and an offset allows the client to skip past that.
Similarly, pitch will typically describe the whole buffer, but it's
possible to simply string together several planes into a single object
where individual pitch components matter.
Userland patches are available in the drm-overlays branches of my
personal libdrm and xf86-video-intel trees at freedesktop.org. The
xf86-video-intel side works well enough to handle clipping (using a new
i915 specific ioctl for setting a destination color key) and play
videos, albeit without nice flipping.
Assuming no major objections, I think this is finally ready for
More information about the dri-devel