accel/habanalabs: use notifications and graceful reset for decoder
authorTomer Tayar <ttayar@habana.ai>
Mon, 6 Feb 2023 12:33:00 +0000 (14:33 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:14 +0000 (13:29 +0200)
commit81e609bebbb45d81bd68fc9d29420f03579523ab
tree274f9e6affa29418fd9643ec577f8e024df2a82e
parent86b74d843897fdb9f2366bc515e9d52816e3d247
accel/habanalabs: use notifications and graceful reset for decoder

Add notifications to user in case of decoder abnormal interrupts, and
use the graceful reset mechanism if reset is required.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/decoder.c