diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-14 16:10:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-19 15:16:07 -0400 |
commit | b5a857210ca07ac5f732d14e0147b70cbc2ba746 (patch) | |
tree | c981d85a19bc44e6ccdd096d08b275c8ba6e28f2 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | a9c66768db400a82575a82ecddec71f1d3fd4aba (diff) |
gpu: nvgpu: Move can_elpg to struct gk20a
Copy can_elpg to struct gk20a at probe time, and access it from
gk20a instead of platform_gk20a.
JIRA NVGPU-16
Change-Id: I497f58c17e0be44e3622e49dad2ba44ed78cffbf
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1463539
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 9860910c..76251000 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -981,6 +981,7 @@ struct gk20a { | |||
981 | bool elcg_enabled; | 981 | bool elcg_enabled; |
982 | bool elpg_enabled; | 982 | bool elpg_enabled; |
983 | bool aelpg_enabled; | 983 | bool aelpg_enabled; |
984 | bool can_elpg; | ||
984 | bool mscg_enabled; | 985 | bool mscg_enabled; |
985 | bool forced_idle; | 986 | bool forced_idle; |
986 | bool forced_reset; | 987 | bool forced_reset; |