linux_dsm_epyc7002/drivers/media/platform/vivid
Hans Verkuil 6ec1cbf6b1 media: cec: improve CEC pin event handling
It turns out that the struct cec_fh event buffer size of 64 events
(64 for CEC_EVENT_PIN_CEC_LOW and 64 for _HIGH) is too small. It's
about 160 ms worth of events and if the Raspberry Pi is busy, then it
might take too long for the application to be scheduled so that it can
drain the pending events. Increase these buffers to 800 events which
is at least 2 seconds worth of events.

There is also a FIFO in between the interrupt and the cec-pin thread.
The thread passes the events on to the CEC core. It is important that
should this FIFO fill up the cec core will be informed that events
have been lost so this can be communicated to the user by setting
CEC_EVENT_FL_DROPPED_EVENTS.

It is very hard to debug CEC problems if events were lost without
informing the user of that fact.

If events were dropped due to the FIFO filling up, then the debugfs
status file will let you know how many events were dropped.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-22 08:16:52 -04:00
..
Kconfig [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vivid-cec.c media: cec: improve CEC pin event handling 2018-03-22 08:16:52 -04:00
vivid-cec.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-core.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-core.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-ctrls.c media: vivid: fix incorrect capabilities for radio 2018-02-26 08:00:53 -05:00
vivid-ctrls.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-cap.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-out.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-osd.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-osd.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-common.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-common.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-rx.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-rx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-tx.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-tx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-rds-gen.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-rds-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-sdr-cap.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-sdr-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-cap.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-out.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-cap.c media: vivid: Use v4l2_find_nearest_size 2018-03-21 11:20:56 -04:00
vivid-vid-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-common.c media: vivid: check if the cec_adapter is valid 2018-02-26 08:14:13 -05:00
vivid-vid-common.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-out.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00