[PATCH 12/13] accel/habanalabs: keep explicit size of reserved memory for FW

Carl Vanderlip quic_carlv at quicinc.com
Fri Feb 23 23:26:56 UTC 2024


On 2/20/2024 8:01 AM, Oded Gabbay wrote:
> From: Tomer Tayar <ttayar at habana.ai>
> 
> 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 at habana.ai>
> Reviewed-by: Oded Gabbay <ogabbay at kernel.org>
> Signed-off-by: Oded Gabbay <ogabbay at kernel.org>

Reviewed-by: Carl Vanderlip <quic_carlv at quicinc.com>


More information about the dri-devel mailing list