Re: [PATCH 1/4] RFC: drm: add support for tiled/compressed/etc modifier in addfb2

Daniel Stone
2015-02-05T15:06:30Z

On 5 February 2015 at 14:41, Tvrtko Ursulin
<tvrtko.ursulin@linux.intel.com> wrote:
> In DRM/KMS we are lacking a good way to deal with tiled/compressed
> formats. Especially in the case of dmabuf/prime buffer sharing, where
> we cannot always rely on under-the-hood flags passed to driver specific
> gem-create ioctl to pass around these extra flags.
>
> The proposal is to add a per-plane format modifier. This allows to, if
> necessary, use different tiling patters for sub-sampled planes, etc.
> The format modifiers are added at the end of the ioctl struct, so for
> legacy userspace it will be zero padded.

Reviewed-by: Daniel Stone <daniels@collabora.com>