]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e06a130c327fd677d5502d5d69af3da516a791b
treece6d61f0014d295f1c44728549dd6b651fdf320c
parent81e0af67ef4bfa6fae433d6699b0538cbd45833d
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