diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-20 15:55:49 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-21 20:34:54 -0400 |
commit | 974379ebb7e7acddc143923f094c58becf3067f1 (patch) | |
tree | 15d9711042f7e03758169519e853c8bf1572d345 /drivers/gpu/nvgpu/vgpu | |
parent | 92c43deefca150854193c6720717d56b61989c23 (diff) |
gpu: nvgpu: Move dma_params to os_linux
dma_params is inherently a Linux structure, so move it to os_linux.
JIRA NVGPU-38
Change-Id: If81249b3cb7d65187202df72b35a1d24e274263b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1505928
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index b3bb4242..f2abb76b 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -740,7 +740,7 @@ int vgpu_probe(struct platform_device *pdev) | |||
740 | gk20a_debug_init(gk20a, "gpu.0"); | 740 | gk20a_debug_init(gk20a, "gpu.0"); |
741 | 741 | ||
742 | /* Set DMA parameters to allow larger sgt lists */ | 742 | /* Set DMA parameters to allow larger sgt lists */ |
743 | dev->dma_parms = &gk20a->dma_parms; | 743 | dev->dma_parms = &l->dma_parms; |
744 | dma_set_max_seg_size(dev, UINT_MAX); | 744 | dma_set_max_seg_size(dev, UINT_MAX); |
745 | 745 | ||
746 | gk20a->gr_idle_timeout_default = | 746 | gk20a->gr_idle_timeout_default = |