summaryrefslogtreecommitdiff
path: root/lib/igt_eld.h
diff options
context:
space:
mode:
authorSimon Ser <simon.ser@intel.com>2019-05-28 11:23:45 +0300
committerSimon Ser <simon.ser@intel.com>2019-06-04 16:18:44 +0300
commitfa0086150a1651d66f80410857ecbe14696e8cdf (patch)
tree2c6e1304f11d6befcedfaa9713e9963dced2455c /lib/igt_eld.h
parent7bdf527528d6c62f3451dbcd74a7f3345ebea0b5 (diff)
lib/igt_eld: consolidate ELD parsing
Make the ELD enumeration more robust, and implement proper parsing for ELD fields. This will become useful when other ELD fields (formats, sample rates, sample sizes) will be parsed and checked. Signed-off-by: Simon Ser <simon.ser@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'lib/igt_eld.h')
-rw-r--r--lib/igt_eld.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/igt_eld.h b/lib/igt_eld.h
index 27f876d9..21fe3537 100644
--- a/lib/igt_eld.h
+++ b/lib/igt_eld.h
@@ -30,6 +30,11 @@
#include <stdbool.h>
+struct eld_entry {
+ bool valid;
+ char monitor_name[16];
+};
+
bool eld_has_igt(void);
#endif