video: rockchip: rga3: Add the init of lock and list_head in rga_job.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I1115710be7d5b1a57ccb71f5c7cb6a5b136cb660
This commit is contained in:
Yu Qiaowei
2021-12-27 16:09:22 +08:00
committed by Tao Huang
parent 5eea33351b
commit 6d4d9354f9

View File

@@ -85,6 +85,9 @@ static struct rga_job *rga_job_alloc(struct rga_req *rga_command_base)
if (!job)
return NULL;
spin_lock_init(&job->fence_lock);
INIT_LIST_HEAD(&job->head);
job->timestamp = ktime_get();
job->rga_command_base = *rga_command_base;