diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2016-05-24 06:02:22 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-26 19:07:33 -0400 |
commit | ed32288ee8a0664ebe6cd42a290deb0e07ebe356 (patch) | |
tree | 518510eef6d92094a3f58dca08abdc3de531aa2f /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | 147330c2dac6ffaed78100a7ad46907d7e622dca (diff) |
gpu: nvgpu: ELPG init based on flag
flag helps to enable/disable ELPG init in SW
Bug N/A
Change-Id: I73eb592b789c2c29db8a75018cbd1617dcf16df8
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1152430
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 38ce5a97..14f90c94 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -43,6 +43,9 @@ struct gk20a_platform { | |||
43 | bool can_railgate; | 43 | bool can_railgate; |
44 | 44 | ||
45 | /* Should be populated at probe. */ | 45 | /* Should be populated at probe. */ |
46 | bool can_elpg; | ||
47 | |||
48 | /* Should be populated at probe. */ | ||
46 | bool has_syncpoints; | 49 | bool has_syncpoints; |
47 | 50 | ||
48 | /* flag to set sync destroy aggressiveness */ | 51 | /* flag to set sync destroy aggressiveness */ |