diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c new file mode 100644 index 00000000..b665a8dd --- /dev/null +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | |||
@@ -0,0 +1,36 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms and conditions of the GNU General Public License, | ||
6 | * version 2, as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | * more details. | ||
12 | */ | ||
13 | |||
14 | #include "vgpu/vgpu.h" | ||
15 | #include "gp10b/hal_gp10b.h" | ||
16 | #include "vgpu_gr_gp10b.h" | ||
17 | #include "vgpu_fifo_gp10b.h" | ||
18 | #include "vgpu_mm_gp10b.h" | ||
19 | #include "nvgpu_gpuid_t18x.h" | ||
20 | |||
21 | int vgpu_gp10b_init_hal(struct gk20a *g) | ||
22 | { | ||
23 | int err; | ||
24 | |||
25 | gk20a_dbg_fn(""); | ||
26 | |||
27 | err = gp10b_init_hal(g); | ||
28 | if (err) | ||
29 | return err; | ||
30 | |||
31 | vgpu_init_hal_common(g); | ||
32 | vgpu_gp10b_init_gr_ops(&g->ops); | ||
33 | vgpu_gp10b_init_fifo_ops(&g->ops); | ||
34 | vgpu_gp10b_init_mm_ops(&g->ops); | ||
35 | return 0; | ||
36 | } | ||