diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-02-09 23:54:01 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:07:35 -0400 |
commit | f9fd5bbabe0d188a06d25bacdb18b91ef65a147d (patch) | |
tree | ecf651164e5fbdbba48eec53291f2cef9ac715e7 /drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |
parent | 9bf82585aa24b6052855c119855abef92671d502 (diff) |
gpu: nvgpu: Unify PDE & PTE structs
Introduce a new struct gk20a_mm_entry. Allocate and store PDE and PTE
arrays using the same structure. Always pass pointer to this struct
when possible between functions in memory code.
Change-Id: Ia4a2a6abdac9ab7ba522dafbf73fc3a3d5355c5f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/696414
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/mm_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c index 79b95941..57814f1b 100644 --- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/dma-mapping.h> | 16 | #include <linux/dma-mapping.h> |
17 | #include "vgpu/vgpu.h" | 17 | #include "vgpu/vgpu.h" |
18 | #include "gk20a/semaphore_gk20a.h" | 18 | #include "gk20a/semaphore_gk20a.h" |
19 | #include "gk20a/mm_gk20a.h" | ||
19 | 20 | ||
20 | static int vgpu_init_mm_setup_sw(struct gk20a *g) | 21 | static int vgpu_init_mm_setup_sw(struct gk20a *g) |
21 | { | 22 | { |