diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-02-08 17:11:17 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-17 16:46:32 -0500 |
commit | 6a58857b6517607b888090e6b87f3302ea8b2e97 (patch) | |
tree | c123405cfca9ef326a3594b39a9a9ce47b287511 /drivers/gpu/nvgpu/gm206/fifo_gm206.c | |
parent | 53465def649b813987ca0d4a7ced744305204b82 (diff) |
gpu: nvgpu: Remove almost all gm204/gm206 support
Remove gm204/gm206 support. It was used only in the interim until
Pascal cards were available, and we don't maintain that code anymore.
This patch leaves only BIOS code.
Change-Id: I215988603d4588ef710bdda6e47449e9235e78ac
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1302224
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/fifo_gm206.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm206/fifo_gm206.c | 35 |
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 | |||
25 | static u32 gm206_fifo_get_num_fifos(struct gk20a *g) | ||
26 | { | ||
27 | return ccsr_channel__size_1_v(); | ||
28 | } | ||
29 | |||
30 | void 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 | } | ||