diff options
| author | Arto Merilainen <amerilainen@nvidia.com> | 2018-01-19 03:00:57 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-24 08:29:45 -0500 |
| commit | f98607eb3364cbd10fe345aedb38467c2e0a7017 (patch) | |
| tree | 9f4f3393852be106a24935092619d14a3cffac48 /include/uapi/linux | |
| parent | 58735e45bfd0810f4237d3b003952b620c641c2c (diff) | |
video: tegra: host: pva: Update characteristics
This change updates the ioctl for fetching the driver/PVA
characteristics to return the firmware version and PVA
driver submission mode.
JIRA PVA-863
Change-Id: I5b8d39f8306d68730460b90c28d7da6ee4c2f72d
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1642064
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/nvhost_pva_ioctl.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/include/uapi/linux/nvhost_pva_ioctl.h b/include/uapi/linux/nvhost_pva_ioctl.h index 520c47b9c..c09e1ba71 100644 --- a/include/uapi/linux/nvhost_pva_ioctl.h +++ b/include/uapi/linux/nvhost_pva_ioctl.h | |||
| @@ -48,20 +48,25 @@ struct pva_characteristics_req { | |||
| 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 | * @num_queues: number of queues per pva | 50 | * @num_queues: number of queues per pva |
| 51 | * @reserved: reserved for future use | 51 | * @submit_mode: PVA submission mode |
| 52 | * @r5_ucode_version: R5 firmware version | 52 | * @pva_r5_revision: PVA R5 firmware revision |
| 53 | * @r5_ucode_earliest: 1st version compatible with current running fw | 53 | * @pva_compat_version: Earliest version supporting the firmware |
| 54 | * @r5_vpu_runtime_earliest: First supported vpu runtime version | 54 | * @pva_revision: PVA revision |
| 55 | * @pva_built_on: Firmware build information | ||
| 55 | * | 56 | * |
| 56 | */ | 57 | */ |
| 57 | struct pva_characteristics { | 58 | struct pva_characteristics { |
| 58 | __u8 num_vpu; | 59 | __u8 num_vpu; |
| 59 | __u8 vpu_generation; | 60 | __u8 vpu_generation; |
| 60 | __u8 num_queues; | 61 | __u8 num_queues; |
| 61 | __u8 reserved[1]; | 62 | #define PVA_CHARACTERISTCS_IOCTL_SUBMIT_MODE_MAILBOX 0 |
| 62 | __u32 r5_ucode_version; | 63 | #define PVA_CHARACTERISTCS_IOCTL_SUBMIT_MODE_MMIO_CCQ 1 |
| 63 | __u32 r5_ucode_earliest; | 64 | #define PVA_CHARACTERISTCS_IOCTL_SUBMIT_MODE_CHANNEL_CCQ 2 |
| 64 | __u32 r5_vpu_runtime_earliest; | 65 | __u8 submit_mode; |
| 66 | __u32 pva_r5_version; | ||
| 67 | __u32 pva_compat_version; | ||
| 68 | __u32 pva_revision; | ||
| 69 | __u32 pva_built_on; | ||
| 65 | }; | 70 | }; |
| 66 | 71 | ||
| 67 | /** | 72 | /** |
