From 125c770c2a9c84d8243d015de4b515f33d45b2d7 Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Wed, 7 Jun 2017 11:31:54 -0700 Subject: 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 (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 Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h') 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 { u32 ina3221_dcb_index; u32 ina3221_i2c_address; u32 ina3221_i2c_port; - - /* memory training pattern and mclk switch sequences */ - u8 mem_config_idx; }; static inline struct gk20a_platform *gk20a_get_platform( -- cgit v1.2.2