Re: [RFC] drm: expose connector status values in uapi

2020-06-26 Thread Pekka Paalanen
On Fri, 26 Jun 2020 12:05:16 + Simon Ser wrote: > On Friday, June 26, 2020 11:15 AM, Pekka Paalanen 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 defini

Re: [RFC] drm: expose connector status values in uapi

2020-06-26 Thread Simon Ser
On Friday, June 26, 2020 11:15 AM, Pekka Paalanen 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 the

Re: [RFC] drm: expose connector status values in uapi

2020-06-26 Thread Pekka Paalanen
On Fri, 26 Jun 2020 07:55:12 + Simon Ser wrote: > Right now user-space doesn't have access to connector status definitions. > This means user-space needs to maintain a separate enum for these, and > makes it difficult to document the uapi. > > Introduce defines in drm_mode.h, and copy over t