[PATCH 2/4] drm: add an fb creation ioctl that takes a pixel format

Dave Airlie airlied at redhat.com
Wed Jun 8 21:05:59 PDT 2011


On Tue, 2011-06-07 at 13:07 -0700, Jesse Barnes wrote:
> To properly support the various plane formats supported by different
> hardware, the kernel must know the pixel format of a framebuffer object.
> So add a new ioctl taking a format argument corresponding to a fourcc
> name from videodev2.h.

I'd rather we don't directly tie things like that, either create a
fourcc header that isn't V4L2 or DRM related and use that or generate
two headers one with DRM_ and one with V4L2 prefixes. Mainly so we can
keep the DRM interface in some way OS agnostic.

Dave.





More information about the dri-devel mailing list