We want to stop using the acronym KMD. Therefore, replace all locations (except for register names we can't modify) where KMD is written to other terms such as "Linux kernel driver" or "Host kernel driver", etc.
Showing the changes to include/uapi (1 of 9 files). Show all
Unified · Split
| @@ -1,6 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
| 2 | * | 2 | * |
| 3 | * Copyright 2016-2018 HabanaLabs, Ltd. | 3 | * Copyright 2016-2019 HabanaLabs, Ltd. |
| 4 | * All Rights Reserved. | 4 | * All Rights Reserved. |
| 5 | * | 5 | * |
| 6 | */ | 6 | */ |
| @@ -329,12 +329,12 @@ struct hl_mem_in { · 322 unmodified lines | |||
| 329 | struct { | 329 | struct { |
| 330 | /* | 330 | /* |
| 331 | * Requested virtual address of mapped memory. | 331 | * Requested virtual address of mapped memory. |
| 332 | * KMD will try to map the requested region to this | 332 | * The driver will try to map the requested region to |
| 333 | * hint address, as long as the address is valid and | 333 | * this hint address, as long as the address is valid |
| 334 | * not already mapped. The user should check the | 334 | * and not already mapped. The user should check the |
| 335 | * returned address of the IOCTL to make sure he got | 335 | * returned address of the IOCTL to make sure he got |
| 336 | * the hint address. Passing 0 here means that KMD | 336 | * the hint address. Passing 0 here means that the |
| 337 | * will choose the address itself. | 337 | * driver will choose the address itself. |
| 338 | */ | 338 | */ |
| 339 | __u64 hint_addr; | 339 | __u64 hint_addr; |
| 340 | /* Handle returned from HL_MEM_OP_ALLOC */ | 340 | /* Handle returned from HL_MEM_OP_ALLOC */ |
| @@ -347,12 +347,12 @@ struct hl_mem_in { · 6 unmodified lines | |||
| 347 | __u64 host_virt_addr; | 347 | __u64 host_virt_addr; |
| 348 | /* | 348 | /* |
| 349 | * Requested virtual address of mapped memory. | 349 | * Requested virtual address of mapped memory. |
| 350 | * KMD will try to map the requested region to this | 350 | * The driver will try to map the requested region to |
| 351 | * hint address, as long as the address is valid and | 351 | * this hint address, as long as the address is valid |
| 352 | * not already mapped. The user should check the | 352 | * and not already mapped. The user should check the |
| 353 | * returned address of the IOCTL to make sure he got | 353 | * returned address of the IOCTL to make sure he got |
| 354 | * the hint address. Passing 0 here means that KMD | 354 | * the hint address. Passing 0 here means that the |
| 355 | * will choose the address itself. | 355 | * driver will choose the address itself. |
| 356 | */ | 356 | */ |
| 357 | __u64 hint_addr; | 357 | __u64 hint_addr; |
| 358 | /* Size of allocated host memory */ | 358 | /* Size of allocated host memory */ |