summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm206/fifo_gm206.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/fifo_gm206.c')
-rw-r--r--drivers/gpu/nvgpu/gm206/fifo_gm206.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/gpu/nvgpu/gm206/fifo_gm206.c b/drivers/gpu/nvgpu/gm206/fifo_gm206.c
deleted file mode 100644
index 01fb2f82..00000000
--- a/drivers/gpu/nvgpu/gm206/fifo_gm206.c
+++ /dev/null
@@ -1,35 +0,0 @@
1/*
2 * Copyright (c) 2015-2016, 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 <linux/delay.h>
15#include <linux/types.h>
16
17#include "fifo_gm206.h"
18
19#include "gk20a/gk20a.h"
20#include "gm20b/fifo_gm20b.h"
21
22#include <nvgpu/hw/gm206/hw_ccsr_gm206.h>
23#include <nvgpu/hw/gm206/hw_fifo_gm206.h>
24
25static u32 gm206_fifo_get_num_fifos(struct gk20a *g)
26{
27 return ccsr_channel__size_1_v();
28}
29
30void gm206_init_fifo(struct gpu_ops *gops)
31{
32 gm20b_init_fifo(gops);
33 gops->fifo.get_num_fifos = gm206_fifo_get_num_fifos;
34 gops->fifo.eng_runlist_base_size = fifo_eng_runlist_base__size_1_v;
35}