summaryrefslogtreecommitdiff
path: root/lib/igt_chamelium.h
diff options
context:
space:
mode:
authorSimon Ser <simon.ser@intel.com>2019-08-13 16:45:45 +0300
committerSimon Ser <simon.ser@intel.com>2019-08-15 13:09:20 +0300
commit750f50bbf6b589f42222f71af748c85272bbcb48 (patch)
tree1052656ec9196b9dc086080da2d875cb53391dd4 /lib/igt_chamelium.h
parent02b227b6b0ff968b997bfeffc14374c023f83394 (diff)
lib/igt_chamelium: add chamelium_trigger_link_failure
This new function triggers a link failure on the provided port. Another function called chamelium_supports_trigger_link_failure has been added to check whether the Chamelium board supports the new method. Support for TriggerLinkFailure in Chamelium has been added in [1]. [1]: https://chromium.googlesource.com/chromiumos/platform/chameleon/+/44866c7bc2af44da1f7bac4e782d0ed6d7c1400a 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/igt_chamelium.h b/lib/igt_chamelium.h
index af53557f..1cc5e2d8 100644
--- a/lib/igt_chamelium.h
+++ b/lib/igt_chamelium.h
@@ -160,6 +160,9 @@ struct chamelium_infoframe *
chamelium_get_last_infoframe(struct chamelium *chamelium,
struct chamelium_port *port,
enum chamelium_infoframe_type type);
+bool chamelium_supports_trigger_link_failure(struct chamelium *chamelium);
+void chamelium_trigger_link_failure(struct chamelium *chamelium,
+ struct chamelium_port *port);
bool chamelium_has_audio_support(struct chamelium *chamelium,
struct chamelium_port *port);
void chamelium_get_audio_channel_mapping(struct chamelium *chamelium,