accel/habanalabs: register compute device as an accel device
authorTomer Tayar <ttayar@habana.ai>
Sun, 19 Feb 2023 09:58:46 +0000 (11:58 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:20 +0000 (12:37 +0300)
commitfe77368c0f3e017ec2567b1f3767c1aa5482919e
treee3e838d9f2388a07f06e18221f662e61805029c8
parenta8ab1a81ccc2c68a4fa3d0631ce17529e208c8c2
accel/habanalabs: register compute device as an accel device

Register the compute device as an accel device, and remove the creation
of the habanalabs compute char device.

The IOCTLs in this patch are still handled by the current driver
handler. Moving to DRM IOCTL handling requires moving the IOCTLs
numbers to a specific range, so it will be handled in subsequent
patches.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/debugfs.c
drivers/accel/habanalabs/common/device.c
drivers/accel/habanalabs/common/habanalabs.h
drivers/accel/habanalabs/common/habanalabs_drv.c
drivers/accel/habanalabs/common/habanalabs_ioctl.c
drivers/accel/habanalabs/common/memory.c