Currently job serialization is done in the beginning of each submit
which is ok as long as the submits are using the same syncpoints.
However, as we are going to support also a mode where multiple
channels can use the same engine and each of the channels will use
their own syncpoints. Therefore channel serialization must be done
at end of work instead of beginning of work.
This patch also enables forced op_done for the clients (VIC) using
serialization feature. This will ensure that we do not stop CDMA
while holding the MLOCK.
Bug
200041935
Change-Id: If13502cee4d24b009670baf6541ab53837491e45
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/660248
goto error;
}
- serialize(job);
push_waits(job);
lock_device(job, true);
else
submit_gathers(job);
+ serialize(job);
lock_device(job, false);
submit_work_done_increment(job);
.actmon_regs = HOST1X_CHANNEL_ACTMON2_REG_BASE,
.actmon_enabled = true,
.serialize = true,
+ .push_work_done = true,
.firmware_name = "vic04_ucode.bin",
.gather_filter_enabled = true,
.bond_out_id = BOND_OUT_VIC,