OSDN Git Service

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)
commit1679c7ee580fdaa2a5df398a526b2eddc857f2a1
tree92b9e8986c32542f246492102457ce7a388e0084
parent48f31169830f589e4c7ac475ccc7414951ded3f0
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