aboutsummaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorOfir Bitton <[email protected]>2020-12-31 12:00:55 +0200
committerOded Gabbay <[email protected]>2021-01-27 21:03:49 +0200
commit6769cea8de590920c95603c4f3ce063e38033423 (patch)
tree7a97ce662c2b296836021b61df7aa9ede4461c3b /scripts/git.orderFile
parentb19dc67aa8c008661b10b1c2372a29f403bf5dac (diff)
habanalabs: report correct dram size in info ioctl
In case MMU is enabled, we must take MMU page size into consideration when reporting dram size to the user. This is because the MMU page size can be a value which is NOT a power-of-2 value. As a result, the total DRAM size (which is always a power-of-2 value) needed to be rounded-down. Signed-off-by: Ofir Bitton <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions