f5a0e30223
[ Upstream commit e750a4b1224142bd8dd057b0d5adf8a5608b7e77 ] For scenarios, when source change is followed by VIDIOC_STREAMOFF on output plane, driver should discard any queued OUTPUT buffers, which are not decoded or dequeued. Flush with HFI_FLUSH_INPUT does not have any actual impact. So, fix it, by invoking HFI_FLUSH_ALL, which will flush all queued buffers. Fixes: 85872f861d4c ("media: venus: Mark last capture buffer") Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com> Tested-by: Nathan Hebert <nhebert@chromium.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
core.c | ||
core.h | ||
dbgfs.c | ||
dbgfs.h | ||
firmware.c | ||
firmware.h | ||
helpers.c | ||
helpers.h | ||
hfi.c | ||
hfi.h | ||
hfi_cmds.c | ||
hfi_cmds.h | ||
hfi_helper.h | ||
hfi_msgs.c | ||
hfi_msgs.h | ||
hfi_parser.c | ||
hfi_parser.h | ||
hfi_venus.c | ||
hfi_venus.h | ||
hfi_venus_io.h | ||
Makefile | ||
pm_helpers.c | ||
pm_helpers.h | ||
vdec.c | ||
vdec.h | ||
vdec_ctrls.c | ||
venc.c | ||
venc.h | ||
venc_ctrls.c |