[Intel-gfx] [PATCH 2/5] drm: add an fb creation ioctl that takes a pixel format

2011-11-07 Thread Jesse Barnes
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. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c

Re: [Intel-gfx] [PATCH 2/5] drm: add an fb creation ioctl that takes a pixel format

2011-11-04 Thread Jesse Barnes
On Fri, 04 Nov 2011 16:34:22 +0900 Joonyoung Shim wrote: > > + case V4L2_PIX_FMT_RGB24: > > + *depth = 24; > > + *bpp = 24; > > + break; > > In the depth = 24 and bpp = 32 case also the pixed_format is > V4L2_PIX_FMT_RGB24, but above function cannot detect it.

Re: [Intel-gfx] [PATCH 2/5] drm: add an fb creation ioctl that takes a pixel format

2011-11-03 Thread Jesse Barnes
On Wed, 2 Nov 2011 13:03:20 -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.

[Intel-gfx] [PATCH 2/5] drm: add an fb creation ioctl that takes a pixel format

2011-11-02 Thread Jesse Barnes
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. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_crtc.c