summaryrefslogtreecommitdiff
path: root/lib/igt_eld.h
diff options
context:
space:
mode:
authorSimon Ser <simon.ser@intel.com>2019-09-20 13:47:29 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-11-26 13:52:51 +0200
commit19c851a3dd2d59ed010dcbb272bc2788e4768d52 (patch)
tree0cc5bcbffd54e34c8bdc7a3fcffa9975f1cd3a94 /lib/igt_eld.h
parent9c860632505e6d986558d7a61807ddfa263581ba (diff)
igt_eld: Add eld_is_igt
This function parses the monitor name from an ELD blob and checks whether it comes from an IGT EDID. v2: replace a bunch of random numbers with constants (Chris, Andi) v3: rabase and fix subject (Arek) Signed-off-by: Simon Ser <simon.ser@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Andi Shyti <andi.shyti@intel.com> Cc: Martin Peres <martin.peres@linux.intel.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'lib/igt_eld.h')
-rw-r--r--lib/igt_eld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_eld.h b/lib/igt_eld.h
index 4b917a62..30d7012d 100644
--- a/lib/igt_eld.h
+++ b/lib/igt_eld.h
@@ -52,5 +52,6 @@ struct eld_entry {
bool eld_is_supported(void);
bool eld_get_igt(struct eld_entry *eld);
bool eld_has_igt(void);
+bool eld_is_igt(const char *eld, size_t eld_size);
#endif