habanalabs: add handle field to context structure
authorOded Gabbay <oded.gabbay@gmail.com>
Mon, 15 Jul 2019 18:55:57 +0000 (21:55 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 5 Sep 2019 11:55:26 +0000 (14:55 +0300)
commitb888751a02e7b2bfa4c9660bd8c5af0ef886aeef
tree1a76dc607a47d6fef789fd46261799a381fe9b32
parent30f273222cbc2782165818e4f83b6fb3590fee58
habanalabs: add handle field to context structure

This patch adds a field to the context's structure that will hold a unique
handle for the context.

This will be needed when the user will create the context.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/context.c
drivers/misc/habanalabs/habanalabs.h