video: tegra: host: increase num of prefence count

- NvMedia adds pre-fence per-unit * per-output-tensor + 1 *
  per-input-tensor to enable tensor reuse and synchronization,
  so increase the prefence max count to 32.

- Match fence count with status

Jira DLA-703

Change-Id: Icac0779689c9f1921c5d2ad816d731e04b5539f5
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1671196
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Shridhar Rasal
2018-03-08 16:21:31 +05:30
committed by Laxman Dewangan
parent 197fd56298
commit 466b80d901

View File

@@ -100,10 +100,10 @@
/**
* Max number of fences supported
*/
#define MAX_NUM_NVDLA_PREFENCES 4
#define MAX_NUM_NVDLA_PREFENCES 32
#define MAX_NUM_NVDLA_POSTFENCES 4
#define MAX_NUM_NVDLA_IN_TASK_STATUS 4
#define MAX_NUM_NVDLA_OUT_TASK_STATUS 4
#define MAX_NUM_NVDLA_IN_TASK_STATUS MAX_NUM_NVDLA_PREFENCES
#define MAX_NUM_NVDLA_OUT_TASK_STATUS MAX_NUM_NVDLA_POSTFENCES
#define NUM_PROFILING_POSTACTION 1
#define MAX_COMMANDS_PER_DEVICE 1