diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c new file mode 100644 index 00000000..b9df58ec --- /dev/null +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_fifo_gv11b.c | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2017, 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 <gk20a/gk20a.h> | ||
15 | #include <vgpu/gp10b/vgpu_fifo_gp10b.h> | ||
16 | |||
17 | #include "vgpu_fifo_gv11b.h" | ||
18 | #include "vgpu_subctx_gv11b.h" | ||
19 | |||
20 | void vgpu_gv11b_init_fifo_ops(struct gpu_ops *gops) | ||
21 | { | ||
22 | vgpu_gp10b_init_fifo_ops(gops); | ||
23 | |||
24 | gops->fifo.init_fifo_setup_hw = NULL; | ||
25 | gops->fifo.free_channel_ctx_header = vgpu_gv11b_free_subctx_header; | ||
26 | } | ||