diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2016-11-03 08:04:12 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:53 -0500 |
commit | 62d13e613807e9bce3a9d1ef0c61725ef3a885ce (patch) | |
tree | 0906c8ae32f9790d05685c17a413b56cb56477f9 /drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | |
parent | f41740bf08c77f54561f1b957fe552d8234524b7 (diff) |
gpu: nvgpu: RPPG support
- Added rppg module to init GR/MS-RPPG.
mscg is dependent on gr-rppg & without
gr-rppg engage mscg does not engage.
- Update pg engines HAL to return supported
pg engines & its sub features
JIRA DNVGPU-71
Change-Id: Ib0fd2d79b509f6f2f1dabae6e2b5aebcc80b5691
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1247486
(cherry picked from commit 86e45fa62e6a6b295f73c0173f0117ae9f78a5e9)
Reviewed-on: http://git-master/r/1270762
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/pmu_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c index b5fdf2fd..cd9cd0b0 100644 --- a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c | |||
@@ -249,7 +249,8 @@ int gp10b_pg_gr_init(struct gk20a *g, u32 pg_engine_id) | |||
249 | 249 | ||
250 | return 0; | 250 | return 0; |
251 | } | 251 | } |
252 | static void gp10b_pmu_elpg_statistics(struct gk20a *g, | 252 | |
253 | void gp10b_pmu_elpg_statistics(struct gk20a *g, | ||
253 | u32 *ingating_time, u32 *ungating_time, u32 *gating_cnt) | 254 | u32 *ingating_time, u32 *ungating_time, u32 *gating_cnt) |
254 | { | 255 | { |
255 | struct pmu_gk20a *pmu = &g->pmu; | 256 | struct pmu_gk20a *pmu = &g->pmu; |