summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-06-02 09:03:18 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:10:04 -0400
commit644649690207a6707aff69dadaced81209bfc765 (patch)
tree909f960ebde629659d456ebdbf7ec11264ab4964 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parent4e9030f34d3018a2ca6319985f9036c438eb82f4 (diff)
gpu: nvgpu: On FECS error, dump ARB status
On FECS arbiter timeout, dump ARB status. Change-Id: I4f8c4d38c99e35ce751172a8695e950f0ce594c8 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/417753
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index df85d852..fc1da1fe 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -2004,8 +2004,11 @@ static void gr_gk20a_load_falcon_bind_instblk(struct gk20a *g)
2004 udelay(2); 2004 udelay(2);
2005 retries--; 2005 retries--;
2006 } 2006 }
2007 if (!retries) 2007 if (!retries) {
2008 gk20a_err(dev_from_gk20a(g), "arbiter idle timeout"); 2008 gk20a_err(dev_from_gk20a(g),
2009 "arbiter idle timeout, status: %08x",
2010 gk20a_readl(g, gr_fecs_ctxsw_status_1_r()));
2011 }
2009 2012
2010 gk20a_writel(g, gr_fecs_arb_ctx_adr_r(), 0x0); 2013 gk20a_writel(g, gr_fecs_arb_ctx_adr_r(), 0x0);
2011 2014