[PATCH 3/3] drm: document minimum kernel version for DRM_CLIENT_CAP_*

Simon Ser contact at emersion.fr
Mon May 31 16:59:44 UTC 2021


On Thursday, May 20th, 2021 at 10:17 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:

> I think adding "for all drivers" would make things much more clear,
> like in the other cases you mention "atomic-capable drivers".

Good point, done.

> > @@ -797,6 +802,13 @@ struct drm_get_cap {
> >   * If set to 1, the DRM core will expose atomic properties to userspace. This
> >   * implicitly enables &DRM_CLIENT_CAP_UNIVERSAL_PLANES and
> >   * &DRM_CLIENT_CAP_ASPECT_RATIO.
>
> Wait, why does atomic turn on aspect ratio? That's surprising,
> since I wouldn't think that atomic depends on aspect ratio features.

Yes. I guess the motivation was to make sure new user-space can deal with
these?


More information about the dri-devel mailing list