提交 1530d468 编写于 作者: O Oded Gabbay

habanalabs: add ASIC property of functional HBMs

The number of functional HBMs in the same ASIC can be different due
to malfunctioning HBM banks.
Signed-off-by: NOded Gabbay <ogabbay@kernel.org>
上级 2e368560
...@@ -416,6 +416,7 @@ struct hl_mmu_properties { ...@@ -416,6 +416,7 @@ struct hl_mmu_properties {
* from BOOT_DEV_STS0 * from BOOT_DEV_STS0
* @dram_supports_virtual_memory: is there an MMU towards the DRAM * @dram_supports_virtual_memory: is there an MMU towards the DRAM
* @hard_reset_done_by_fw: true if firmware is handling hard reset flow * @hard_reset_done_by_fw: true if firmware is handling hard reset flow
* @num_functional_hbms: number of functional HBMs in each DCORE.
*/ */
struct asic_fixed_properties { struct asic_fixed_properties {
struct hw_queue_properties *hw_queues_props; struct hw_queue_properties *hw_queues_props;
...@@ -474,6 +475,7 @@ struct asic_fixed_properties { ...@@ -474,6 +475,7 @@ struct asic_fixed_properties {
u8 fw_security_status_valid; u8 fw_security_status_valid;
u8 dram_supports_virtual_memory; u8 dram_supports_virtual_memory;
u8 hard_reset_done_by_fw; u8 hard_reset_done_by_fw;
u8 num_functional_hbms;
}; };
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册