diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-09 18:12:41 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-17 19:29:41 -0500 |
commit | 9d04e970937657d11620d812c29a5d10828440fc (patch) | |
tree | 78d06a0773317241ddfdc9d2b1bc6c871f3175c7 /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | 35ae4194a05d47aa6d79353428f81f2ca47ce90f (diff) |
gpu: nvgpu: Remove separation of t18x code
Remove separation of t18x specific code and fields and the associated
ifdefs. We can build T18x code in always.
Change-Id: I4e8eae9c30335632a2da48b418c6138193831b4f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1595431
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal.c b/drivers/gpu/nvgpu/gk20a/hal.c index 13e6f374..d24d4bc5 100644 --- a/drivers/gpu/nvgpu/gk20a/hal.c +++ b/drivers/gpu/nvgpu/gk20a/hal.c | |||
@@ -44,7 +44,6 @@ int gpu_init_hal(struct gk20a *g) | |||
44 | if (gm20b_init_hal(g)) | 44 | if (gm20b_init_hal(g)) |
45 | return -ENODEV; | 45 | return -ENODEV; |
46 | break; | 46 | break; |
47 | #if defined(CONFIG_ARCH_TEGRA_18x_SOC) | ||
48 | case NVGPU_GPUID_GP10B: | 47 | case NVGPU_GPUID_GP10B: |
49 | if (gp10b_init_hal(g)) | 48 | if (gp10b_init_hal(g)) |
50 | return -ENODEV; | 49 | return -ENODEV; |
@@ -54,7 +53,6 @@ int gpu_init_hal(struct gk20a *g) | |||
54 | if (gp106_init_hal(g)) | 53 | if (gp106_init_hal(g)) |
55 | return -ENODEV; | 54 | return -ENODEV; |
56 | break; | 55 | break; |
57 | #endif | ||
58 | #ifdef CONFIG_TEGRA_19x_GPU | 56 | #ifdef CONFIG_TEGRA_19x_GPU |
59 | case TEGRA_19x_GPUID: | 57 | case TEGRA_19x_GPUID: |
60 | if (TEGRA_19x_GPUID_HAL(g)) | 58 | if (TEGRA_19x_GPUID_HAL(g)) |