]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: communicate supported page sizes to user
authorOhad Sharabi <osharabi@habana.ai>
Sat, 25 Jun 2022 20:36:13 +0000 (23:36 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:26 +0000 (09:09 +0300)
commit08f7655649760a6006e66e5dbad756898bbd1b97
treed412dc4b9089b92ced52cf0774f3e4b95e73a725
parente7d00f0fa24846b74f63cec00f6e1ca2291cd52e
habanalabs: communicate supported page sizes to user

Because in future ASICs the driver will allow the user to set the
page size we need to make sure this data is propagated in all APIs.

In addition, since this is already an ASIC property we no longer need
ASIC function for it.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/habanalabs_ioctl.c
drivers/misc/habanalabs/common/memory.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c