habanalabs: set max asid to 2
PATCH 1/1 habanalabs: set max asid to 2
From: farah kassabri <[email protected]>
currently we support only 2 asids in all asics. asid 0 for driver, and asic 1 for user.
no need to setup 1024 asids configurations at init phase.
Signed-off-by farah kassabri <[email protected]>
Reviewed-by Oded Gabbay <[email protected]>
Signed-off-by Oded Gabbay <[email protected]>
--- drivers/misc/habanalabs/include/gaudi/gaudi.h | 2 +- drivers/misc/habanalabs/include/goya/goya.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/misc/habanalabs/include/gaudi/gaudi.h +1 -1
@@ -38,7 +38,7 @@#define QMAN_PQ_ENTRY_SIZE 16/* Bytes */ -#define MAX_ASID 1024 +#define MAX_ASID 2#define PROT_BITS_OFFS 0xF80
drivers/misc/habanalabs/include/goya/goya.h +1 -1
@@ -30,7 +30,7 @@#define QMAN_PQ_ENTRY_SIZE 16/* Bytes */ -#define MAX_ASID 1024 +#define MAX_ASID 2#define PROT_BITS_OFFS 0xF80
Signature · 1 line
2.25.1