diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h index cf60ae51..b8795632 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h | |||
@@ -632,6 +632,10 @@ static inline u32 pwr_pmu_idle_mask_ce_2_enabled_f(void) | |||
632 | { | 632 | { |
633 | return 0x200000U; | 633 | return 0x200000U; |
634 | } | 634 | } |
635 | static inline u32 pwr_pmu_idle_mask_1_r(u32 i) | ||
636 | { | ||
637 | return 0x0010aa34U + i*8U; | ||
638 | } | ||
635 | static inline u32 pwr_pmu_idle_count_r(u32 i) | 639 | static inline u32 pwr_pmu_idle_count_r(u32 i) |
636 | { | 640 | { |
637 | return 0x0010a508U + i*16U; | 641 | return 0x0010a508U + i*16U; |