From f1c764d118adf0682f8ff1cbb959194f0477f38b Mon Sep 17 00:00:00 2001 From: Ravishangar Kalyanam Date: Wed, 18 Jul 2012 18:28:42 -0700 Subject: [PATCH] Revert "msm_fb: display: Register MDP fault handler with IOMMU driver." This reverts commit 9f36ce34dc0e6f840c6198430adfb44142d91f4b. This enables the IOMMU page fault register dumps from default handler. Change-Id: Icddd2394f5aa337e1a4998247cc4e3201f752e84 Signed-off-by: Ravishangar Kalyanam --- drivers/video/msm/mdp4_overlay.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/video/msm/mdp4_overlay.c b/drivers/video/msm/mdp4_overlay.c index 79772ffef9a5..942784219c68 100644 --- a/drivers/video/msm/mdp4_overlay.c +++ b/drivers/video/msm/mdp4_overlay.c @@ -3702,13 +3702,6 @@ static struct msm_iommu_ctx msm_iommu_split_ctx_names[] = { }, }; -static int mdp_iommu_fault_handler(struct iommu_domain *domain, - struct device *dev, unsigned long iova, int flags) -{ - pr_err("MDP IOMMU page fault: iova 0x%lx", iova); - return 0; -} - void mdp4_iommu_attach(void) { static int done;