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

Daniel Stone daniel at fooishbar.org
Thu Feb 5 07:06:29 PST 2015


On 5 February 2015 at 14:41, Tvrtko Ursulin
<tvrtko.ursulin at 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 at collabora.com>


More information about the Intel-gfx mailing list