[PATCH libpciaccess 1/2] linux sysfs: retrieve vendor, device... info via separate sysfs files
Emil Velikov
emil.l.velikov at gmail.com
Fri Dec 16 19:10:27 UTC 2016
On 1 December 2016 at 18:17, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> Currently the kernel does not expose the revision file. With that about
> to change (due in 4.10) we can read all the information required from
> separate files and avoid opening the config one.
>
> The latter has the [negative] side effect of waking up the device, which
> in some cases can be quite costly.
>
> Cc: Adam Jackson <ajax at redhat.com>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> Adam, as suggested - here we fallback to config, if one is using an old
> kernel.
Adam, others,
Humble ping on this and 2/2 ?
Thanks
Emil
More information about the xorg-devel
mailing list