[Mesa-dev] [PATCH] gbm: convert gbm bo format to fourcc format on dma-buf import
Ray Strode
halfline at gmail.com
Fri Aug 28 11:39:50 PDT 2015
Hi,
> + switch (fd_data->format) {
> + case GBM_FORMAT_RGB565:
> + case GBM_FORMAT_XRGB8888:
> + case GBM_FORMAT_ARGB8888:
> + case GBM_FORMAT_ABGR8888:
> + case GBM_FORMAT_ARGB2101010:
> + case GBM_FORMAT_XRGB2101010:
So Rob Clark pointed out on IRC that this misses quite a few formats.
I think I'm going to take a different approach and just convert the
two bo formats to
their fourcc versions, and not worry about the up front format validation.
--Ray
More information about the mesa-dev
mailing list