summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/ltc.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-10-12 12:52:18 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-16 16:35:05 -0400
commit0b6eb9fd80cf53b86de0f8ca4d12db7ead499e40 (patch)
tree224414760bbb0e6d7b79ab735c02522bef561bb4 /drivers/gpu/nvgpu/common/ltc.c
parent61b263d83222cd5d2ff3d2d5d699b07ebdf44288 (diff)
gpu: nvgpu: Allocate memory for dGPU platform
- Allocate memory for platform data for each dgpu device detected on PCIe, - Copy detected device static data to allocated platform data - Free allocated space in nvgpu_pci_remove() Issue: Static platform data is overwritten When two same SKU/device-id dGPU connected on single platform which cause accessing wrong dGPU space, Fix: Fixing issue by allocating space dynamically for each dGPU device detected & copy data from detected dGPU static data. JIRA NVGPUGV100-18 Change-Id: Idf2d2d6d2016b831c21b9da6f8ee38b34304bd12 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1577913 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/ltc.c')
0 files changed, 0 insertions, 0 deletions