]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: skip PLL freq fetch
authorOhad Sharabi <osharabi@habana.ai>
Sun, 14 Nov 2021 07:37:33 +0000 (09:37 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:06 +0000 (08:59 +0200)
commit6d15a886b430470421f5810d1f829f8ff66992f1
tree627035333cc1c582e53e047815414608b5ef21a1
parentfe17545553665f387ba411b5a0c4f5eae5dc75fe
habanalabs: skip PLL freq fetch

Getting the used PLL index with which to send the CPUPU packet relies on
the CPUCP info packet.

In case CPU queues are not enabled getting the PLL index will issue an
error and in some ASICs will also fail the driver load.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c