aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Tomer Tayar <ttayar@habana.ai> 2024-01-30 09:57:32 +0200
committerGravatar Oded Gabbay <ogabbay@kernel.org> 2024-02-26 09:47:27 +0200
commitc517068349836ae8c090abc1f1a9b540e4370331 (patch)
treef833f33876a727c50a5c273a0d7aa0a5b5400cac /lib
parentaccel/habanalabs: handle reserved memory request when working with full FW (diff)
downloadlinux-c517068349836ae8c090abc1f1a9b540e4370331.tar.gz
linux-c517068349836ae8c090abc1f1a9b540e4370331.tar.bz2
linux-c517068349836ae8c090abc1f1a9b540e4370331.zip
accel/habanalabs: keep explicit size of reserved memory for FW
The reserved memory for FW is currently saved in an ASIC property in units of MB, just like the value that comes from FW. Except the fact that it is not clear from the property's name, it means also that a calculation to actual size is required everywhere that it is used. Modify the property to hold the size in bytes. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions