aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlistair Strachan <alistair.strachan@imgtec.com>2012-07-09 21:00:13 +0100
committerJP Abgrall <jpa@google.com>2012-07-09 20:39:52 -0700
commitf46dca128fbe05a777d321c1e91d86d1cbb06ed9 (patch)
tree06a4494c04705b0e234b5cdd6138fc0831a8bd44 /drivers/gpu
parentd45c5b0622ff2099402a09eae29a01e9fdb96bdf (diff)
downloadkernel_samsung_crespo-f46dca128fbe05a777d321c1e91d86d1cbb06ed9.zip
kernel_samsung_crespo-f46dca128fbe05a777d321c1e91d86d1cbb06ed9.tar.gz
kernel_samsung_crespo-f46dca128fbe05a777d321c1e91d86d1cbb06ed9.tar.bz2
gpu: pvr: Dump active page table when lockup is detected.
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/pvr/sgx/mmu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/sgx/mmu.c b/drivers/gpu/pvr/sgx/mmu.c
index 9d124f5..cde8307 100644
--- a/drivers/gpu/pvr/sgx/mmu.c
+++ b/drivers/gpu/pvr/sgx/mmu.c
@@ -3471,6 +3471,8 @@ IMG_VOID MMU_CheckFaultAddr(PVRSRV_SGXDEV_INFO *psDevInfo, IMG_UINT32 ui32PDDevP
ui32PTE,
ui32PTE & SGX_MMU_PTE_ADDR_MASK,
ui32PTE & SGX_MMU_PTE_VALID?"valid":"Invalid"));
+
+ DumpPT(psMMUContext->apsPTInfoList[ui32PDIndex]);
}
else
{