History

habanalabs: report dram_page_size in hw_ip_info ioctl

Instead of having it hard-coded as a define, pass it to the user in runtime.

Moti Haimovski committed 5 years ago

Commit 0eda23d1 parent e1b85db2 files · +3 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/misc/habanalabs.h+2−0
@@ -320,6 +320,8 @@ struct hl_info_hw_ip_info { · 319 unmodified lines
320320 __u8 pad[2];
321321 __u8 cpucp_version[HL_INFO_VERSION_MAX_LEN];
322322 __u8 card_name[HL_INFO_CARD_NAME_MAX_LEN];
323+ __u64 reserved2;
324+ __u64 dram_page_size;
323325 };
324326
325327 struct hl_info_dram_usage {