diff options
| author | Pawel Osciak <[email protected]> | 2014-05-19 09:33:00 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-05-23 15:01:14 -0300 |
| commit | 9d87e8375d2f9974130d20bac907de4716be4f22 (patch) | |
| tree | fdf5fd4e16c9841ff26f704c2775c59302921168 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 818cd91ab8c6e42c2658c8e61f8462637c6f586b (diff) | |
[media] s5p-mfc: Don't allocate codec buffers on STREAMON
Currently, we allocate private codec buffers on STREAMON, which may fail
if we are out of memory. We don't check for failure though, which will
make us crash with the codec accessing random memory.
We shouldn't be failing STREAMON with out of memory errors though. So move
the allocation of private codec buffers to REQBUFS for OUTPUT queue. Also,
move MFC instance opening and closing to REQBUFS as well, as it's tied to
allocation and deallocation of private codec buffers.
Signed-off-by: Pawel Osciak <[email protected]>
Signed-off-by: Arun Kumar K <[email protected]>
Signed-off-by: Kamil Debski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions