diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-06-26 10:18:17 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-04 07:42:05 -0400 |
commit | f403800dce923c8bac982291aee213e1e3afdab0 (patch) | |
tree | 01e7b9af55778f1514e5b02e520abf1b7ccd8d39 /drivers/gpu/nvgpu/gk20a | |
parent | 145eb3321fb8b5411c9e4975eada21515c19ebb0 (diff) |
gpu: nvgpu: move can_railgate to enabled.h
The g->can_railgate flag is a global constant-ish property like the rest
of the flags behind nvgpu_is_enabled() API, so move it there.
Bug 200327089
Change-Id: Id1f2f16ea1975a03fb56f10c2f3c8c705574e341
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1764266
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 3c25f8fb..263d0632 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1401,7 +1401,6 @@ struct gk20a { | |||
1401 | 1401 | ||
1402 | u32 ptimer_src_freq; | 1402 | u32 ptimer_src_freq; |
1403 | 1403 | ||
1404 | bool can_railgate; | ||
1405 | int railgate_delay; | 1404 | int railgate_delay; |
1406 | u8 ldiv_slowdown_factor; | 1405 | u8 ldiv_slowdown_factor; |
1407 | unsigned int aggressive_sync_destroy_thresh; | 1406 | unsigned int aggressive_sync_destroy_thresh; |