video: rockchip: rkvdec: add drm&ion allocator support
authorRandy Li <randy.li@rock-chips.com>
Mon, 31 Oct 2016 08:58:28 +0000 (16:58 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 9 Dec 2016 09:44:41 +0000 (17:44 +0800)
commitf14530d44cee134be240d851925fffb487e509c0
tree384bea31170b4eae2cd70df4e55aa54680b49fe6
parent674ed815cc5217bf5178f45b3f7d3183e4e09342
video: rockchip: rkvdec: add drm&ion allocator support

Now vpu driver support both drm and ion allocator. And have
test on rk3399-mid(drm android 7.1), rk3399-mid(ion android
6.0), rk3288(linux mini arm) platform.

Change-Id: I0096c3928849b1f11a62378675f4559b4f101445
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
drivers/video/rockchip/vcodec/Makefile
drivers/video/rockchip/vcodec/vcodec_hw_info.h
drivers/video/rockchip/vcodec/vcodec_hw_rkv.h
drivers/video/rockchip/vcodec/vcodec_hw_vpu.h
drivers/video/rockchip/vcodec/vcodec_hw_vpu2.h
drivers/video/rockchip/vcodec/vcodec_iommu_drm.c [new file with mode: 0644]
drivers/video/rockchip/vcodec/vcodec_iommu_ion.c [new file with mode: 0644]
drivers/video/rockchip/vcodec/vcodec_iommu_ops.c [new file with mode: 0644]
drivers/video/rockchip/vcodec/vcodec_iommu_ops.h [new file with mode: 0644]
drivers/video/rockchip/vcodec/vcodec_service.c