[PATCH 2/2] drm/doc: emphasize difference between plane formats and IN_FORMATS blob

Simon Ser contact at emersion.fr
Thu Apr 8 08:39:10 UTC 2021


On Wednesday, April 7th, 2021 at 3:51 PM, Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:

> > +	 * To find out the list of formats that support modifiers, userspace
> > +	 * must use the plane IN_FORMATS blob property.
> >  	 */
>
> Addfb2+modifiers predates the IN_FORMATS blob, so this doesn't
> match reality.

TBH, I'm inclined not to care about this edge-case. It's already
complicated enough for user-space to figure out what's the right thing
to do when supporting both implicit modifiers and explicit modifiers.
Using modifiers without IN_FORMATS is risky, since a whole part of the
modifier negotiation mechanism is missing.

Maybe we can just stick a "since kernel x.y.z" in here to address your
concern.


More information about the dri-devel mailing list