]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/habanalabs: add an EQ size ASIC property
authorTomer Tayar <ttayar@habana.ai>
Wed, 13 Mar 2024 09:45:45 +0000 (11:45 +0200)
committerOfir Bitton <obitton@habana.ai>
Sun, 23 Jun 2024 06:53:04 +0000 (09:53 +0300)
commit5f6ad3c64ad14fd1c86999a462f98da04f49d068
tree9996b92818b775437c605ba1c24e3707b65f1212
parentc2a27584ff3b7f17da3ed2abfa3956f9d376e3da
accel/habanalabs: add an EQ size ASIC property

Future supported ASICs might use the dynamic EQ mechanism with the
firmware, and in that case the EQ size won't be equal to the default
HL_EQ_SIZE_IN_BYTES value.
Add an ASIC property to enable overriding this value.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Ofir Bitton <obitton@habana.ai>
Signed-off-by: Ofir Bitton <obitton@habana.ai>
drivers/accel/habanalabs/common/habanalabs.h
drivers/accel/habanalabs/common/irq.c