diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-22 15:58:43 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-30 21:34:58 -0400 |
commit | 82c0c96290602b1baf296133c7f55ae1848e433a (patch) | |
tree | 1f32dc8571ce777c50984be1194c68ddeea73b38 /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | 3ffcadc8dd6152d4ce2677b4e5d8e043a3df58ac (diff) |
gpu: nvgpu: Remove gk20a support
Remove gk20a support. Leave only gk20a code which is reused by other
GPUs.
JIRA NVGPU-38
Change-Id: I3d5f2bc9f71cd9f161e64436561a5eadd5786a3b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master/r/1507927
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal.c b/drivers/gpu/nvgpu/gk20a/hal.c index 8fadc199..812d351e 100644 --- a/drivers/gpu/nvgpu/gk20a/hal.c +++ b/drivers/gpu/nvgpu/gk20a/hal.c | |||
@@ -14,7 +14,6 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "gk20a.h" | 16 | #include "gk20a.h" |
17 | #include "hal_gk20a.h" | ||
18 | #include "hal.h" | 17 | #include "hal.h" |
19 | #include "gm20b/hal_gm20b.h" | 18 | #include "gm20b/hal_gm20b.h" |
20 | #include "gp10b/hal_gp10b.h" | 19 | #include "gp10b/hal_gp10b.h" |
@@ -30,10 +29,6 @@ int gpu_init_hal(struct gk20a *g) | |||
30 | { | 29 | { |
31 | u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; | 30 | u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; |
32 | switch (ver) { | 31 | switch (ver) { |
33 | case GK20A_GPUID_GK20A: | ||
34 | gk20a_dbg_info("gk20a detected"); | ||
35 | gk20a_init_hal(g); | ||
36 | break; | ||
37 | case GK20A_GPUID_GM20B: | 32 | case GK20A_GPUID_GM20B: |
38 | case GK20A_GPUID_GM20B_B: | 33 | case GK20A_GPUID_GM20B_B: |
39 | gk20a_dbg_info("gm20b detected"); | 34 | gk20a_dbg_info("gm20b detected"); |