aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBenoit Parrot <[email protected]>2019-09-20 14:05:45 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-01 16:10:03 -0300
commitb58e69e9a573e74946498077ae25e5244303e718 (patch)
treed0838f8a6f48d67655e54335d5565fc9c7750ac6 /tools/perf/scripts/python/net_dropmonitor.py
parente6784f9e4ebb6fac0c8741eeab4009a3a68a3831 (diff)
media: am437x-vpfe: Wait for end of frame before tear-down
We were originally attempting to stop all processing as soon as possible, but the in-progress DMA operation cannot be canceled. This led to the module being in a busy state and prevented proper power management functionality. The existing implementation would attempt to clean things up by waiting up to 50ms. However when receiving video frame at 15fps or lower, it meant an inter frame arrival rate of 66.6 ms or higher. In such cases upon tear down the following message could be seen: omap_hwmod: vpfe0: _wait_target_disable failed This patch fixes this issue by adding a stopping state where we would wait for the next Vsync before disabling the hardware. Signed-off-by: Benoit Parrot <[email protected]> Acked-by: Lad Prabhakar <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions