diff options
author | Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> | 2019-12-10 17:22:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-10 17:22:21 +0000 |
commit | a06c036dd2df0bcb157eb0392fbc691e09faa64b (patch) | |
tree | b4c68a22e26f86d0ec9a48bdd56040216611f2c0 /lib/intel_batchbuffer.c | |
parent | 5fe683cdebde2d77d16ffc42c9fdf29a9f95bb82 (diff) |
lib/sysfs: Add support for getting boolean module parameters
Boolean module parameters are exposed as "Y"/"N" strings, not 0/1.
Make igt_sysfs_get_boolean() helper useful for getting their values.
v2: Use case insensitive string compare and more compact style (Chris)
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions