summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMing Qian <ming.qian@oss.nxp.com>2025-04-21 15:06:12 +0800
committerHans Verkuil <hverkuil@xs4all.nl>2025-04-24 15:21:34 +0200
commitd52b9b7e2f10d22a49468128540533e8d76910cd (patch)
tree36de4d07ef49916f4f5445dd6907ca1a5c6a39fd /tools/perf/scripts/python/stackcollapse.py
parent3f5f28084eb9dbb408cf5429018a9b7a2859616f (diff)
media: imx-jpeg: Drop the first error frames
When an output buffer contains error frame header, v4l2_jpeg_parse_header() will return error, then driver will mark this buffer and a capture buffer done with error flag in device_run(). But if the error occurs in the first frames, before setup the capture queue, there is no chance to schedule device_run(), and there may be no capture to mark error. So we need to drop this buffer with error flag, and make the decoding can continue. Fixes: 2db16c6ed72c ("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder") Cc: stable@vger.kernel.org Signed-off-by: Ming Qian <ming.qian@oss.nxp.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions