]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: add num_hops to hl_mmu_properties
authorMoti Haimovski <mhaimovski@habana.ai>
Sun, 23 Aug 2020 10:23:13 +0000 (13:23 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:53 +0000 (18:49 +0300)
commite8c35bb70b5534da2456b93ac83cbc890f59e20e
tree3e2e1d2ffefb27e98b69e35b7f290ba08ad1d344
parenta931500fcea39d552d091ad6c0953d7b5790d3a2
habanalabs: add num_hops to hl_mmu_properties

This commit adds the number of HOPs supported by the device to the
device MMU properties.

Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/include/hw_ip/mmu/mmu_general.h