diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.c')
-rw-r--r-- | drivers/gpu/nvgpu/pstate/pstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pstate/pstate.c b/drivers/gpu/nvgpu/pstate/pstate.c index cca6c445..2e08ef01 100644 --- a/drivers/gpu/nvgpu/pstate/pstate.c +++ b/drivers/gpu/nvgpu/pstate/pstate.c | |||
@@ -177,6 +177,7 @@ int pstate_construct_super(struct gk20a *g, struct boardobj **ppboardobj, | |||
177 | 177 | ||
178 | pstate->num = ptmppstate->num; | 178 | pstate->num = ptmppstate->num; |
179 | pstate->clklist = ptmppstate->clklist; | 179 | pstate->clklist = ptmppstate->clklist; |
180 | pstate->lpwr_entry_idx = ptmppstate->lpwr_entry_idx; | ||
180 | 181 | ||
181 | return 0; | 182 | return 0; |
182 | } | 183 | } |
@@ -236,6 +237,7 @@ static int parse_pstate_entry_5x(struct gk20a *g, | |||
236 | pstate->super.type = CTRL_PERF_PSTATE_TYPE_3X; | 237 | pstate->super.type = CTRL_PERF_PSTATE_TYPE_3X; |
237 | pstate->num = 0x0F - entry->pstate_level; | 238 | pstate->num = 0x0F - entry->pstate_level; |
238 | pstate->clklist.num_info = hdr->clock_entry_count; | 239 | pstate->clklist.num_info = hdr->clock_entry_count; |
240 | pstate->lpwr_entry_idx = entry->lpwr_entry_idx; | ||
239 | 241 | ||
240 | gk20a_dbg_info("pstate P%u", pstate->num); | 242 | gk20a_dbg_info("pstate P%u", pstate->num); |
241 | 243 | ||