From f9fd5bbabe0d188a06d25bacdb18b91ef65a147d Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 9 Feb 2015 20:54:01 -0800 Subject: 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 Reviewed-on: http://git-master/r/696414 --- drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/vgpu/mm_vgpu.c') 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 @@ #include #include "vgpu/vgpu.h" #include "gk20a/semaphore_gk20a.h" +#include "gk20a/mm_gk20a.h" static int vgpu_init_mm_setup_sw(struct gk20a *g) { -- cgit v1.2.2