habanalabs: enable gaudi2 code in driver
authorOded Gabbay <ogabbay@kernel.org>
Mon, 27 Jun 2022 19:32:07 +0000 (22:32 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:28 +0000 (09:09 +0300)
commit6b4e8a12b2b9a5385b89d25ac450deddb8ed9a62
treede2606a8218f84c89d21e91d98ba2a47a1f7e0f8
parent8aa1e1e605535a0ba7fb80aeeaf94f875a9474c3
habanalabs: enable gaudi2 code in driver

Enable the Gaudi2 ASIC code in the pci probe callback of the driver so
the driver will handle Gaudi2 ASICs.

Add the PCI ID to the PCI table and add the ASIC enum value to all
relevant places.

Fixup the device parameters initialization for Gaudi2.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/habanalabs_drv.c
drivers/misc/habanalabs/common/sysfs.c