]> asedeno.scripts.mit.edu Git - linux.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)
commit9354c29ed52762e9645d6dc2631045228ed10fbd
tree2619a84c816c376cb916d627545b51f4f64a2fd8
parenta691a1ebb59e7f2a159df8d3c693e2235c5de9dd
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