]> git.baikalelectronics.ru Git - kernel.git/commit
media: ti-vpe: Set the DMA mask and coherent mask
authorBenoit Parrot <bparrot@ti.com>
Mon, 7 Oct 2019 15:10:03 +0000 (12:10 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 16:51:00 +0000 (13:51 -0300)
commit742304a24e8ad17ca0a88025a805c4c6435ecece
treedcf4717ea3e3dc8249fb4e891b7bc9b31f888881
parent7733b7dc6b9c02f4d8442466c44d825ca2f2a3d5
media: ti-vpe: Set the DMA mask and coherent mask

VPE uses VPDMA (built-in dma engine) to transfer data to and from the IP
and memory. VPDMA expect 32 bits addresses. To make sure that is always
the case set the DMA mask and coherent mask for the device.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/ti-vpe/vpe.c