Commit 1630d14f authored by Oded Gabbay's avatar Oded Gabbay

accel/habanalabs: minor cosmetic update to habanalabs.h

- Update copyright years
- Align fields in struct hl_userptr
- Fix comments
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
Reviewed-by: default avatarOfir Bitton <obitton@habana.ai>
parent 4355f2c3
/* SPDX-License-Identifier: GPL-2.0 /* SPDX-License-Identifier: GPL-2.0
* *
* Copyright 2016-2022 HabanaLabs, Ltd. * Copyright 2016-2023 HabanaLabs, Ltd.
* All Rights Reserved. * All Rights Reserved.
* *
*/ */
...@@ -553,8 +553,7 @@ struct hl_hints_range { ...@@ -553,8 +553,7 @@ struct hl_hints_range {
* allocated with huge pages. * allocated with huge pages.
* @hints_dram_reserved_va_range: dram hint addresses reserved range. * @hints_dram_reserved_va_range: dram hint addresses reserved range.
* @hints_host_reserved_va_range: host hint addresses reserved range. * @hints_host_reserved_va_range: host hint addresses reserved range.
* @hints_host_hpage_reserved_va_range: host huge page hint addresses reserved * @hints_host_hpage_reserved_va_range: host huge page hint addresses reserved range.
* range.
* @sram_base_address: SRAM physical start address. * @sram_base_address: SRAM physical start address.
* @sram_end_address: SRAM physical end address. * @sram_end_address: SRAM physical end address.
* @sram_user_base_address - SRAM physical start address for user access. * @sram_user_base_address - SRAM physical start address for user access.
...@@ -593,7 +592,7 @@ struct hl_hints_range { ...@@ -593,7 +592,7 @@ struct hl_hints_range {
* @mmu_pte_size: PTE size in MMU page tables. * @mmu_pte_size: PTE size in MMU page tables.
* @mmu_hop_table_size: MMU hop table size. * @mmu_hop_table_size: MMU hop table size.
* @mmu_hop0_tables_total_size: total size of MMU hop0 tables. * @mmu_hop0_tables_total_size: total size of MMU hop0 tables.
* @dram_page_size: page size for MMU DRAM allocation. * @dram_page_size: The DRAM physical page size.
* @cfg_size: configuration space size on SRAM. * @cfg_size: configuration space size on SRAM.
* @sram_size: total size of SRAM. * @sram_size: total size of SRAM.
* @max_asid: maximum number of open contexts (ASIDs). * @max_asid: maximum number of open contexts (ASIDs).
...@@ -695,7 +694,7 @@ struct hl_hints_range { ...@@ -695,7 +694,7 @@ struct hl_hints_range {
* @configurable_stop_on_err: is stop-on-error option configurable via debugfs. * @configurable_stop_on_err: is stop-on-error option configurable via debugfs.
* @set_max_power_on_device_init: true if need to set max power in F/W on device init. * @set_max_power_on_device_init: true if need to set max power in F/W on device init.
* @supports_user_set_page_size: true if user can set the allocation page size. * @supports_user_set_page_size: true if user can set the allocation page size.
* @dma_mask: the dma mask to be set for this device * @dma_mask: the dma mask to be set for this device.
* @supports_advanced_cpucp_rc: true if new cpucp opcodes are supported. * @supports_advanced_cpucp_rc: true if new cpucp opcodes are supported.
* @supports_engine_modes: true if changing engines/engine_cores modes is supported. * @supports_engine_modes: true if changing engines/engine_cores modes is supported.
* @support_dynamic_resereved_fw_size: true if we support dynamic reserved size for fw. * @support_dynamic_resereved_fw_size: true if we support dynamic reserved size for fw.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment