aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMirela Rabulea <[email protected]>2021-09-27 20:57:19 +0200
committerMauro Carvalho Chehab <[email protected]>2021-10-08 11:26:13 +0200
commitae3cab78dc48958f8fc88ea79e57ec73f2070042 (patch)
tree3deebaad9d6c86e6de55b572d5ede33b1e23bc05 /tools/perf/scripts/python/sched-migration.py
parent34acaf65dc2281400bf97a2f3c894a581ef566e9 (diff)
media: imx-jpeg: Remove soft reset between frames encoding
Remove soft reset between frames, which was merely a workaround, actually replace it with something less aggressive: clearing of jpeg stream buffer pointer, via STM_CTRL[BITBUF_PTR_CLR]. According to the reference manual, the BITBUF_PTR_CLR is performed on context switch, but, per hardware team recommendation, it is also working without context switch, which is the case for this driver, for now. Without soft reset and without BITBUF_PTR_CLR, successive encoding jobs continue from where the previous left off, basically writing past the v4l2 buffer. Signed-off-by: Mirela Rabulea <[email protected]> Reviewed-by: Robert Chiras <[email protected]> Reviewed-by: Laurentiu Palcu <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions