habanalabs/goya: move dma direction enum to uapi file
authorOded Gabbay <ogabbay@kernel.org>
Fri, 24 Jun 2022 10:36:10 +0000 (13:36 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:25 +0000 (09:09 +0300)
commit5125aa3368892dd9dd8bca3d64e88b11bc3490a4
treece6d61f0014d295f1c44728549dd6b651fdf320c
parent7659c30d1991098cd11e3d0fc8b9c6941ffe1440
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>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/include/goya/goya_packets.h
include/uapi/misc/habanalabs.h