summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/include
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2022-06-24 13:36:10 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-07-12 09:09:25 +0300
commit5125aa3368892dd9dd8bca3d64e88b11bc3490a4 (patch)
treece6d61f0014d295f1c44728549dd6b651fdf320c /drivers/misc/habanalabs/include
parent7659c30d1991098cd11e3d0fc8b9c6941ffe1440 (diff)
habanalabs/goya: move dma direction enum to uapi file
The values in this enum are not used by h/w but are a contract between userspace and the kernel driver so they must be defined in the uapi file. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/include')
-rw-r--r--drivers/misc/habanalabs/include/goya/goya_packets.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/misc/habanalabs/include/goya/goya_packets.h b/drivers/misc/habanalabs/include/goya/goya_packets.h
index 50ce5175b63a..896799204fb0 100644
--- a/drivers/misc/habanalabs/include/goya/goya_packets.h
+++ b/drivers/misc/habanalabs/include/goya/goya_packets.h
@@ -28,18 +28,6 @@ enum packet_id {
PACKET_HEADER_PACKET_ID_SHIFT) + 1
};
-enum goya_dma_direction {
- DMA_HOST_TO_DRAM,
- DMA_HOST_TO_SRAM,
- DMA_DRAM_TO_SRAM,
- DMA_SRAM_TO_DRAM,
- DMA_SRAM_TO_HOST,
- DMA_DRAM_TO_HOST,
- DMA_DRAM_TO_DRAM,
- DMA_SRAM_TO_SRAM,
- DMA_ENUM_MAX
-};
-
#define GOYA_PKT_CTL_OPCODE_SHIFT 24
#define GOYA_PKT_CTL_OPCODE_MASK 0x1F000000