]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: expand clock throttling information uAPI
authorOfir Bitton <obitton@habana.ai>
Mon, 25 Oct 2021 06:47:04 +0000 (09:47 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:05 +0000 (08:59 +0200)
commit17550d03b1513b19b0476bcbb6003c469abc5c9f
tree92b9e8986c32542f246492102457ce7a388e0084
parenta85f6544cd6a7e80eb99e54d55920e7ccb810ec9
habanalabs: expand clock throttling information uAPI

In addition to the clock throttling reason, user should be able
to obtain also the start time and the duration of the throttling
event.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/habanalabs_ioctl.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c
include/uapi/misc/habanalabs.h