summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-05-12 14:14:31 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-21 00:43:42 -0400
commit83f8bb225b074bfdf11a2da6c21acf204eecb293 (patch)
treec560bfd66c19199f00d85a5c63b4252784dd444d /drivers/gpu/nvgpu/gk20a/platform_gk20a.h
parentd0ea8fe969b2a8f7509621103c1ead83187b798b (diff)
gpu: nvgpu: mclk switching sequences for PG419
VBIOS memory settings have been updated for PG419, significantly modifying MCLK switching sequences. This change adds support for PG419 tables, while remaining backward compatible with PG418. Bug 1921082 JIRA EVLR-1269 Change-Id: Ia8a1f8b3f482e348a46f0acb540af23287d9c11e Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1484110 (cherry picked from commit c2444ae89caf97da2702e8486cc8fb162b4f50b1) Reviewed-on: http://git-master/r/1485300 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a.h3
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 72322e54..63d2c5a2 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -235,6 +235,9 @@ struct gk20a_platform {
235 u32 ina3221_dcb_index; 235 u32 ina3221_dcb_index;
236 u32 ina3221_i2c_address; 236 u32 ina3221_i2c_address;
237 u32 ina3221_i2c_port; 237 u32 ina3221_i2c_port;
238
239 /* memory training pattern and mclk switch sequences */
240 u8 mem_config_idx;
238}; 241};
239 242
240static inline struct gk20a_platform *gk20a_get_platform( 243static inline struct gk20a_platform *gk20a_get_platform(