linux/drivers/misc/habanalabs/common
Rajaravi Krishna Katta d8eb50f31c habanalabs: Move frequency change thread to goya_late_init
Changing the frequency automatically is only done in Goya. In future
ASICs this is done inside the firmware. Therefore, move the common code
into the Goya specific files.

Main changes as part of the commit are:
    1. The thread for setting frequency is moved from device_late_init
       to goya_late_init
    2. hl_device_set_frequency is removed from hl_device_open as it is
       not relevant for other ASICs and for Goya it is taken care by
       the thread
    3. hl_device_set_frequency is renamed as goya_set_frequency

Signed-off-by: Rajaravi Krishna Katta <rkatta@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2021-12-26 08:59:06 +02:00
..
mmu habanalabs: fix possible deadlock in cache invl failure 2021-12-26 08:59:06 +02:00
pci habanalabs: set dma max segment size 2021-08-29 09:47:47 +03:00
asid.c habanalabs: replace WARN/WARN_ON with dev_crit in driver 2021-01-27 21:03:49 +02:00
command_buffer.c habanalabs: fix possible deadlock in cache invl failure 2021-12-26 08:59:06 +02:00
command_submission.c habanalabs: add support for fetching historic errors 2021-12-26 08:59:05 +02:00
context.c habanalabs: context cleanup cosmetics 2021-10-18 12:05:48 +03:00
debugfs.c habanalabs: debugfs support for larger I2C transactions 2021-12-26 08:59:05 +02:00
device.c habanalabs: Move frequency change thread to goya_late_init 2021-12-26 08:59:06 +02:00
firmware_if.c habanalabs: handle device TPM boot error as warning 2021-12-26 08:59:05 +02:00
habanalabs_drv.c habanalabs: Move frequency change thread to goya_late_init 2021-12-26 08:59:06 +02:00
habanalabs_ioctl.c habanalabs: add support for fetching historic errors 2021-12-26 08:59:05 +02:00
habanalabs.h habanalabs: Move frequency change thread to goya_late_init 2021-12-26 08:59:06 +02:00
hw_queue.c habanalabs: fix wait offset handling 2021-09-14 15:00:04 +03:00
hwmgr.c habanalabs: Unify frequency set/get functionality 2021-10-18 12:05:47 +03:00
hwmon.c habanalabs: add dedicated message towards f/w to set power 2021-12-26 08:59:04 +02:00
irq.c habanalabs: simplify wait for interrupt with timestamp flow 2021-10-18 12:05:47 +03:00
Makefile habanalabs: Unify frequency set/get functionality 2021-10-18 12:05:47 +03:00
memory.c habanalabs: fix possible deadlock in cache invl failure 2021-12-26 08:59:06 +02:00
state_dump.c habanalabs: state dump monitors and fences infrastructure 2021-08-29 09:47:46 +03:00
sysfs.c habanalabs: Move frequency change thread to goya_late_init 2021-12-26 08:59:06 +02:00