Re: [Mesa-dev] [PATCH] gbm: convert gbm bo format to fourcc format on dma-buf import

2015-09-12 Thread Kristian Høgsberg
On Sat, Sep 5, 2015 at 4:27 PM, Ray Strode wrote: > Hey Kristian, Ander, > > Can I convince either/both of you to give this a once over and a r-b ? Sorry for sitting on this Ray - patch looks good, Reviewed-by: Kristian Høgsberg > --Ray > > On Fri, Aug 28, 2015 at 2:15 PM, Ray Strode wrote: >

Re: [Mesa-dev] [PATCH] gbm: convert gbm bo format to fourcc format on dma-buf import

2015-09-05 Thread Ray Strode
Hey Kristian, Ander, Can I convince either/both of you to give this a once over and a r-b ? --Ray On Fri, Aug 28, 2015 at 2:15 PM, Ray Strode wrote: > From: Ray Strode > > At the moment if a gbm buffer is imported and the gbm buffer > has an old-style GBM_BO_FORMAT format, the import will cras

Re: [Mesa-dev] [PATCH] gbm: convert gbm bo format to fourcc format on dma-buf import

2015-08-28 Thread Ray Strode
Hi, > + switch (fd_data->format) { > + case GBM_FORMAT_RGB565: > + case GBM_FORMAT_XRGB: > + case GBM_FORMAT_ARGB: > + case GBM_FORMAT_ABGR: > + case GBM_FORMAT_ARGB2101010: > + case GBM_FORMAT_XRGB2101010: So Rob Clark pointed out on IRC that this mi

[Mesa-dev] [PATCH] gbm: convert gbm bo format to fourcc format on dma-buf import

2015-08-28 Thread Ray Strode
From: Ray Strode At the moment if a gbm buffer is imported and the gbm buffer has an old-style GBM_BO_FORMAT format, the import will crash, since it's passed directly to DRI functions that expect a fourcc format (as provided by the newer GBM_FORMAT definitions) This commit addresses the problem