diff options
| author | Irui Wang <irui.wang@mediatek.com> | 2021-06-05 04:29:15 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-17 10:11:28 +0200 |
| commit | c2c3bde0e1aed4250e7eafb1bc739760c61d10b8 (patch) | |
| tree | fb996d1c0edc6a22d2e4b2fa13061cbc1c903ad0 /lib/mpi/mpi-internal.h | |
| parent | 5cd57605771216755bd6f98748d4f11d1e65b780 (diff) | |
media: mtk-vcodec: Support 34bits dma address for venc
Use the dma_set_mask_and_coherent helper to set venc
DMA bit mask to support 34bits iova space(16GB) that
the mt8192 iommu HW support.
Whole the iova range separate to 0~4G/4G~8G/8G~12G/12G~16G,
regarding which iova range VENC actually locate, it
depends on the dma-ranges property of venc dtsi node.
Signed-off-by: Irui Wang <irui.wang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
