]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: allow user to modify TPC clock relaxation value
authorDalit Ben Zoor <dbenzoor@habana.ai>
Thu, 21 Mar 2019 07:54:49 +0000 (09:54 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 21 Mar 2019 07:54:49 +0000 (09:54 +0200)
commitcf77ee9d4292d6bf2e803f9ed2298b4b903ff8b3
tree2619a84c816c376cb916d627545b51f4f64a2fd8
parent4eb0e3dae0c768c9f792b12b831bc9822e4d4bef
habanalabs: allow user to modify TPC clock relaxation value

This patch allows the user to modify the TPC PLL clock relaxation value
on-the-fly in order to reduce power consumption.

To enable this, the patch removes the protection from the specific
register that controls this behavior.

Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya_security.c