[PATCH] drm/vkms: detect modes during output initialization

Pekka Paalanen ppaalanen at gmail.com
Mon Nov 30 11:13:26 UTC 2020


On Mon, 30 Nov 2020 10:23:04 +0000
Simon Ser <contact at emersion.fr> wrote:

> On Monday, November 30, 2020 2:03 AM, Leandro Ribeiro <leandro.ribeiro at collabora.com> 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].

Hi, 

where is the discussion?

> [1]: https://lists.freedesktop.org/archives/dri-devel/2020-November/289506.html

Please record the justitication for that patch in its commit message.
"Can't" does not explain anything.


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/20201130/d3cea8b7/attachment-0001.sig>


More information about the dri-devel mailing list