From 135e056e9e22d3205b36e2ffb9b6c9c6c78dec7c Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Thu, 22 Jul 2021 02:51:59 -0700 Subject: [PATCH] gpu: nvgpu: ga10b: set can_slcg/blcg/elcg to true Add capability to enable/disable clock gating power features by setting can_xxcg capabilities to true. The cg features are disabled on tot and will be enabled once verification is done. Jira NVGPU-7033 Bug 200766930 Change-Id: I2d2aa25b7c84f3c4de0b12fd6d845a8f792bfd2d Signed-off-by: Seshendra Gadagottu Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2584540 Reviewed-by: svcacv Reviewed-by: svc_kernel_abi Reviewed-by: Alex Waterman Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c index 0db84088b..ad4fe1e44 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c @@ -326,9 +326,9 @@ struct gk20a_platform ga10b_tegra_platform = { .set_tpc_pg_mask = ga10b_tegra_set_tpc_pg_mask, - .can_slcg = false, - .can_blcg = false, - .can_elcg = false, + .can_slcg = true, + .can_blcg = true, + .can_elcg = true, .enable_slcg = false, .enable_blcg = false, .enable_elcg = false,