diff options
| author | Brandon Brnich <b-brnich@ti.com> | 2025-10-21 15:46:17 -0500 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-05 15:56:31 +0100 |
| commit | b4e26c6fc1b3c225caf80d4a95c6f9fcbe959e17 (patch) | |
| tree | 97b8b8a7a6299f03c4a4c5d110fac7e7bbd45499 /tools/perf/scripts/python | |
| parent | 241e75fe6b9db206e8df14d305ea7e42fd3a2846 (diff) | |
| download | linux-b4e26c6fc1b3c225caf80d4a95c6f9fcbe959e17.tar.gz linux-b4e26c6fc1b3c225caf80d4a95c6f9fcbe959e17.zip | |
media: chips-media: wave5: Fix conditional in start_streaming
When STREAMON(CAP) is called after STREAMON(OUT), the driver was failing to
switch states from VPU_INST_STATE_OPEN to VPU_INST_STATE_INIT_SEQ and
VPU_INST_STATE_PIC_RUN because the capture queue streaming boolean had not
yet been set to true. This led to a hang in the encoder since the state
was stuck in VPU_INST_STATE_OPEN. During the second call to
start_streaming, the sequence initialization and frame buffer allocation
should occur.
Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
