accel/habanalabs: use binning info when handling razwi
authorDani Liberman <dliberman@habana.ai>
Mon, 8 May 2023 14:24:38 +0000 (17:24 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 8 Jun 2023 09:35:55 +0000 (12:35 +0300)
commitdcc8fa88d46ef97ea9812735d0d54591bc16b242
tree6513e88df4b78a01f2876b41e651b4fb2af4fb3b
parent583f12a80dfb7997d59a42e8642019695f5aa15a
accel/habanalabs: use binning info when handling razwi

When receiving sei interrupt from tpc or decoder, we need to check
the binning mask because if the engine is binned, the razwi info
won't be in the router of the binned engine, instead will be in the
router of the substitute engine.

Signed-off-by: Dani Liberman <dliberman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c