diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-01-29 18:43:50 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-27 17:30:32 -0500 |
commit | 8202be50ce80e7fc2cf851a1ec4ad8f9378e3306 (patch) | |
tree | e0b5d6fcd4a9a71c01569cc5a23e67cb2e751628 /drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h | |
parent | 28abb3d2cd3a9efe413be3c2f8e897ccd72f6b93 (diff) |
gpu: nvgpu: vgpu: split vgpu.c into vgpu.c and vgpu_linux.c
vgpu.c will keep common code whil vgpu_linux.c is linux specific.
Jira EVLR-2364
Change-Id: Ice9782fa96c256f1b70320886d3720ab0db26244
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1649943
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h b/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h index bb38fa27..b0937495 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h +++ b/drivers/gpu/nvgpu/common/linux/vgpu/mm_vgpu.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -17,6 +17,11 @@ | |||
17 | #ifndef _MM_VGPU_H_ | 17 | #ifndef _MM_VGPU_H_ |
18 | #define _MM_VGPU_H_ | 18 | #define _MM_VGPU_H_ |
19 | 19 | ||
20 | struct nvgpu_mem; | ||
21 | struct channel_gk20a; | ||
22 | struct vm_gk20a_mapping_batch; | ||
23 | struct gk20a_as_share; | ||
24 | |||
20 | void vgpu_locked_gmmu_unmap(struct vm_gk20a *vm, | 25 | void vgpu_locked_gmmu_unmap(struct vm_gk20a *vm, |
21 | u64 vaddr, | 26 | u64 vaddr, |
22 | u64 size, | 27 | u64 size, |