summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-04-11 07:20:17 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:06 -0400
commit8323c0a015719420df61bbd7003898be3482d16a (patch)
tree0fa130d062daaad42e6040b0085516dfc9958f19 /drivers
parentde8c0e260501998bd83d7034227814b1b8978bef (diff)
gpu: nvgpu: Do not dump top_fs_status
Result of top_fs_status_r() is always constant. Do not dump it anymore. Change-Id: Ie1cfe872d70b2c3c8a7cef4df3870dacae8f8793 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/395208
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c2
-rw-r--r--drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h4
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c2
3 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index f206fd7d..73515796 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -526,8 +526,6 @@ static void gk20a_pbus_isr(struct gk20a *g)
526 if (val & (bus_intr_0_pri_squash_m() | 526 if (val & (bus_intr_0_pri_squash_m() |
527 bus_intr_0_pri_fecserr_m() | 527 bus_intr_0_pri_fecserr_m() |
528 bus_intr_0_pri_timeout_m())) { 528 bus_intr_0_pri_timeout_m())) {
529 gk20a_err(dev_from_gk20a(g), "top_fs_status_r : 0x%x",
530 gk20a_readl(g, top_fs_status_r()));
531 gk20a_err(dev_from_gk20a(g), "pmc_enable : 0x%x", 529 gk20a_err(dev_from_gk20a(g), "pmc_enable : 0x%x",
532 gk20a_readl(g, mc_enable_r())); 530 gk20a_readl(g, mc_enable_r()));
533 gk20a_err(&g->dev->dev, 531 gk20a_err(&g->dev->dev,
diff --git a/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h
index c2922814..ab527d25 100644
--- a/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/hw_top_gk20a.h
@@ -74,10 +74,6 @@ static inline u32 top_num_fbps_value_v(u32 r)
74{ 74{
75 return (r >> 0) & 0x1f; 75 return (r >> 0) & 0x1f;
76} 76}
77static inline u32 top_fs_status_r(void)
78{
79 return 0x00022500;
80}
81static inline u32 top_device_info_r(u32 i) 77static inline u32 top_device_info_r(u32 i)
82{ 78{
83 return 0x00022700 + i*4; 79 return 0x00022700 + i*4;
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index e9e0c26f..8e2a62de 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -2867,8 +2867,6 @@ static void pmu_dump_falcon_stats(struct pmu_gk20a *pmu)
2867 pwr_falcon_exterrstat_valid_true_v()) { 2867 pwr_falcon_exterrstat_valid_true_v()) {
2868 gk20a_err(dev_from_gk20a(g), "pwr_falcon_exterraddr_r : 0x%x", 2868 gk20a_err(dev_from_gk20a(g), "pwr_falcon_exterraddr_r : 0x%x",
2869 gk20a_readl(g, pwr_falcon_exterraddr_r())); 2869 gk20a_readl(g, pwr_falcon_exterraddr_r()));
2870 gk20a_err(dev_from_gk20a(g), "top_fs_status_r : 0x%x",
2871 gk20a_readl(g, top_fs_status_r()));
2872 gk20a_err(dev_from_gk20a(g), "pmc_enable : 0x%x", 2870 gk20a_err(dev_from_gk20a(g), "pmc_enable : 0x%x",
2873 gk20a_readl(g, mc_enable_r())); 2871 gk20a_readl(g, mc_enable_r()));
2874 } 2872 }