diff options
| author | Muralidharan Karicheri <[email protected]> | 2009-12-10 16:47:48 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2009-12-16 00:18:34 -0200 |
| commit | 31bedfa5068936b15a388842be1d03cdd1bdfb07 (patch) | |
| tree | d02d9204a0ed1fe2a9eca8b7f2d1553b1d85d5a3 /tools/perf/scripts/python | |
| parent | 0d94e29459d372b6c5dda964a8b35a8d40050ca7 (diff) | |
V4L/DVB (13598): videobuf_dma_contig_user_get() for non-aligned offsets
If a USERPTR address that is not aligned to page boundary is passed to the
videobuf_dma_contig_user_get() function, it saves a page aligned address to
the dma_handle. This is not correct. This issue is observed when using USERPTR
IO machism for buffer exchange.
Updates from last version:-
Adding offset for size calculation as per comment from Magnus Damm. This
ensures the last page is also included for checking if memory is
contiguous.
Signed-off-by: Muralidharan Karicheri <[email protected]>
Acked-by: Magnus Damm <[email protected]>
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions