video: rockchip: vpu: add rk3368 support
authorJung Zhao <jung.zhao@rock-chips.com>
Mon, 20 Mar 2017 03:27:04 +0000 (11:27 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 24 Mar 2017 06:04:22 +0000 (14:04 +0800)
commit2909a86c7b77392554b36148e4a44315977c2f18
tree6e6a0d2bdf9f441c5b024b923a6ac9d71beb2bea
parentf8dc9a61c5e41c30fc7dbe6b146940f22c2188d0
video: rockchip: vpu: add rk3368 support

3368 is vpu & hevc combo platform which have a virtual master device
and two sub devcie - vpu_service & hevc_service. There is a flag in
grf, driver need write or erase this flag when switch mode.

since shutdown function only be called on virtual master device, we
need to call into both vpu and hevc device.

Change-Id: I56ad28dbbc7cc380204fb7d0da11d93b5ace9469
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
drivers/video/rockchip/vcodec/vcodec_iommu_drm.c
drivers/video/rockchip/vcodec/vcodec_service.c