OSDN Git Service

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)
commit6f61e47a68b403f8aa7956b4b6502511fcf19bb7
tree627035333cc1c582e53e047815414608b5ef21a1
parenta9ecddb9e30af1485c8f41afb0264ec53ae6f5ed
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