[media] tw686x: Specify that the DMA is 32 bits
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Fri, 1 Apr 2016 22:38:21 +0000 (19:38 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 Apr 2016 16:43:12 +0000 (13:43 -0300)
commit1c9f47195ef83ffd59ff665f2006789c0610cff0
tree361a9bce96c18fcb8ddfd66773fcdc3d3147df9a
parente3a900a8fae22949523e0b6c3f0626ce5f3f48c3
[media] tw686x: Specify that the DMA is 32 bits

Set vb2_queue.gfp_flags to GFP_DMA32. Otherwise it will start to
create bounce buffers which is something you want to avoid since
those are in limited supply.

Without this patch, DMA scatter-gather may not work because
machines can ran out of buffers easily.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/tw686x/tw686x-video.c