Add support for Gaudi2 Device with PCI revision 2. Functionality is exactly the same as revision 1, the only difference is device name exposed to user.
Showing the changes to include/uapi (1 of 10 files). Show all
Unified · Split
| @@ -868,6 +868,7 @@ enum hl_server_type { · 867 unmodified lines | ||
| 868 | 868 | * @number_of_user_interrupts: The number of interrupts that are available to the userspace |
| 869 | 869 | * application to use. Relevant for Gaudi2 and later. |
| 870 | 870 | * @device_mem_alloc_default_page_size: default page size used in device memory allocation. |
| 871 | + * @revision_id: PCI revision ID of the ASIC. | |
| 871 | 872 | */ |
| 872 | 873 | struct hl_info_hw_ip_info { |
| 873 | 874 | __u64 sram_base_address; |
| @@ -898,6 +899,12 @@ struct hl_info_hw_ip_info { · 24 unmodified lines | ||
| 898 | 899 | __u16 pad2; |
| 899 | 900 | __u64 reserved4; |
| 900 | 901 | __u64 device_mem_alloc_default_page_size; |
| 902 | + __u64 reserved5; | |
| 903 | + __u64 reserved6; | |
| 904 | + __u32 reserved7; | |
| 905 | + __u8 reserved8; | |
| 906 | + __u8 revision_id; | |
| 907 | + __u8 pad[2]; | |
| 901 | 908 | }; |
| 902 | 909 | |
| 903 | 910 | struct hl_info_dram_usage { |