[NRC/N10] NPU driver API interface
authorParichay Kapoor <pk.kapoor@samsung.com>
Mon, 10 Jun 2019 01:04:57 +0000 (10:04 +0900)
committer함명주/On-Device Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Tue, 9 Jul 2019 04:41:02 +0000 (13:41 +0900)
commit8e46ff4b32f4047c1ab48eaf05b87be713fcd26c
treea95033cb8d69a943a05b00682536af5ce0330831
parentbb45e1343a5ad72d765d0ac1e7e9f09e11b2d8b2
[NRC/N10] NPU driver API interface

In http://suprem.sec.samsung.net/confluence/pages/viewpage.action?pageId=126187176
this is about N10 and N10's dependencies

V1:
Added details regarding the ioctl calls and signal handling

V2:
Updated interface to accomodate update in overall design for NPU design

V3:
Updated to use offset, and minor bug fixes

V4:
Updated with ioctl design
UIO design needed access to physical address in user side

V5:
Added interface to pass dmabuf_fd to kernel driver for physical address access
Added an extra identifier when setting up npu device

V6:
Updated based on blocking I/O

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
core/libnpu-core/include/NPUdrvAPI.h