diff options
author | Deepak Goyal <dgoyal@nvidia.com> | 2017-09-22 06:06:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-04 05:27:12 -0400 |
commit | 192afccf7c9982ea47b46fd4b7ace4114ff7b45e (patch) | |
tree | 755137eb73ca1b70baf7ac6cf4fa540c57c6d459 /drivers/gpu/nvgpu/vgpu | |
parent | f63f96866dd3cd696e37cf7e83d419cca4f965fa (diff) |
gpu: nvgpu: gv11b: skip clk gating prog for pre-si
For pre-silicon platforms, clock gating
should be skipped as it is not supported.
Added new flags "can_"x"lcg" to check platform
capability before programming SLCG,BLCG and ELCG.
Bug 200314250
Change-Id: Iec7564b00b988cdd50a02f3130662727839c5047
Signed-off-by: Deepak Goyal <dgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1566251
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/platform_gv11b_vgpu_tegra.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/platform_gv11b_vgpu_tegra.c b/drivers/gpu/nvgpu/vgpu/gv11b/platform_gv11b_vgpu_tegra.c index 887b654d..396359c3 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/platform_gv11b_vgpu_tegra.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/platform_gv11b_vgpu_tegra.c | |||
@@ -72,6 +72,9 @@ struct gk20a_platform gv11b_vgpu_tegra_platform = { | |||
72 | .enable_elcg = false, | 72 | .enable_elcg = false, |
73 | .enable_elpg = false, | 73 | .enable_elpg = false, |
74 | .enable_aelpg = false, | 74 | .enable_aelpg = false, |
75 | .can_slcg = false, | ||
76 | .can_blcg = false, | ||
77 | .can_elcg = false, | ||
75 | 78 | ||
76 | .ch_wdt_timeout_ms = 5000, | 79 | .ch_wdt_timeout_ms = 5000, |
77 | 80 | ||