From 06ce948e5ca46635536b539942fe3891e124ca7d Mon Sep 17 00:00:00 2001 From: Devin Kim Date: Thu, 14 Jun 2012 18:32:32 -0700 Subject: [PATCH] mako: temoprarily blocked mdp error message blocked until enabling LCD. if not, too much errors in console Change-Id: I38bc1bec4559f9d4d830d8f6e024cb5a121abf35 --- drivers/video/msm/mdp4_overlay.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/video/msm/mdp4_overlay.c b/drivers/video/msm/mdp4_overlay.c index 89ae2544b447..114404543231 100644 --- a/drivers/video/msm/mdp4_overlay.c +++ b/drivers/video/msm/mdp4_overlay.c @@ -3452,6 +3452,14 @@ 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) +{ + /* FIXME: temporarily blocked until enabling LCD */ + /* pr_err("MDP IOMMU page fault: iova 0x%lx", iova); */ + return 0; +} + void mdp4_iommu_attach(void) { static int done;