summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gk20a/hw_pwr_gk20a.h4
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h4
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h4
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h12
4 files changed, 24 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}
635static inline u32 pwr_pmu_idle_mask_1_r(u32 i)
636{
637 return 0x0010aa34U + i*8U;
638}
635static inline u32 pwr_pmu_idle_count_r(u32 i) 639static inline u32 pwr_pmu_idle_count_r(u32 i)
636{ 640{
637 return 0x0010a508U + i*16U; 641 return 0x0010a508U + i*16U;
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h
index 7b339ae5..a7c409de 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gm20b/hw_pwr_gm20b.h
@@ -676,6 +676,10 @@ static inline u32 pwr_pmu_idle_mask_ce_2_enabled_f(void)
676{ 676{
677 return 0x200000U; 677 return 0x200000U;
678} 678}
679static inline u32 pwr_pmu_idle_mask_1_r(u32 i)
680{
681 return 0x0010aa34U + i*8U;
682}
679static inline u32 pwr_pmu_idle_count_r(u32 i) 683static inline u32 pwr_pmu_idle_count_r(u32 i)
680{ 684{
681 return 0x0010a508U + i*16U; 685 return 0x0010a508U + i*16U;
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h
index 75f1c046..f067be7e 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_pwr_gp10b.h
@@ -680,6 +680,10 @@ static inline u32 pwr_pmu_idle_mask_ce_2_enabled_f(void)
680{ 680{
681 return 0x200000U; 681 return 0x200000U;
682} 682}
683static inline u32 pwr_pmu_idle_mask_1_r(u32 i)
684{
685 return 0x0010aa34U + i*8U;
686}
683static inline u32 pwr_pmu_idle_count_r(u32 i) 687static inline u32 pwr_pmu_idle_count_r(u32 i)
684{ 688{
685 return 0x0010a508U + i*16U; 689 return 0x0010a508U + i*16U;
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h
index 03affe8e..1cda12de 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pwr_gv11b.h
@@ -840,6 +840,14 @@ static inline u32 pwr_pmu_idle_mask_ce_2_enabled_f(void)
840{ 840{
841 return 0x200000U; 841 return 0x200000U;
842} 842}
843static inline u32 pwr_pmu_idle_mask_1_r(u32 i)
844{
845 return 0x0010aa34U + i*8U;
846}
847static inline u32 pwr_pmu_idle_mask_2_r(u32 i)
848{
849 return 0x0010a840U + i*4U;
850}
843static inline u32 pwr_pmu_idle_count_r(u32 i) 851static inline u32 pwr_pmu_idle_count_r(u32 i)
844{ 852{
845 return 0x0010a508U + i*16U; 853 return 0x0010a508U + i*16U;
@@ -936,6 +944,10 @@ static inline u32 pwr_pmu_idle_mask_1_supp_r(u32 i)
936{ 944{
937 return 0x0010a9f4U + i*8U; 945 return 0x0010a9f4U + i*8U;
938} 946}
947static inline u32 pwr_pmu_idle_mask_2_supp_r(u32 i)
948{
949 return 0x0010a690U + i*4U;
950}
939static inline u32 pwr_pmu_idle_ctrl_supp_r(u32 i) 951static inline u32 pwr_pmu_idle_ctrl_supp_r(u32 i)
940{ 952{
941 return 0x0010aa30U + i*8U; 953 return 0x0010aa30U + i*8U;