[PATCH 2/2] drm: parse color format support for digital displays

2011-04-23 Thread Dave Airlie
On Sat, Apr 23, 2011 at 6:17 AM, Jesse Barnes wrote: > On Sat, 16 Apr 2011 06:42:44 +1000 > Dave Airlie wrote: > >> On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes >> wrote: >> > On Sat, 16 Apr 2011 06:10:07 +1000 >> > Dave Airlie wrote: >> > >> >> > - >> >> > +#define DRM_COLOR_FORMAT_RGB444 ?

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-22 Thread Alex Deucher
On Fri, Apr 22, 2011 at 4:17 PM, Jesse Barnes wrote: > On Sat, 16 Apr 2011 06:42:44 +1000 > Dave Airlie wrote: > >> On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes >> wrote: >> > On Sat, 16 Apr 2011 06:10:07 +1000 >> > Dave Airlie wrote: >> > >> >> > - >> >> > +#define DRM_COLOR_FORMAT_RGB444 ?

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-22 Thread Alex Deucher
On Fri, Apr 22, 2011 at 4:17 PM, Jesse Barnes wrote: > On Sat, 16 Apr 2011 06:42:44 +1000 > Dave Airlie wrote: > >> On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes >> wrote: >> > On Sat, 16 Apr 2011 06:10:07 +1000 >> > Dave Airlie wrote: >> > >> >> > - >> >> > +#define DRM_COLOR_FORMAT_RGB444  

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-22 Thread Jesse Barnes
> > Any other changes you'd like?  Or do the patches look ok now (though I > > probably should have made the subject drm/edid rather than just drm). > > > Was going to put them in -next as soon as I open it, its holidays I > for one won't be doing squat until next Wednesday. Np, thanks. Just wa

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-22 Thread Jesse Barnes
> > Any other changes you'd like? ?Or do the patches look ok now (though I > > probably should have made the subject drm/edid rather than just drm). > > > Was going to put them in -next as soon as I open it, its holidays I > for one won't be doing squat until next Wednesday. Np, thanks. Just wa

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-22 Thread Dave Airlie
On Sat, Apr 23, 2011 at 6:17 AM, Jesse Barnes wrote: > On Sat, 16 Apr 2011 06:42:44 +1000 > Dave Airlie wrote: > >> On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes >> wrote: >> > On Sat, 16 Apr 2011 06:10:07 +1000 >> > Dave Airlie wrote: >> > >> >> > - >> >> > +#define DRM_COLOR_FORMAT_RGB444  

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-22 Thread Jesse Barnes
On Sat, 16 Apr 2011 06:42:44 +1000 Dave Airlie wrote: > On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes > wrote: > > On Sat, 16 Apr 2011 06:10:07 +1000 > > Dave Airlie wrote: > > > >> > - > >> > +#define DRM_COLOR_FORMAT_RGB444                (1<<0) > >> > +#define DRM_COLOR_FORMAT_YCRCB444    

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-22 Thread Jesse Barnes
On Sat, 16 Apr 2011 06:42:44 +1000 Dave Airlie wrote: > On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes > wrote: > > On Sat, 16 Apr 2011 06:10:07 +1000 > > Dave Airlie wrote: > > > >> > - > >> > +#define DRM_COLOR_FORMAT_RGB444 ? ? ? ? ? ? ? ?(1<<0) > >> > +#define DRM_COLOR_FORMAT_YCRCB444 ? ?

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-16 Thread Dave Airlie
On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes wrote: > On Sat, 16 Apr 2011 06:10:07 +1000 > Dave Airlie wrote: > >> > - >> > +#define DRM_COLOR_FORMAT_RGB444 ? ? ? ? ? ? ? ?(1<<0) >> > +#define DRM_COLOR_FORMAT_YCRCB444 ? ? ?(1<<1) >> > +#define DRM_COLOR_FORMAT_YCRCB422 ? ? ?(1<<2) >> > ?/* >>

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-16 Thread Dave Airlie
> - > +#define DRM_COLOR_FORMAT_RGB444 ? ? ? ? ? ? ? ?(1<<0) > +#define DRM_COLOR_FORMAT_YCRCB444 ? ? ?(1<<1) > +#define DRM_COLOR_FORMAT_YCRCB422 ? ? ?(1<<2) > ?/* > ?* Describes a given display (e.g. CRT or flat panel) and its limitations. > ?*/ > @@ -201,6 +203,7 @@ struct drm_display_info { > ?

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Sat, 16 Apr 2011 06:42:44 +1000 Dave Airlie wrote: > On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes > wrote: > > On Sat, 16 Apr 2011 06:10:07 +1000 > > Dave Airlie wrote: > > > >> > - > >> > +#define DRM_COLOR_FORMAT_RGB444                (1<<0) > >> > +#define DRM_COLOR_FORMAT_YCRCB444    

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Sat, 16 Apr 2011 06:42:44 +1000 Dave Airlie wrote: > On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes > wrote: > > On Sat, 16 Apr 2011 06:10:07 +1000 > > Dave Airlie wrote: > > > >> > - > >> > +#define DRM_COLOR_FORMAT_RGB444 ? ? ? ? ? ? ? ?(1<<0) > >> > +#define DRM_COLOR_FORMAT_YCRCB444 ? ?

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Dave Airlie
On Sat, Apr 16, 2011 at 6:39 AM, Jesse Barnes wrote: > On Sat, 16 Apr 2011 06:10:07 +1000 > Dave Airlie wrote: > >> > - >> > +#define DRM_COLOR_FORMAT_RGB444                (1<<0) >> > +#define DRM_COLOR_FORMAT_YCRCB444      (1<<1) >> > +#define DRM_COLOR_FORMAT_YCRCB422      (1<<2) >> >  /* >> >

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Sat, 16 Apr 2011 06:10:07 +1000 Dave Airlie wrote: > > - > > +#define DRM_COLOR_FORMAT_RGB444                (1<<0) > > +#define DRM_COLOR_FORMAT_YCRCB444      (1<<1) > > +#define DRM_COLOR_FORMAT_YCRCB422      (1<<2) > >  /* > >  * Describes a given display (e.g. CRT or flat panel) and its li

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Sat, 16 Apr 2011 06:10:07 +1000 Dave Airlie wrote: > > - > > +#define DRM_COLOR_FORMAT_RGB444 ? ? ? ? ? ? ? ?(1<<0) > > +#define DRM_COLOR_FORMAT_YCRCB444 ? ? ?(1<<1) > > +#define DRM_COLOR_FORMAT_YCRCB422 ? ? ?(1<<2) > > ?/* > > ?* Describes a given display (e.g. CRT or flat panel) and its li

Re: [PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Dave Airlie
> - > +#define DRM_COLOR_FORMAT_RGB444                (1<<0) > +#define DRM_COLOR_FORMAT_YCRCB444      (1<<1) > +#define DRM_COLOR_FORMAT_YCRCB422      (1<<2) >  /* >  * Describes a given display (e.g. CRT or flat panel) and its limitations. >  */ > @@ -201,6 +203,7 @@ struct drm_display_info { >  

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
EDID 1.4 digital displays report the color spaces they support in the features block. Add support for grabbing this data and stuffing it into the display_info struct for driver use. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_edid.c |6 ++ include/drm/drm_crtc.h |5 -

[PATCH 2/2] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
EDID 1.4 digital displays report the color spaces they support in the features block. Add support for grabbing this data and stuffing it into the display_info struct for driver use. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_edid.c |6 ++ include/drm/drm_crtc.h |5 -