summaryrefslogtreecommitdiff
path: root/lib/igt_chamelium.h
diff options
context:
space:
mode:
authorSimon Ser <simon.ser@intel.com>2019-05-15 10:29:17 +0300
committerSimon Ser <simon.ser@intel.com>2019-05-16 13:28:52 +0300
commit3928be962d800cf817539d134135ec14429e4d89 (patch)
treec9dda52ff539a9b6d35688038f0df5c14623027a /lib/igt_chamelium.h
parent0d31a4da4f91b912a773ac19af6096aec23b5bd5 (diff)
lib/igt_chamelium: add CHAMELIUM_DEFAULT_EDID
This ID can be provided to chamelium_port_set_edid to use the default EDID for the port. Signed-off-by: Simon Ser <simon.ser@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'lib/igt_chamelium.h')
-rw-r--r--lib/igt_chamelium.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/igt_chamelium.h b/lib/igt_chamelium.h
index a067c888..33362b26 100644
--- a/lib/igt_chamelium.h
+++ b/lib/igt_chamelium.h
@@ -59,6 +59,12 @@ struct chamelium_audio_file {
int channels;
};
+/**
+ * CHAMELIUM_DEFAULT_EDID: provide this ID to #chamelium_port_set_edid to use
+ * the default EDID.
+ */
+#define CHAMELIUM_DEFAULT_EDID 0
+
struct chamelium *chamelium_init(int drm_fd);
void chamelium_deinit(struct chamelium *chamelium);
void chamelium_reset(struct chamelium *chamelium);