diff options
| author | Vinod G <vinodg@nvidia.com> | 2017-04-07 14:07:15 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-27 00:05:08 -0400 |
| commit | 897a4f33b4508fb255a8a1c09356a20530afc3d6 (patch) | |
| tree | c01d0d822747cae93dec316b7aaa6c08b51cd2dc /include/uapi | |
| parent | abfbc20b1a44a0711748b590475d674c65e9f117 (diff) | |
video: tegra: pva: Add num_queues variable
Add num_queues variable to the pva
characteristics struct to let the user
know how many queues be supported per pva.
JIRA PVA-335
Change-Id: I069dc4fa1c6b4764628ca3503cc3d2302a455147
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: http://git-master/r/1458103
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/nvhost_pva_ioctl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/uapi/linux/nvhost_pva_ioctl.h b/include/uapi/linux/nvhost_pva_ioctl.h index ab68cf79c..a239a6f75 100644 --- a/include/uapi/linux/nvhost_pva_ioctl.h +++ b/include/uapi/linux/nvhost_pva_ioctl.h | |||
| @@ -47,7 +47,7 @@ struct pva_characteristics_req { | |||
| 47 | * | 47 | * |
| 48 | * @num_vpu: number of vpu per pva | 48 | * @num_vpu: number of vpu per pva |
| 49 | * @vpu_generation: vpu hardware generation | 49 | * @vpu_generation: vpu hardware generation |
| 50 | * @task_structure_version: highest supported task struct ver | 50 | * @num_queues: number of queues per pva |
| 51 | * @reserved: reserved for future use | 51 | * @reserved: reserved for future use |
| 52 | * @r5_ucode_version: R5 firmware version | 52 | * @r5_ucode_version: R5 firmware version |
| 53 | * @r5_ucode_earliest: 1st version compatible with current running fw | 53 | * @r5_ucode_earliest: 1st version compatible with current running fw |
| @@ -57,7 +57,8 @@ struct pva_characteristics_req { | |||
| 57 | struct pva_characteristics { | 57 | struct pva_characteristics { |
| 58 | __u8 num_vpu; | 58 | __u8 num_vpu; |
| 59 | __u8 vpu_generation; | 59 | __u8 vpu_generation; |
| 60 | __u8 reserved[2]; | 60 | __u8 num_queues; |
| 61 | __u8 reserved[1]; | ||
| 61 | __u32 r5_ucode_version; | 62 | __u32 r5_ucode_version; |
| 62 | __u32 r5_ucode_earliest; | 63 | __u32 r5_ucode_earliest; |
| 63 | __u32 r5_vpu_runtime_earliest; | 64 | __u32 r5_vpu_runtime_earliest; |
