[PATCH 5/7] uapi/habanalabs: fix some comments

From: Oded Gabbay
Date: Tue Jun 16 2020 - 02:14:28 EST


MAP/UNMAP are done also for device memory.

Signed-off-by: Oded Gabbay <oded.gabbay@xxxxxxxxx>
---
include/uapi/misc/habanalabs.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h
index f6267a8d7416..f218d1c62c62 100644
--- a/include/uapi/misc/habanalabs.h
+++ b/include/uapi/misc/habanalabs.h
@@ -530,13 +530,13 @@ union hl_wait_cs_args {
struct hl_wait_cs_out out;
};

-/* Opcode to alloc device memory */
+/* Opcode to allocate device memory */
#define HL_MEM_OP_ALLOC 0
/* Opcode to free previously allocated device memory */
#define HL_MEM_OP_FREE 1
-/* Opcode to map host memory */
+/* Opcode to map host and device memory */
#define HL_MEM_OP_MAP 2
-/* Opcode to unmap previously mapped host memory */
+/* Opcode to unmap previously mapped host and device memory */
#define HL_MEM_OP_UNMAP 3

/* Memory flags */
--
2.17.1