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/gr_ctx_gk20a_sim.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c') diff --git a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c index 70787202..34b315e6 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c +++ b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c @@ -20,6 +20,7 @@ */ #include "gk20a.h" +#include "sim_gk20a.h" #include "gr_ctx_gk20a.h" int gr_gk20a_init_ctx_vars_sim(struct gk20a *g, struct gr_gk20a *gr) -- cgit v1.2.2