accel/habanalabs/gaudi2: fix missing check of kernel ctx
authorOded Gabbay <ogabbay@kernel.org>
Tue, 11 Jul 2023 07:28:18 +0000 (10:28 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:19 +0000 (12:37 +0300)
commitfa46c7bb501b8b649ba17e4a048243b85ba1b1b0
tree3eeede3b4eba4bc601c2273aeb30c3b280a43c89
parent15c0bb162353296cd2f897d2fa39d2593fb631b3
accel/habanalabs/gaudi2: fix missing check of kernel ctx

If we are initializing the kernel context when we have a Gaudi2 device,
we don't need to do any late initializing of that context with
specific Gaudi2 code.

Reviewed-by: Ofir Bitton <obitton@habana.ai>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c