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/vgpu/vgpu.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/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index c4647e29..d41c0abb 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include "vgpu/vgpu.h" | 29 | #include "vgpu/vgpu.h" |
30 | #include "vgpu/fecs_trace_vgpu.h" | 30 | #include "vgpu/fecs_trace_vgpu.h" |
31 | #include "vgpu/clk_vgpu.h" | 31 | #include "vgpu/clk_vgpu.h" |
32 | #include "gk20a/hal_gk20a.h" | ||
33 | #include "gk20a/ctxsw_trace_gk20a.h" | 32 | #include "gk20a/ctxsw_trace_gk20a.h" |
34 | #include "gk20a/tsg_gk20a.h" | 33 | #include "gk20a/tsg_gk20a.h" |
35 | #include "gk20a/gk20a_scale.h" | 34 | #include "gk20a/gk20a_scale.h" |
@@ -451,10 +450,6 @@ static int vgpu_init_hal(struct gk20a *g) | |||
451 | int err; | 450 | int err; |
452 | 451 | ||
453 | switch (ver) { | 452 | switch (ver) { |
454 | case GK20A_GPUID_GK20A: | ||
455 | gk20a_dbg_info("gk20a detected"); | ||
456 | err = vgpu_gk20a_init_hal(g); | ||
457 | break; | ||
458 | case GK20A_GPUID_GM20B: | 453 | case GK20A_GPUID_GM20B: |
459 | case GK20A_GPUID_GM20B_B: | 454 | case GK20A_GPUID_GM20B_B: |
460 | gk20a_dbg_info("gm20b detected"); | 455 | gk20a_dbg_info("gm20b detected"); |