aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMing Qian <[email protected]>2022-06-15 04:19:20 +0100
committerMauro Carvalho Chehab <[email protected]>2022-06-27 09:10:36 +0100
commitd4de27a9b1eadd33a2e40de87a646d1bf5fef756 (patch)
treea424446b243c8133b20c97f3531f3402ea0fd3ac /tools/perf/scripts/python/exported-sql-viewer.py
parent38c771014ce697322babf3ec29a7a686eaf24f64 (diff)
media: v4l2-mem2mem: prevent pollerr when last_buffer_dequeued is set
If the last buffer was dequeued from the capture queue, signal userspace. DQBUF(CAPTURE) will return -EPIPE. But if output queue is empty and capture queue is empty, v4l2_m2m_poll_for_data will return EPOLLERR, This is very easy to happen in drain. When last_buffer_dequeued is set, we shouldn't return EPOLLERR, but return EPOLLIN | EPOLLRDNORM. Fixes: 1698a7f151126 ("media: v4l2-mem2mem: simplify poll logic") Signed-off-by: Ming Qian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions