[PATCH libdrm] drm: Pull new modifier uapi into drm_fourcc and drm_mode

Daniel Stone daniel at fooishbar.org
Tue Aug 15 14:42:43 UTC 2017


On 15 August 2017 at 00:22, Jason Ekstrand <jason at jlekstrand.net> wrote:
>  /*
> + * Invalid Modifier
> + *
> + * This modifier can be used as a sentinel to terminate the format modifiers
> + * list, or to initialize a variable with an invalid modifier. It might also be
> + * used to report an error back to userspace for certain APIs.
> + */
> +#define DRM_FORMAT_MOD_INVALID fourcc_mod_code(NONE, DRM_FORMAT_RESERVED)

Overjoyed to not have to type this out all the time.

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


More information about the dri-devel mailing list