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/gk20a/hal.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/gk20a/hal.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal.c b/drivers/gpu/nvgpu/gk20a/hal.c index b45b934c..d4bd0ddc 100644 --- a/drivers/gpu/nvgpu/gk20a/hal.c +++ b/drivers/gpu/nvgpu/gk20a/hal.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include "gk20a.h" | 16 | #include "gk20a.h" |
17 | #include "hal_gk20a.h" | 17 | #include "hal_gk20a.h" |
18 | #include "gm20b/hal_gm20b.h" | 18 | #include "gm20b/hal_gm20b.h" |
19 | #include "gm206/hal_gm206.h" | ||
20 | 19 | ||
21 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | 20 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC |
22 | #include "nvgpu_gpuid_t18x.h" | 21 | #include "nvgpu_gpuid_t18x.h" |
@@ -39,12 +38,6 @@ int gpu_init_hal(struct gk20a *g) | |||
39 | if (gm20b_init_hal(g)) | 38 | if (gm20b_init_hal(g)) |
40 | return -ENODEV; | 39 | return -ENODEV; |
41 | break; | 40 | break; |
42 | case GK20A_GPUID_GM204: | ||
43 | case GK20A_GPUID_GM206: | ||
44 | gk20a_dbg_info("gm20x detected"); | ||
45 | if (gm206_init_hal(g)) | ||
46 | return -ENODEV; | ||
47 | break; | ||
48 | #if defined(CONFIG_ARCH_TEGRA_18x_SOC) | 41 | #if defined(CONFIG_ARCH_TEGRA_18x_SOC) |
49 | case TEGRA_18x_GPUID: | 42 | case TEGRA_18x_GPUID: |
50 | if (TEGRA_18x_GPUID_HAL(g)) | 43 | if (TEGRA_18x_GPUID_HAL(g)) |