diff options
| author | Tomasz Figa <[email protected]> | 2018-11-21 01:37:59 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-12-03 14:29:14 -0500 |
| commit | 8b8130f0c76abb422b5fd98aba401cd97e0b88b9 (patch) | |
| tree | c9b3d265462f5bc7cf62aa007af93cdddfcfa6df /drivers/media/v4l2-core/v4l2-ioctl.c | |
| parent | 25f5c34bc8bfabc7406d7c88b73cdf05023d31f7 (diff) | |
media: mtk-vcodec: Remove VA from encoder frame buffers
The encoder driver has no need to do any CPU access to the source frame
buffers. Use a separate structure for holding DMA addresses and sizes
for those and remove, so we do not end up introducing any erroneous
dereferences of those VAs.
This fixes DMA-buf import from exporters that do not provide contiguous
kernel mappings, which includes the MTK DRM driver.
Signed-off-by: Tomasz Figa <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions