msm: kgsl: Use process specific pt_base in postmortem dump

When doing a look-up of the IB1 base address, use the pagetable
belonging to the respective process rather than the pagetable
belonging to the process in whose context the GPU hung.

Signed-off-by: Sushmita Susheelendra <ssusheel@codeaurora.org>
diff --git a/drivers/gpu/msm/kgsl_mmu.h b/drivers/gpu/msm/kgsl_mmu.h
index 775fb95..4e90b8f 100644
--- a/drivers/gpu/msm/kgsl_mmu.h
+++ b/drivers/gpu/msm/kgsl_mmu.h
@@ -178,6 +178,7 @@
 unsigned int kgsl_virtaddr_to_physaddr(void *virtaddr);
 void kgsl_setstate(struct kgsl_device *device, uint32_t flags);
 void kgsl_default_setstate(struct kgsl_device *device, uint32_t flags);
+int kgsl_get_ptname_from_ptbase(unsigned int pt_base);
 
 static inline int kgsl_mmu_enabled(void)
 {
@@ -257,6 +258,9 @@
 
 static inline void kgsl_default_setstate(struct kgsl_device *device,
 	uint32_t flags) { }
+
+static inline int kgsl_get_ptname_from_ptbase(unsigned int pt_base) { }
+
 #endif
 
 static inline unsigned int kgsl_pt_get_flags(struct kgsl_pagetable *pt,