[PATCH libdrm 3/5] xf86drm: parse the separate sysfs files for vendor... info

2016-12-02 Thread Emil Velikov
From: Emil Velikov Up-to recently (patch should land in 4.10) the kernel did not expose the PCI device revision field as a separate sysfs file. Thus one needed too parse the config file to retrieve it. This in itself wakes up the device, which in some cases can be quite slow. To avoid that, jus

[PATCH libdrm 3/5] xf86drm: parse the separate sysfs files for vendor... info

2016-11-30 Thread Emil Velikov
From: Emil Velikov Up-to recently (patch should land in 4.10) the kernel did not expose the PCI device revision field as a separate sysfs file. Thus one needed too parse the config file to retrieve it. This in itself wakes up the device, which in some cases can be quite slow. To avoid that, jus