diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2016-05-30 12:17:04 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-05 18:35:19 -0400 |
commit | b6b7da610853b0efc0890027aaf0eb29eb7c7545 (patch) | |
tree | a6db3703e73f2d7e8d6a2d4b014ed9fd406dfd2a /drivers/gpu/nvgpu/gk20a | |
parent | ab458d05821554ee35328bc40ac30160862fe657 (diff) |
gpu: nvgpu: PMU support for gm204/gm206
Adding PMU modules to boot & comunicate
with PMU F/W
JIRA DNVGPU-11
Change-Id: I5afc9209f70fc13376268f9c94daef6b75527c71
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1156028
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 9d9dbb4b..b60d1b71 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -3367,6 +3367,10 @@ static u8 get_perfmon_id(struct pmu_gk20a *pmu) | |||
3367 | unit_id = PMU_UNIT_PERFMON_T18X; | 3367 | unit_id = PMU_UNIT_PERFMON_T18X; |
3368 | break; | 3368 | break; |
3369 | #endif | 3369 | #endif |
3370 | case GK20A_GPUID_GM206: | ||
3371 | case GK20A_GPUID_GM204: | ||
3372 | unit_id = PMU_UNIT_PERFMON_T18X; | ||
3373 | break; | ||
3370 | default: | 3374 | default: |
3371 | gk20a_err(g->dev, "no support for %x", ver); | 3375 | gk20a_err(g->dev, "no support for %x", ver); |
3372 | BUG(); | 3376 | BUG(); |