From 526cb049984fdc9b37af4d39c41bfe00db3b6898 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 17 Mar 2017 10:15:32 -0700 Subject: gpu: nvgpu: Move sim support to its own file Simulator support is intermixed with the rest of code in gk20a.c. Move that code away from gk20a.c to an own file. Change-Id: Idd3c8795cec5eadc6e49811b5b8ff0592c49a7d2 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1323230 Reviewed-by: Bharat Nihalani Tested-by: Bharat Nihalani --- drivers/gpu/nvgpu/gk20a/gk20a.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 95730b4e..c1e1b564 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -1476,4 +1476,7 @@ int gk20a_railgating_debugfs_init(struct device *dev); #endif int gk20a_secure_page_alloc(struct device *dev); +void __iomem *gk20a_ioremap_resource(struct platform_device *dev, int i, + struct resource **out); + #endif /* GK20A_H */ -- cgit v1.2.2