[PATCH] Add device enumeration interface (v3)

Emil Velikov emil.l.velikov at gmail.com
Thu May 28 05:44:34 PDT 2015


On 25 May 2015 at 12:18, Zhou, Jammy <Jammy.Zhou at amd.com> wrote:
> Hi Emil,
>
> Do you have chance to have a look at this new version? Thanks!
>
Hi guys sorry for the delay.

Looking at my original email response it seems that I wasn't clear
enough about my concerns. They can be looked at as independent and/or
grouped up, depending on your liking:

- Adding a new interface using which it's not obvious how one can
simplify/ease existing related implementations.
As mentioned before, the claiming duplication that already exists is
more complete than this API.

- No open-source software uses the interface.
Do you have any patches in progress that convert project foo to using
the API? Otherwise is seems like an open-source project catering after
a closed source project needs.

- Adding new dependencies.
Previously libpciaccess, now libudev. The former is used only by a
single function in libdrm_intel, while the latter was optional. v3
makes the use of libudev a hard requirement.
Using the library in mesa has caused problems with Steam (and possibly
other binary programs/games) which ships their own version of various
libraries.

Now that the patch is merged, the last issue has emerged (in a
particular form). Is there any plan to convert an open-source project
to use this API ?

Thanks
Emil


More information about the dri-devel mailing list