diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-10-07 18:07:07 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-20 20:34:01 -0400 |
commit | 55dba9f1a91a6f94fb63090880ae28eedf4189a2 (patch) | |
tree | e7762aa9e4f5f0dd24bb1c5414366b63447e53c5 /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | f5ed4707944f0019bf80557f86a6173e9270a981 (diff) |
gpu: nvgpu: Add flag for running preos ucode
Add per-platform flag run_preos, which indicates whether to run
preos ucode or not. Leave it to false for all known boards.
Bug 1799537
Bug 1815139
Change-Id: I1818970b0f70f636277443d6de199d3683fc565a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1233410
(cherry picked from commit 8bea05dbfa64af88587edb8927a8ec71c6b0d807)
Reviewed-on: http://git-master/r/1239956
GVS: Gerrit_Virtual_Submit
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 de7bbd06..c0b847e5 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -227,6 +227,9 @@ struct gk20a_platform { | |||
227 | 227 | ||
228 | /* minimum supported VBIOS version */ | 228 | /* minimum supported VBIOS version */ |
229 | u32 vbios_min_version; | 229 | u32 vbios_min_version; |
230 | |||
231 | /* true if we run preos microcode on this board */ | ||
232 | bool run_preos; | ||
230 | }; | 233 | }; |
231 | 234 | ||
232 | static inline struct gk20a_platform *gk20a_get_platform( | 235 | static inline struct gk20a_platform *gk20a_get_platform( |