diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c index d0c9e66d..cdf3ef1c 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Virtualized GPU | 2 | * Virtualized GPU |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -47,10 +47,6 @@ | |||
47 | #include "common/linux/scale.h" | 47 | #include "common/linux/scale.h" |
48 | #include "common/linux/driver_common.h" | 48 | #include "common/linux/driver_common.h" |
49 | 49 | ||
50 | #ifdef CONFIG_TEGRA_19x_GPU | ||
51 | #include <nvgpu_gpuid_t19x.h> | ||
52 | #endif | ||
53 | |||
54 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> | 50 | #include <nvgpu/hw/gk20a/hw_mc_gk20a.h> |
55 | 51 | ||
56 | static inline int vgpu_comm_init(struct platform_device *pdev) | 52 | static inline int vgpu_comm_init(struct platform_device *pdev) |
@@ -436,11 +432,9 @@ static int vgpu_init_hal(struct gk20a *g) | |||
436 | gk20a_dbg_info("gp10b detected"); | 432 | gk20a_dbg_info("gp10b detected"); |
437 | err = vgpu_gp10b_init_hal(g); | 433 | err = vgpu_gp10b_init_hal(g); |
438 | break; | 434 | break; |
439 | #ifdef CONFIG_TEGRA_19x_GPU | 435 | case NVGPU_GPUID_GV11B: |
440 | case TEGRA_19x_GPUID: | ||
441 | err = vgpu_gv11b_init_hal(g); | 436 | err = vgpu_gv11b_init_hal(g); |
442 | break; | 437 | break; |
443 | #endif | ||
444 | default: | 438 | default: |
445 | nvgpu_err(g, "no support for %x", ver); | 439 | nvgpu_err(g, "no support for %x", ver); |
446 | err = -ENODEV; | 440 | err = -ENODEV; |