[PATCH v11,14/19] media: mtk-vcodec: Support 34bits dma address for vdec

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed Dec 1 12:09:00 UTC 2021


Il 29/11/21 04:41, Yunfei Dong ha scritto:
> Use the dma_set_mask_and_coherent helper to set vdec
> 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 VDEC actually locate, it
> depends on the dma-ranges property of vdec dtsi node.
> 
> Signed-off-by: Yunfei Dong <yunfei.dong at mediatek.com>


Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>


More information about the dri-devel mailing list