diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-01-10 19:06:30 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-12 15:43:40 -0500 |
commit | 9dd3bb2e62c321bb48c14f3e76c00a754cd12c5f (patch) | |
tree | 48e1242d3f17ae0ef02ef0f724c95ce5c30b6338 /drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c | |
parent | ece3d958b306f00dad76ed6f9b83ce136b4769f2 (diff) |
gpu: nvgpu: vgpu: move t19x specific code to general code
- remove vgpu_t19x.h and tegra_vgpu_t19x.h
- merge t19x specific ivc commands to the big enum
- move TEGRA_VGPU_ATTRIB_MAX_SUBCTX_COUNT to constants
Jira EVLR-2293
Change-Id: I34344bffa03bb69e1282b1f19382e3199f9ba105
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1636128
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c index bb523f1e..0d04d6e4 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include "common/linux/driver_common.h" | 48 | #include "common/linux/driver_common.h" |
49 | 49 | ||
50 | #ifdef CONFIG_TEGRA_19x_GPU | 50 | #ifdef CONFIG_TEGRA_19x_GPU |
51 | #include "common/linux/vgpu/vgpu_t19x.h" | ||
52 | #include <nvgpu_gpuid_t19x.h> | 51 | #include <nvgpu_gpuid_t19x.h> |
53 | #endif | 52 | #endif |
54 | 53 | ||
@@ -439,7 +438,7 @@ static int vgpu_init_hal(struct gk20a *g) | |||
439 | break; | 438 | break; |
440 | #ifdef CONFIG_TEGRA_19x_GPU | 439 | #ifdef CONFIG_TEGRA_19x_GPU |
441 | case TEGRA_19x_GPUID: | 440 | case TEGRA_19x_GPUID: |
442 | err = vgpu_t19x_init_hal(g); | 441 | err = vgpu_gv11b_init_hal(g); |
443 | break; | 442 | break; |
444 | #endif | 443 | #endif |
445 | default: | 444 | default: |