mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user