]> asedeno.scripts.mit.edu Git - linux.git/commit
habanalabs: refactoring in goya.c
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 2 Apr 2019 12:56:16 +0000 (15:56 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 2 Apr 2019 12:56:16 +0000 (15:56 +0300)
commitbedd14425d86a8fac6972055dcd7591de21c10be
tree6f7c6d138b2b0551e7d60e48868c6707e4d9cfb2
parent90027296adad1e9935a893f1e5973959274fa0d1
habanalabs: refactoring in goya.c

This patch does some refactoring in goya.c to make code more reusable
between goya code and the goya simulator code (which is not upstreamed).

In addition, the patch removes some dead functions from goya.c which are
not used by the current upstream code

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/goya/goyaP.h
drivers/misc/habanalabs/habanalabs.h