<p>+ V4L2 develper<br>
Sylwester, please give your opinions? How to handle it at v4l2 side.</p>
<p>Thank you,<br>
Kyungmin Park</p>
<div class="gmail_quote">On Apr 6, 2012 12:44 AM, "Ville Syrjälä" <<a href="mailto:syrjala@sci.fi">syrjala@sci.fi</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Apr 06, 2012 at 03:05:36PM +0900, Inki Dae wrote:<br>
> Hi Ville,<br>
><br>
> > -----Original Message-----<br>
> > From: Ville Syrjälä [mailto:<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>]<br>
> > Sent: Friday, April 06, 2012 3:14 AM<br>
> > To: <a href="mailto:airlied@redhat.com">airlied@redhat.com</a><br>
> > Cc: <a href="mailto:inki.dae@samsung.com">inki.dae@samsung.com</a>; <a href="mailto:kyungmin.park@samsung.com">kyungmin.park@samsung.com</a>; dri-<br>
> > <a href="mailto:devel@lists.freedesktop.org">devel@lists.freedesktop.org</a>; Seung-Woo Kim<br>
> > Subject: Re: [PATCH libdrm] libdrm: update drm/drm_fourcc.h from kernel to<br>
> > add multi plane formats<br>
> ><br>
> > On Fri, Mar 30, 2012 at 01:12:58PM +0300, Ville Syrjälä wrote:<br>
> > > On Fri, Mar 30, 2012 at 11:54:50AM +0900, Seung-Woo Kim wrote:<br>
> > > > Multi buffer plane pixel formats are added as like kernel header.<br>
> > > ><br>
> > > > Signed-off-by: Seung-Woo Kim <<a href="mailto:sw0312.kim@samsung.com">sw0312.kim@samsung.com</a>><br>
> > > > ---<br>
> > > > include/drm/drm_fourcc.h | 7 +++++++<br>
> > > > 1 files changed, 7 insertions(+), 0 deletions(-)<br>
> > > ><br>
> > > > diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h<br>
> > > > index 85facb0..7cfd95a 100644<br>
> > > > --- a/include/drm/drm_fourcc.h<br>
> > > > +++ b/include/drm/drm_fourcc.h<br>
> > > > @@ -107,6 +107,10 @@<br>
> > > > #define DRM_FORMAT_NV16 fourcc_code('N', 'V', '1', '6') /*<br>
> > 2x1 subsampled Cr:Cb plane */<br>
> > > > #define DRM_FORMAT_NV61 fourcc_code('N', 'V', '6', '1') /*<br>
> > 2x1 subsampled Cb:Cr plane */<br>
> > > ><br>
> > > > +/* 2 non contiguous plane YCbCr */<br>
> > > > +#define DRM_FORMAT_NV12M fourcc_code('N', 'M', '1', '2') /* 2x2<br>
> > subsampled Cr:Cb plane */<br>
> > ><br>
> > > NAK. DRM_FORMAT_NV12 handles this just fine.<br>
> ><br>
> > And I just realized that I was already too late with my NAK since this a<br>
> > libdrm patch. Apparently the kernel drm_fourcc.h changes were snuck in<br>
> > via some backdoor without review. Sigh.<br>
> ><br>
><br>
> We had already requested review for it. for this you can refer to link<br>
> below:<br>
><br>
> <a href="http://lists.freedesktop.org/archives/dri-devel/2011-December/017654.html" target="_blank">http://lists.freedesktop.org/archives/dri-devel/2011-December/017654.html</a><br>
<br>
I see. I couldn't find it in my work mailbox for some reason, and I<br>
don't remember having seen the patch before. I suppose I just missed it<br>
due to Christmas vacations, and was too blind to see it in my mailbox.<br>
Also google decicded to filter my search results too much, so I didn't<br>
spot it via the web archives either. I'm sorry for the false accusation.<br>
<br>
> > So they're now in Linus's tree. But looks like format_check() was never<br>
> > updated to accept them, so there's no way anyone could actually be using<br>
> > them. So Dave, can we still remove them from the kernel header?<br>
> ><br>
><br>
> Yes, right. these formats aren't used for any SoCs except Exynos series yet<br>
> but just we are first. I think they should be added because anyone may use<br>
> them someday at least possible.<br>
<br>
Since DRM_FORMAT_NV12M is _identical_ to DRM_FORMAT_NV12, I see no point<br>
in adding it (similarly for YUV420M vs. YUV420).<br>
<br>
--<br>
Ville Syrjälä<br>
<a href="mailto:syrjala@sci.fi">syrjala@sci.fi</a><br>
<a href="http://www.sci.fi/~syrjala/" target="_blank">http://www.sci.fi/~syrjala/</a><br>
_______________________________________________<br>
dri-devel mailing list<br>
<a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>
</blockquote></div>