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)
commit7edf341b9ef5012408a2ddac7ba30bc94e1dffaf
tree3e2e1d2ffefb27e98b69e35b7f290ba08ad1d344
parentd83fe66928b2ff50367c983c345d17f7b8769235
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