video: tegra: host: nvdla: Align max buffers per task limit

- Max buffers per task limit was reduced to 384 recently as
  per all usecases from UMD
- Rename the macro to MAX_NVDLA_BUFFERS_PER_TASK to avoid
  conflict with another macro defined in nvdla_inf.h
- Reflect this change in uapi

Jira DLA-4376

Change-Id: I7d2f19901db5273ae2ae2ba7be504223c2f59e4e
Signed-off-by: Anup Mahindre <amahindre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2517621
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Anup Mahindre
2021-04-20 15:39:18 +05:30
committed by Laxman Dewangan
parent c5b179e99d
commit ae34c03649
3 changed files with 5 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ struct nvdla_ioctl_submit_task {
__u8 num_sof_timestamps;
__u8 num_eof_timestamps;
__u8 reserved0[1];
#define NVDLA_MAX_BUFFERS_PER_TASK (6144)
#define MAX_NVDLA_BUFFERS_PER_TASK (384U)
__u32 num_addresses;
__u16 flags;
__u16 reserved1;