]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/habanalabs: do not verify engine modes after being changed
authorKoby Elbaz <kelbaz@habana.ai>
Mon, 6 Mar 2023 14:43:41 +0000 (16:43 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 20 Mar 2023 15:35:29 +0000 (17:35 +0200)
commit7c766e58cc14aad4db5b840f2d5c8dbbe7c8a235
treebe28fd6c1b7448204b44b89d568dcb8fe1594808
parent336b78c655c84ce9ce47219185171b3912109c0a
accel/habanalabs: do not verify engine modes after being changed

Engines idle state can't always be verified between changes of
engine modes (e.g., stall/halt).
For example, if a CS is inflight when altering engine's mode,
idle state will return NOT idle, always.

Signed-off-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c