diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2017-10-16 11:05:15 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-10-17 10:26:30 +0300 |
commit | 588555f779095a9d282f414aec22e5532891ecdc (patch) | |
tree | bfdf1caa268e1e9edda392942e122a6156f6a1ed /lib/meson.build | |
parent | f6dfe556659f5473e4bf13cc8d4770ac39c7d678 (diff) |
lib/i915: Extract helpers for determining scheduler capabilities
Couple of tests are using either determining scheduler capabilities or
pretty printing. Let's move those to helpers in lib. We can also keep
the value obtained from getparam static.
v2: Break the trend of expanding ioctl_wrappers
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Katarzyna Dec <katarzyna.dec@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com>
Acked-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'lib/meson.build')
-rw-r--r-- | lib/meson.build | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/meson.build b/lib/meson.build index 89ed2723..22811743 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -2,6 +2,7 @@ lib_headers = [ 'debug.h', 'drmtest.h', 'i830_reg.h', + 'i915/gem_scheduler.h', 'i915_3d.h', 'i915_reg.h', 'i915_pciids.h', @@ -48,6 +49,7 @@ lib_headers = [ lib_sources = [ 'drmtest.c', + 'i915/gem_scheduler.c', 'igt_debugfs.c', 'igt_aux.c', 'igt_gt.c', @@ -152,13 +154,7 @@ lib_version = vcs_tag(input : 'version.h.in', output : 'version.h', lib_intermediates = [] foreach f: lib_sources - # No / in the target name - if f.contains('uwildmat') - name = 'uwildmat' - else - name = f - endif - + name = f.underscorify(f) lib = static_library('igt-' + name, [ f, lib_version ], include_directories: inc, |