[Intel-gfx] [PATCH i-g-t 0/3] Simplify hunting for drm card sysfs root

Tvrtko Ursulin tursulin at ursulin.net
Tue Nov 28 18:09:54 UTC 2017


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Short series to clean up the code and bit.

Thanks to Lionel for pointing out the convenient /sys/dev/char/<major>:<minor>
symlink.

Tvrtko Ursulin (3):
  lib/igt_sysfs: Remove support for finding sysfs path with no device
    opened
  lib/igt_sysfs: igt_sysfs_path only works for master nodes
  lib/igt_sysfs: Simplify igt_sysfs_path

 lib/igt_sysfs.c | 47 ++++++++++++++++-------------------------------
 1 file changed, 16 insertions(+), 31 deletions(-)

-- 
2.14.1



More information about the Intel-gfx mailing list