]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
gpu: nvgpu: Skip debug dump on stuck syncpoint
authorTerje Bergstrom <tbergstrom@nvidia.com>
Thu, 19 Mar 2015 21:56:31 +0000 (14:56 -0700)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Tue, 24 Mar 2015 18:33:41 +0000 (11:33 -0700)
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

drivers/gpu/nvgpu/gk20a/debug_gk20a.c

index 2c37d22d7d5e6926430d111edf5016da9e83f502..0f1c31ddfe6733713214486943bf710e5881f009 100644 (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)