diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-26 15:05:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-31 19:34:35 +0100 |
commit | b3082ae7069bf75d87c7136db7ea0b0b444b4b27 (patch) | |
tree | 79433252597b291adaf31aff74a6dba13d22a35b /lib/Makefile.sources | |
parent | 3ce58b6f9502329d03207a786301d077e7f0cf6c (diff) |
lib: Add simple sysfs accessors
igt_sysfs_set() for setting an attribute via sysfs, igt_sysfs_get() for
reading.
v2: Lots of little bugs in igt_sysfs_get()
v3: Pass device to open, stop assuming Intel rules.
v4: Test opening and reading!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/Makefile.sources')
-rw-r--r-- | lib/Makefile.sources | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.sources b/lib/Makefile.sources index 1316fd21..f50ff4d8 100644 --- a/lib/Makefile.sources +++ b/lib/Makefile.sources @@ -16,6 +16,8 @@ libintel_tools_la_SOURCES = \ igt_gt.h \ igt_stats.c \ igt_stats.h \ + igt_sysfs.c \ + igt_sysfs.h \ instdone.c \ instdone.h \ intel_batchbuffer.c \ |