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
This commit is contained in:
Terje Bergstrom
2015-03-19 14:56:31 -07:00
committed by Dan Willemsen
parent 2503a45f46
commit 672680dfc0

View File

@@ -321,6 +321,10 @@ void gk20a_debug_dump_device(struct platform_device *pdev)
};
struct gk20a *g;
/* In pre-silicon we don't need full spew on stuck syncpoint */
if (!tegra_platform_is_silicon())
return;
/* Dump the first device if no info is provided */
if (!pdev) {
if (!gk20a_device)