diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2014-06-19 22:22:17 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:16 -0400 |
commit | 6f492c3834fe18fe3d00d0024b8178250bed7276 (patch) | |
tree | 78a8d84899b468a3ee0b85dd4558b0b6037a77ad /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | 6838d9f05e0d712925f759b90c830b2d513ce7a6 (diff) |
gpu: nvgpu: make pm config as platform data
Make gpu power management feature configurations
as platform data. Keep existing sttaus for gk20a
and disable all power features for gm20b.
Bug 1523728
Change-Id: Ife7786863f18e21b882ac77085c7abc7c84d4cfc
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/426369
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Supriya Sharatkumar <ssharatkumar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 4e454140..c343ad27 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -61,6 +61,21 @@ struct gk20a_platform { | |||
61 | /* Delay before clock gated */ | 61 | /* Delay before clock gated */ |
62 | int clockgate_delay; | 62 | int clockgate_delay; |
63 | 63 | ||
64 | /* Second Level Clock Gating: true = enable false = disable */ | ||
65 | bool enable_slcg; | ||
66 | |||
67 | /* Block Level Clock Gating: true = enable flase = disable */ | ||
68 | bool enable_blcg; | ||
69 | |||
70 | /* Engine Level Clock Gating: true = enable flase = disable */ | ||
71 | bool enable_elcg; | ||
72 | |||
73 | /* Engine Level Power Gating: true = enable flase = disable */ | ||
74 | bool enable_elpg; | ||
75 | |||
76 | /* Adaptative ELPG: true = enable flase = disable */ | ||
77 | bool enable_aelpg; | ||
78 | |||
64 | /* Initialize the platform interface of the gk20a driver. | 79 | /* Initialize the platform interface of the gk20a driver. |
65 | * | 80 | * |
66 | * The platform implementation of this function must | 81 | * The platform implementation of this function must |