Re: [PATCH 03/16] drm/i915/skl+: add NV12 in skl_format_to_fourcc

Srinivas, Vidya
2018-02-21T03:10:43Z

Thank you. Will include the RB in the next series.

Regards
Vidya

> -----Original Message-----
> From: Kahola, Mika
> Sent: Tuesday, February 13, 2018 4:05 PM
> To: Srinivas, Vidya <vidya.srinivas@intel.com>; intel-
> gfx@lists.freedesktop.org
> Subject: Re: [Intel-gfx] [PATCH 03/16] drm/i915/skl+: add NV12 in
> skl_format_to_fourcc
>
> On Tue, 2018-02-13 at 15:22 +0530, Vidya Srinivas wrote:
> > From: Mahesh Kumar <mahesh1.kumar@intel.com>
> >
> > Add support of recognizing DRM_FORMAT_NV12 from plane_format
> register
> > value.
> >
>
> Reviewed-by: Mika Kahola <mika.kahola@intel.com>
>
> > Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
> > ---
> >  drivers/gpu/drm/i915/intel_display.c | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_display.c
> > b/drivers/gpu/drm/i915/intel_display.c
> > index 432df0f..b523a3a 100644
> > --- a/drivers/gpu/drm/i915/intel_display.c
> > +++ b/drivers/gpu/drm/i915/intel_display.c
> > @@ -2626,6 +2626,8 @@ static int skl_format_to_fourcc(int format, bool
> > rgb_order, bool alpha)
> >   switch (format) {
> >   case PLANE_CTL_FORMAT_RGB_565:
> >   return DRM_FORMAT_RGB565;
> > + case PLANE_CTL_FORMAT_NV12:
> > + return DRM_FORMAT_NV12;
> >   default:
> >   case PLANE_CTL_FORMAT_XRGB_8888:
> >   if (rgb_order) {
> --
> Mika Kahola - Intel OTC