mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
video: rockchip: mpp: remove ktime_get within a task processing
reason: mem_regions are within a task, and the differ time between mem_region can be ignore. Thus, it can be remove when attach task fds. Change-Id: I5986d2dca6eff41d6c6a8fa3f037e183b102e63c Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
@@ -1336,7 +1336,6 @@ mpp_task_attach_fd(struct mpp_task *task, int fd)
|
||||
memcpy(mem_region, loop, sizeof(*loop));
|
||||
buffer = mem_region->hdl;
|
||||
kref_get(&buffer->ref);
|
||||
buffer->last_used = ktime_get();
|
||||
} else {
|
||||
down_read(&mpp->iommu_info->rw_sem);
|
||||
buffer = mpp_dma_import_fd(mpp->iommu_info, dma, fd);
|
||||
|
||||
Reference in New Issue
Block a user