Re: [Mesa-dev] [PATCH] st/dri: Don't expose sRGB formats to clients

2018-08-31 Thread Jason Ekstrand
This is basically what we do in i965 only we support two SRGB formats. Acked-by: Jason Ekstrand On Fri, Aug 31, 2018 at 11:37 AM Daniel Stone wrote: > Though the SARGB format is used internally through its FourCC value, > it is not a real format as defined by drm_fourcc.h; it cannot be

[Mesa-dev] [PATCH] st/dri: Don't expose sRGB formats to clients

2018-08-31 Thread Daniel Stone
Though the SARGB format is used internally through its FourCC value, it is not a real format as defined by drm_fourcc.h; it cannot be used with KMS or other interfaces expecting drm_fourcc.h format codes. Ensure we don't advertise it through the dmabuf format/modifier query interfaces,