[RFC] drm: expose connector status values in uapi

Pekka Paalanen ppaalanen at gmail.com
Fri Jun 26 13:00:28 UTC 2020


On Fri, 26 Jun 2020 12:05:16 +0000
Simon Ser <contact at emersion.fr> wrote:

> On Friday, June 26, 2020 11:15 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> 
> > I have no opinion really if adding yet another set of the same
> > definitions is good or not. We do need the UAPI doc, but that does not
> > necessarily mean we also need definition code in UAPI headers.
> >
> > I give this one a shrug.  
> 
> But then uapi docs don't document uapi, instead document internal
> kernel enums? And also user-space not using libdrm needs to have these
> hardcoded somewhere.

DRM properties are already like this. You don't find property names or
enum value names in UAPI headers, you only find them in UAPI docs.

> The libdrm re-definitions are annoying. Maybe a better way forward
> would be to have a "status" prop, which could then also be used for
> the planned fine-grained uapi events.

That might be nice.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200626/c44cf93a/attachment.sig>


More information about the dri-devel mailing list