diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-02-07 19:29:51 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-02 21:48:41 -0500 |
commit | 76b78b6fdcb0bbed72645aaa85de6013e2b135c3 (patch) | |
tree | def110f0c0b0928651186444a9dab058b510c5bb /drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |
parent | f9b2c30b369ba13735e2c0168fd45bb7275bdebd (diff) |
gpu: nvgpu: Remove nvgpu_gpuid_t18x.h
Remove nvgpu_gpuid_t18x.h since this file is now visible. Migrate
the relevant definitions and defines into their expected places and
make the code use the real defines. No longer is hiding t18x specific
stuff necessary.
Bug 1799159
Change-Id: I47fa2392e46fdb7aacc70aeb0cc8c3f5ca0dc22f
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1300976
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index a5664a0e..1322460c 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -34,10 +34,6 @@ | |||
34 | #include <nvgpu/hw/gk20a/hw_pwr_gk20a.h> | 34 | #include <nvgpu/hw/gk20a/hw_pwr_gk20a.h> |
35 | #include <nvgpu/hw/gk20a/hw_top_gk20a.h> | 35 | #include <nvgpu/hw/gk20a/hw_top_gk20a.h> |
36 | 36 | ||
37 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | ||
38 | #include "nvgpu_gpuid_t18x.h" | ||
39 | #endif | ||
40 | |||
41 | #ifdef CONFIG_TEGRA_19x_GPU | 37 | #ifdef CONFIG_TEGRA_19x_GPU |
42 | #include "nvgpu_gpuid_t19x.h" | 38 | #include "nvgpu_gpuid_t19x.h" |
43 | #endif | 39 | #endif |
@@ -3707,13 +3703,11 @@ static u8 get_perfmon_id(struct pmu_gk20a *pmu) | |||
3707 | case GK20A_GPUID_GM20B: | 3703 | case GK20A_GPUID_GM20B: |
3708 | unit_id = PMU_UNIT_PERFMON; | 3704 | unit_id = PMU_UNIT_PERFMON; |
3709 | break; | 3705 | break; |
3710 | #if defined(CONFIG_ARCH_TEGRA_18x_SOC) | 3706 | case NVGPU_GPUID_GP10B: |
3711 | case TEGRA_18x_GPUID: | 3707 | case NVGPU_GPUID_GP104: |
3712 | case TEGRA_18x_GPUID2: | 3708 | case NVGPU_GPUID_GP106: |
3713 | case TEGRA_18x_GPUID3: | ||
3714 | unit_id = PMU_UNIT_PERFMON_T18X; | 3709 | unit_id = PMU_UNIT_PERFMON_T18X; |
3715 | break; | 3710 | break; |
3716 | #endif | ||
3717 | #if defined(CONFIG_TEGRA_19x_GPU) | 3711 | #if defined(CONFIG_TEGRA_19x_GPU) |
3718 | case TEGRA_19x_GPUID: | 3712 | case TEGRA_19x_GPUID: |
3719 | unit_id = PMU_UNIT_PERFMON_T18X; | 3713 | unit_id = PMU_UNIT_PERFMON_T18X; |