diff options
| author | Nikhil Devshatwar <[email protected]> | 2019-11-12 15:53:33 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-12-09 11:25:19 +0100 |
| commit | 6e72eab2e7b7a157d554b8f9faed7676047be7c1 (patch) | |
| tree | 65760b93f7a0af5ae06d75dcfb9489a6f777d80c /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 23122c373e33b13001509c5d09620b0ba5f7d08c (diff) | |
media: ti-vpe: cal: Restrict DMA to avoid memory corruption
When setting DMA for video capture from CSI channel, if the DMA size
is not given, it ends up writing as much data as sent by the camera.
This may lead to overwriting the buffers causing memory corruption.
Observed green lines on the default framebuffer.
Restrict the DMA to maximum height as specified in the S_FMT ioctl.
Signed-off-by: Nikhil Devshatwar <[email protected]>
Signed-off-by: Benoit Parrot <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions