This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: cec-compliance: system information give features
Author:  Jiunn Chang <c0d1n61...@gmail.com>
Date:    Mon Sep 9 10:07:05 2019 -0500

For devices on a HDMI ARC link, sources can only receive ARC
and sinks can only transmit ARC.

Add two checks:
 - Playback devices can only receive ARC, i.e. source_has_arc_rx
 - TVs can only transmit ARC, i.e. sink_has_arc_tx

Signed-off-by: Jiunn Chang <c0d1n61...@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 utils/cec-compliance/cec-test.cpp | 4 ++++
 1 file changed, 4 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=5b168dc8473911227890526bad26553d9e8ff81b
diff --git a/utils/cec-compliance/cec-test.cpp 
b/utils/cec-compliance/cec-test.cpp
index bbd1398986ea..aece546c9aa6 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -172,6 +172,10 @@ int system_info_give_features(struct node *node, unsigned 
me, unsigned la, bool
                return fail("Only Playback and Recording devices shall set the 
Supports Deck Control bit\n");
        if (!cec_has_tv(1 << la) && node->remote[la].has_rec_tv)
                return fail("Only TVs shall set the Record TV Screen bit\n");
+       if (cec_has_playback(1 << la) && node->remote[la].sink_has_arc_tx)
+               return fail("A Playback device cannot set the Sink Supports ARC 
Tx bit\n");
+       if (cec_has_tv(1 << la) && node->remote[la].source_has_arc_rx)
+               return fail("A TV cannot set the Source Supports ARC Rx bit\n");
 
        fail_on_test(node->remote[la].rc_profile != *rc_profile);
        fail_on_test(node->remote[la].dev_features != *dev_features);

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to