From 672680dfc069f08722b98f52097106021c7e2b0f Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 19 Mar 2015 14:56:31 -0700 Subject: gpu: nvgpu: Skip debug dump on stuck syncpoint Skip dumping full debug spew on stuck syncpoint. Change-Id: I22c019bac23c4530229e20c0f8ce00806e23d9a1 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/719876 --- drivers/gpu/nvgpu/gk20a/debug_gk20a.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/debug_gk20a.c') 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) }; 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) -- cgit v1.2.2