diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-05-12 13:32:11 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-17 13:24:25 -0400 |
commit | 2c822a63885ec79ac2d860e13438c6154e23e5d0 (patch) | |
tree | eab486eb38d2d74b211ad94e4c1d28368922a23c /drivers/gpu/nvgpu/common/linux/driver_common.c | |
parent | 39a9e251da0fb4da8512593d3ce4f6eba47d5e0c (diff) |
gpu: nvgpu: Remove uses of platform->can_elpg
Remove newly introduced uses of gk20a_platform->can_elpg. Rename the
field to can_elpg_init and replace all uses with gk20a->can_elpg.
Change-Id: Id6e84d4c16159b5da80c583a8a94a9c5cc2423ec
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1480955
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index c2f31afc..8855ce1f 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -106,7 +106,7 @@ static void nvgpu_init_pm_vars(struct gk20a *g) | |||
106 | g->mscg_enabled = | 106 | g->mscg_enabled = |
107 | nvgpu_platform_is_silicon(g) ? platform->enable_mscg : false; | 107 | nvgpu_platform_is_silicon(g) ? platform->enable_mscg : false; |
108 | g->can_elpg = | 108 | g->can_elpg = |
109 | nvgpu_platform_is_silicon(g) ? platform->can_elpg : false; | 109 | nvgpu_platform_is_silicon(g) ? platform->can_elpg_init : false; |
110 | g->default_pri_timeout = platform->default_pri_timeout; | 110 | g->default_pri_timeout = platform->default_pri_timeout; |
111 | g->aggressive_sync_destroy = platform->aggressive_sync_destroy; | 111 | g->aggressive_sync_destroy = platform->aggressive_sync_destroy; |
112 | g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh; | 112 | g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh; |