mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
c6c709ee55
Currently, the vivid emulation of cec message transmission does not force adapters to wait until the cec bus has been signal-free for a certain number of bit periods before transmitting or re-transmitting a message. Without enforcing the signal-free time requirements, adapters do not share the bus very well and some messages are sent too quickly while other messages are lost. By emulating a signal-free time and forcing adapters to wait their turn to transmit, the vivid emulation of cec transmission is much more reliable. Signed-off-by: Deborah Brouwer <deborahbrouwer3563@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
14 lines
383 B
C
14 lines
383 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* vivid-cec.h - A Virtual Video Test Driver, cec emulation
|
|
*
|
|
* Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
|
|
*/
|
|
|
|
#ifdef CONFIG_VIDEO_VIVID_CEC
|
|
struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev,
|
|
unsigned int idx,
|
|
bool is_source);
|
|
int vivid_cec_bus_thread(void *_dev);
|
|
#endif
|