Commit 3bf1c021 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

uapi/habanalabs: fix some comments



MAP/UNMAP are done also for device memory.

Reviewed-by: default avatarOmer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent 6c07bab3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 */