diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 692f054f..a78ff506 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -656,6 +656,10 @@ struct gpu_ops { | |||
656 | u16 *min_mhz, u16 *max_mhz); | 656 | u16 *min_mhz, u16 *max_mhz); |
657 | int (*get_arbiter_clk_default)(struct gk20a *g, u32 api_domain, | 657 | int (*get_arbiter_clk_default)(struct gk20a *g, u32 api_domain, |
658 | u16 *default_mhz); | 658 | u16 *default_mhz); |
659 | /* This function is inherently unsafe to call while | ||
660 | * arbiter is running arbiter must be blocked | ||
661 | * before calling this function */ | ||
662 | int (*get_current_pstate)(struct gk20a *g); | ||
659 | } clk_arb; | 663 | } clk_arb; |
660 | struct { | 664 | struct { |
661 | int (*handle_pmu_perf_event)(struct gk20a *g, void *pmu_msg); | 665 | int (*handle_pmu_perf_event)(struct gk20a *g, void *pmu_msg); |