From 00e67e0798853c6e296ace8e1697588a2e9d2baf Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Thu, 22 Jul 2021 03:46:03 -0700 Subject: [PATCH] gpu: nvgpu: ga10b: disable elpg Engine Level Power Gating(ELPG) for ga10b is enabled on tot for silicon. elpg needs to be enabled only after verification on silicon and after stress testing the feature. To avoid issues during ga10b bring-up with unverified ELPG feature, disable it by setting both can_elpg_init and elpg_enable to false in ga10b platform data. Jira NVGPU-7033 Change-Id: I664d6e031339aa912b78769bd58a4e6d77dca1d0 Signed-off-by: Seshendra Gadagottu Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2564197 Reviewed-by: svcacv Reviewed-by: svc_kernel_abi Reviewed-by: Seema Khowala Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: Krishna Reddy Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c index cc51ae4a6..499c298f5 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c @@ -268,9 +268,9 @@ struct gk20a_platform ga10b_tegra_platform = { .enable_perfmon = true, /* power management configuration JIRA NVGPU-4683 */ - .enable_elpg = true, + .enable_elpg = false, .enable_elpg_ms = true, - .can_elpg_init = true, + .can_elpg_init = false, .enable_aelpg = false, /* power management callbacks */