aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDave Stevenson <[email protected]>2018-05-10 12:42:08 -0700
committerGreg Kroah-Hartman <[email protected]>2018-05-11 12:02:05 +0200
commit96b7e81ab6b74e7cefdac0d7a90b746ef7f8597d (patch)
tree62ed9e01ae88efb21de635e3fcfb2115c749c980 /tools/perf/scripts/python
parentdd9bb50522733befceac9cbe0b68f5ad4e5106ff (diff)
staging: bcm2835-camera: Allocate context once per buffer
The struct mmal_msg_context was being allocated for every message being sent to the VPU, and freed when it came back. Whilst that is required behaviour for some messages (mainly the synchronous ones), it is wasteful for the video buffers that make up the majority of the traffic. Add to the buffer_init/cleanup hooks that it allocates/frees the msg_context required. v2: changes by anholt from the downstream tree: clean up indentation, pass an error value through, forward-declare the struct so we have less void * Signed-off-by: Dave Stevenson <[email protected]> Signed-off-by: Eric Anholt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions