summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-06-07 14:31:54 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-30 11:46:25 -0400
commit125c770c2a9c84d8243d015de4b515f33d45b2d7 (patch)
treef323aa174ca91247357dae071c547bbd65f0538f /drivers/gpu/nvgpu/gk20a/platform_gk20a.h
parent28093a374bef54b9b68fcb2f00ae7d0529e33a3f (diff)
gpu: nvgpu: determine memory configuration in hal
Remove mem_config_idx from platform data, and instead let HAL determine which memory configuration to use. For this purpose, HAL may use PCI device identifiers, VBIOS version and possibly RAMCFG strap register. Bug 1929155 Change-Id: I9fcd67ff407382839ff81470789043fae1c81283 Reviewed-on: http://git-master/r/1497813 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> (cherry picked from commit 3f722945213bacfc5f6707059b9baccebd92cef1) Reviewed-on: https://git-master/r/1506583 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
index 63d2c5a2..72322e54 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -235,9 +235,6 @@ 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;
241}; 238};
242 239
243static inline struct gk20a_platform *gk20a_get_platform( 240static inline struct gk20a_platform *gk20a_get_platform(