linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] cec: various improvements
@ 2019-05-15  7:58 Hans Verkuil
  2019-05-15  7:58 ` [PATCH 1/6] cec: cec_transmit_msg_fh: do sanity checks first Hans Verkuil
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Hans Verkuil @ 2019-05-15  7:58 UTC (permalink / raw)
  To: linux-media

This series adds a new CEC_MSG_FL_RAW flag to skip all CEC message
checks and transmit the raw message (if called as root).

This is useful when debugging issues with other dubious CEC implementations.

The last patch relaxes an initiator check for Ping and Image/Text View On
messages when there is no HPD.

Currently the initiator is required to be 0xf, but this is not
actually specified anywhere in the CEC specification, and there are
indications that some displays ignore messages with initiator 0xf.

Regards,

	Hans

Hans Verkuil (6):
  cec: cec_transmit_msg_fh: do sanity checks first
  cec: move check from cec_transmit to cec_transmit_msg_fh
  cec-ioc-receive.rst: document CEC_MSG_FL_RAW
  cec: add CEC_MSG_FL_RAW flag and msg_is_raw helper function
  cec: support CEC_MSG_FL_RAW
  cec: allow any initiator for Ping and Image/Text View On

 .../media/uapi/cec/cec-ioc-receive.rst        |  13 +-
 drivers/media/cec/cec-adap.c                  | 112 +++++++++++-------
 drivers/media/cec/cec-api.c                   |   8 --
 drivers/media/cec/cec-priv.h                  |   5 +
 include/uapi/linux/cec.h                      |   1 +
 5 files changed, 90 insertions(+), 49 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-15  7:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15  7:58 [PATCH 0/6] cec: various improvements Hans Verkuil
2019-05-15  7:58 ` [PATCH 1/6] cec: cec_transmit_msg_fh: do sanity checks first Hans Verkuil
2019-05-15  7:58 ` [PATCH 2/6] cec: move check from cec_transmit to cec_transmit_msg_fh Hans Verkuil
2019-05-15  7:58 ` [PATCH 3/6] cec-ioc-receive.rst: document CEC_MSG_FL_RAW Hans Verkuil
2019-05-15  7:58 ` [PATCH 4/6] cec: add CEC_MSG_FL_RAW flag and msg_is_raw helper function Hans Verkuil
2019-05-15  7:58 ` [PATCH 5/6] cec: support CEC_MSG_FL_RAW Hans Verkuil
2019-05-15  7:58 ` [PATCH 6/6] cec: allow any initiator for Ping and Image/Text View On Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).