On Monday, November 30, 2020 2:03 AM, Leandro Ribeiro <leandro.ribeiro@xxxxxxxxxxxxx> wrote: > In userspace we can use drmGetConnector() or drmGetConnectorCurrent() in > order to retrieve connector information. The difference between both is > that the former retrieves the complete set of modes and encoders > associated with the connector, while the latter only retrieves the > currently known set of modes and encoders - but is much faster. > > This performance improvement is the reason why userspace applications > may prefer to use drmGetConnectorCurrent() when they need to retrieve > information from a device. We discussed with Daniel Vetter and it turns out user-space should always use drmGetConnector(). See [1]. [1]: https://lists.freedesktop.org/archives/dri-devel/2020-November/289506.html _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel