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>
This commit is contained in:
Terje Bergstrom
2017-06-20 12:55:49 -07:00
committed by mobile promotions
parent 92c43deefc
commit 974379ebb7
4 changed files with 6 additions and 4 deletions

View File

@@ -64,6 +64,8 @@ struct nvgpu_os_linux {
} sched;
dev_t cdev_region;
struct device_dma_parameters dma_parms;
};
static inline struct nvgpu_os_linux *nvgpu_os_linux_from_gk20a(struct gk20a *g)