diff options
author | Simon Ser <simon.ser@intel.com> | 2019-09-11 15:57:55 +0300 |
---|---|---|
committer | Simon Ser <simon.ser@intel.com> | 2019-09-12 15:38:38 +0300 |
commit | 3374cd0b048f9c277b2815bf80502f9f89680176 (patch) | |
tree | a511f8b5fbc8d70b2ec72f99df4ecb9a7e5739f5 /lib/intel_batchbuffer.c | |
parent | efb4539494d94f03374874d3b61bd04ef3802aaa (diff) |
lib/igt_eld: introduce eld_is_supported
We've seen cases in which /proc/asound doesn't exist (e.g. with the new SOF
framework). We've also seen cases in which no soundcard is exposed by ALSA (see
bugzilla link). Last, some audio drivers din't support ELDs (non-Intel
drivers). In all of these cases, skipping the tests depending on ELD support
makes more sense and makes it clearer what happens.
v2: also check that the driver supports ELDs entries in procfs
Signed-off-by: Simon Ser <simon.ser@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102370
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions