summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/debug_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-03-19 17:56:31 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 22:01:35 -0400
commit672680dfc069f08722b98f52097106021c7e2b0f (patch)
treeb4f7c34df4bded9e65b853c7e6e36b11b3f10d6a /drivers/gpu/nvgpu/gk20a/debug_gk20a.c
parent2503a45f46fb3f56786769cb8e930085bf1359ec (diff)
gpu: nvgpu: Skip debug dump on stuck syncpoint
Skip dumping full debug spew on stuck syncpoint. Change-Id: I22c019bac23c4530229e20c0f8ce00806e23d9a1 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/719876
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/debug_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/debug_gk20a.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c
index 2c37d22d..0f1c31dd 100644
--- a/drivers/gpu/nvgpu/gk20a/debug_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/debug_gk20a.c
@@ -321,6 +321,10 @@ void gk20a_debug_dump_device(struct platform_device *pdev)
321 }; 321 };
322 struct gk20a *g; 322 struct gk20a *g;
323 323
324 /* In pre-silicon we don't need full spew on stuck syncpoint */
325 if (!tegra_platform_is_silicon())
326 return;
327
324 /* Dump the first device if no info is provided */ 328 /* Dump the first device if no info is provided */
325 if (!pdev) { 329 if (!pdev) {
326 if (!gk20a_device) 330 if (!gk20a_device)