Re: [PATCH v2] drm/vc4: Advertise supported modifiers for planes

2018-03-05 Thread Eric Anholt
Daniel Stone writes: > The IN_FORMATS blob allows the kernel to advertise to userspace which > format/modifier combinations are supported, per plane. Use this to > advertise that we support both T_TILED and linear. > > v2: > - Only advertise T_TILED for RGB (Eric) > - Actually turn on allow_f

Re: [PATCH v2] drm/vc4: Advertise supported modifiers for planes

2017-08-09 Thread Daniel Stone
On 8 August 2017 at 21:36, Eric Anholt wrote: > Daniel Stone writes: >> + case DRM_FORMAT_YUV422: >> + case DRM_FORMAT_YVU422: >> + case DRM_FORMAT_YUV420: >> + case DRM_FORMAT_YVU420: >> + case DRM_FORMAT_NV12: >> + case DRM_FORMAT_NV16: >> + return (modifier

Re: [PATCH v2] drm/vc4: Advertise supported modifiers for planes

2017-08-09 Thread Eric Anholt
Daniel Stone writes: > The IN_FORMATS blob allows the kernel to advertise to userspace which > format/modifier combinations are supported, per plane. Use this to > advertise that we support both T_TILED and linear. > > v2: > - Only advertise T_TILED for RGB (Eric) > - Actually turn on allow_f

[PATCH v2] drm/vc4: Advertise supported modifiers for planes

2017-08-08 Thread Daniel Stone
The IN_FORMATS blob allows the kernel to advertise to userspace which format/modifier combinations are supported, per plane. Use this to advertise that we support both T_TILED and linear. v2: - Only advertise T_TILED for RGB (Eric) - Actually turn on allow_fb_modifiers (Eric) Signed-off-by: D

[PATCH v2] drm/vc4: Advertise supported modifiers for planes

2017-08-08 Thread Daniel Stone
The IN_FORMATS blob allows the kernel to advertise to userspace which format/modifier combinations are supported, per plane. Use this to advertise that we support both T_TILED and linear. v2: - Only advertise T_TILED for RGB (Eric) - Actually turn on allow_fb_modifiers (Eric) Signed-off-by: D