diff options
author | Ohad Sharabi <osharabi@habana.ai> | 2022-02-23 14:37:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 21:57:34 +0300 |
commit | 050a6f349a09d3cefb14f4114bfa047b2c5b2a65 (patch) | |
tree | e10a888741622f3955dff83e8434846dde35dc58 /lib | |
parent | 06926dbed215ac98d253b151ae5ad3b0cabac2bf (diff) | |
download | linux-050a6f349a09d3cefb14f4114bfa047b2c5b2a65.tar.xz |
habanalabs: add user API to get valid DRAM page sizes
Future devices will support multiple device memory page sizes.
In addition, an API for the user was added for it to be able to control
the device memory allocation page size.
This patch is a complementary patch to inform the user of the available
page size supported by the device.
Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions