diff options
| author | Mikko Perttunen <mperttunen@nvidia.com> | 2017-05-02 07:02:14 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-04 16:27:14 -0400 |
| commit | 6ac0eef0539fc249938ea1ec6bfe978ef0bcf2f3 (patch) | |
| tree | fbf25a312c87ce813a02cbd17b654fdc1f3e7d03 /include/linux | |
| parent | 1f0d03fccb0e197efc3d9fdcf92d9d79d0a9c47d (diff) | |
video: tegra: host: Add limit for syncpt incrs in one submit
Set max number of syncpt incrs in a submit to 10. Using
this we can remove a VLA.
Bug 200299572
Change-Id: I7524e77591ac784819636ecfe7f1b35a10fda2ef
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-on: http://git-master/r/1473583
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvhost_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvhost_ioctl.h b/include/linux/nvhost_ioctl.h index 9ecbb9129..06d0892b7 100644 --- a/include/linux/nvhost_ioctl.h +++ b/include/linux/nvhost_ioctl.h | |||
| @@ -206,6 +206,7 @@ struct nvhost32_submit_args { | |||
| 206 | } __packed; | 206 | } __packed; |
| 207 | 207 | ||
| 208 | #define NVHOST_SUBMIT_FLAG_SYNC_FENCE_FD 0 | 208 | #define NVHOST_SUBMIT_FLAG_SYNC_FENCE_FD 0 |
| 209 | #define NVHOST_SUBMIT_MAX_NUM_SYNCPT_INCRS 10 | ||
| 209 | 210 | ||
| 210 | struct nvhost_submit_args { | 211 | struct nvhost_submit_args { |
| 211 | __u32 submit_version; | 212 | __u32 submit_version; |
