video: rockchip: vpu: remove extra input fd map/unmap

remap input fd is unnecessarily now.

Change-Id: I288fa2bad67be37603d9dedd4291d90d8cd2e602
Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
This commit is contained in:
Jung Zhao
2017-08-21 11:06:38 +08:00
committed by Huang, Tao
parent eabe4ce8c6
commit 6d994f02ab

View File

@@ -1045,12 +1045,6 @@ static int vcodec_bufid_to_iova(struct vpu_subdev_data *data,
if (usr_fd == 0)
continue;
/*
* for avoiding cache sync issue, we need to map/unmap
* input buffer every time. FIX ME, if it is unnecessary
*/
if (task->reg_rlc == tbl[i])
vcodec_iommu_free_fd(data->iommu_info, session, usr_fd);
/*
* special offset scale case
*