Skip to content
Snippets Groups Projects
Commit d0df8a35 authored by Tomer Tayar's avatar Tomer Tayar Committed by Oded Gabbay
Browse files

accel/habanalabs: fix DRAM BAR base address calculation


When the DRAM region size in the BAR is not a power of 2, calculating
the corresponding BAR base address should be done using the offset from
the DRAM start address, and not using directly the DRAM address.

Signed-off-by: default avatarTomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay's avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay's avatarOded Gabbay <ogabbay@kernel.org>
parent 8c075401
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment