mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 09:12:05 +03:00
db4f24026ea2aed5d7ea17718471b849f0bbe8de
There are different clock gating types. Currently, t234 HWPM only supports SLCG, however it is possible that future chips will include more CG features. Rename disable_slcg() and enable_slcg() HALs to disable_cg() and enable_cg() respectively. Setting CG features to enabled mode is a PROD value. Hence, call enable_cg() from init_prod_values(). To make sure that the CG features are disabled during profiling session, rearrange init_prod_value() function call before disable_cg(). Bug 3682605 Change-Id: I3426603de14a14bce37880a8c47833ae3203665e Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2734039 (cherry picked from commit eb5cacc67a551714d453465d4ef070971718375a) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2737531 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided