RE: [PATCH] habanalabs: add opcode to INFO IOCTL to return clock rate

2019-10-15 Thread Tomer Tayar
On Fri, Oct 11, 2019 at 10:21 AM Oded Gabbay wrote: > Add a new opcode to the INFO IOCTL to allow the user application to > retrieve the ASIC's current and maximum clock rate. The rate is > returned in MHz. > > Signed-off-by: Oded Gabbay Reviewed-by: Tomer Tayar

[PATCH] habanalabs: add opcode to INFO IOCTL to return clock rate

2019-10-11 Thread Oded Gabbay
Add a new opcode to the INFO IOCTL to allow the user application to retrieve the ASIC's current and maximum clock rate. The rate is returned in MHz. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/goya/goya.c| 3 ++- drivers/misc/habanalabs/goya/goyaP.h | 2 ++ drivers/mis