Re: [PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-03 Thread Eric Engestrom
> >> > > #define DRM_FORMAT_BGR233 fourcc_code('B', 'G', 'R', '8') /* > >> > > [7:0] B:G:R 2:3:3 */ > >> > > -- > >> > > 2.9.3 > >> > > > >> >

Re: [PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-03 Thread Rainer Hochecker
GR16 for the fourcc seems OK to me >> since we can't fit in the full GR1616 in there. Althogh GR32 could work >> too I suppose. >> >> And what about RG16? >> >> > >> > Also, please put dri-devel on CC. >> > >> > Thanks >> > David >> > >> >

Re: [PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-02 Thread Ville Syrjälä
On Mon, Jan 02, 2017 at 01:23:23PM +0100, David Herrmann wrote: > Hi > > On Mon, Jan 2, 2017 at 11:41 AM, Rainer Hochecker wrote: > > From: Rainer Hochecker > > > > Add fourcc codes for 16bit planes. Required by mesa for > > eglCreateImageKHR to access P010 surfaces created by vaapi. > > > > Sig

Re: [PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-02 Thread David Herrmann
Hi On Mon, Jan 2, 2017 at 11:41 AM, Rainer Hochecker wrote: > From: Rainer Hochecker > > Add fourcc codes for 16bit planes. Required by mesa for > eglCreateImageKHR to access P010 surfaces created by vaapi. > > Signed-off-by: Rainer Hochecker > --- > include/uapi/drm/drm_fourcc.h | 6 ++ >

[PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-02 Thread Rainer Hochecker
From: Rainer Hochecker Add fourcc codes for 16bit planes. Required by mesa for eglCreateImageKHR to access P010 surfaces created by vaapi. Signed-off-by: Rainer Hochecker --- include/uapi/drm/drm_fourcc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/drm/drm_fourcc.h b