diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-03-17 13:15:32 -0400 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2017-03-21 00:49:28 -0400 |
commit | 526cb049984fdc9b37af4d39c41bfe00db3b6898 (patch) | |
tree | ff85cda4248b6db3f605b3717427ee09686c3827 /drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c | |
parent | 66cd2f7a187bf3d4ae7f432d6c79ed5abf544e02 (diff) |
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 <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1323230
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a_sim.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "gk20a.h" | 22 | #include "gk20a.h" |
23 | #include "sim_gk20a.h" | ||
23 | #include "gr_ctx_gk20a.h" | 24 | #include "gr_ctx_gk20a.h" |
24 | 25 | ||
25 | int gr_gk20a_init_ctx_vars_sim(struct gk20a *g, struct gr_gk20a *gr) | 26 | int gr_gk20a_init_ctx_vars_sim(struct gk20a *g, struct gr_gk20a *gr) |