mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user