From patchwork Thu Oct 4 15:42:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 1545121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 9DAFADF6DA for ; Thu, 4 Oct 2012 07:27:46 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TJfoZ-0003NL-QX; Thu, 04 Oct 2012 07:25:48 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TJfnb-00035B-Kq for linux-arm-kernel@lists.infradead.org; Thu, 04 Oct 2012 07:24:48 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBC00LFOXWSZVQ0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 04 Oct 2012 16:24:43 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 27.A5.03783.BB93D605; Thu, 04 Oct 2012 16:24:43 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-ac-506d39bb8720 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D6.A5.03783.AB93D605; Thu, 04 Oct 2012 16:24:42 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MBC006I9XWMLU10@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 04 Oct 2012 16:24:42 +0900 (KST) From: Rahul Sharma To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: [PATCH v1 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip Date: Thu, 04 Oct 2012 21:12:43 +0530 Message-id: <1349365372-21417-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1349365372-21417-1-git-send-email-rahul.sharma@samsung.com> References: <1349365372-21417-1-git-send-email-rahul.sharma@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkTne3ZW6AwayXnBabHl9jdWD02Lyk PoAxissmJTUnsyy1SN8ugStj8v677AXzOSs6Tt9hbmD8yt7FyMkhIWAiceDXX0YIW0ziwr31 bF2MXBxCAksZJfZuXMAKU7RrVT8rRGI6o8SONf1QVRuYJL5ev8UCUsUmoCsx++AzsFEiAq4S W7fcBLOZBZIkvv+cxARiCwsESKxpPQK2mkVAVeLeopnMIDavgIfEix0roLYpSLQuOwRUw8HB KeApceRnIkhYCKhk0ocOVohWAYlvkw+xgJRICMhKbDrADHKOhMBlNolD22dAjZGUOLjiBssE RuEFjAyrGEVTC5ILipPScw31ihNzi0vz0vWS83M3MQJD8PS/Z1I7GFc2WBxiFOBgVOLhNezO CRBiTSwrrsw9xCjBwawkwrtZMTdAiDclsbIqtSg/vqg0J7X4EKMP0CUTmaVEk/OB8ZFXEm9o bGJuamxqaWRkZmqKQ1hJnLfZIyVASCA9sSQ1OzW1ILUIZhwTB6dUA+Ms3uuhV6b/l5xUaHxp 3nUF9vf2C9xuzGv/w6VRXba81kjtg5p4bHH2z2OrHj6zjND+Urk65FvToSvCWYHH/Dp7k6ay qcrNUd7119fGvt9sT8CHn+YsUdLXGM40ZIdZN8VMWSyV8effvjjWDtf6eRUfm2Wantdssr8s GfOa5bCT9aX8fV9P9yuxFGckGmoxFxUnAgD0Fyu1bgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xoO4uy9wAgwXHrCw2Pb7G6sDosXlJ fQBjVAOjTUZqYkpqkUJqXnJ+SmZeuq2Sd3C8c7ypmYGhrqGlhbmSQl5ibqqtkotPgK5bZg7Q VCWFssScUqBQQGJxsZK+HaYJoSFuuhYwjRG6viFBcD1GBmggYQ1jxuT9d9kL5nNWdJy+w9zA +JW9i5GTQ0LARGLXqn5WCFtM4sK99WxdjFwcQgLTGSV2rOmHcjYwSXy9fosFpIpNQFdi9sFn jCC2iICrxNYtN8FsZoEkie8/JzGB2MICARJrWo+AbWARUJW4t2gmM4jNK+Ah8WLHCqhtChKt yw4B1XBwcAp4Shz5mQgSFgIqmfShg3UCI+8CRoZVjKKpBckFxUnpuYZ6xYm5xaV56XrJ+bmb GMEB/kxqB+PKBotDjAIcjEo8vIbdOQFCrIllxZW5hxglOJiVRHg3K+YGCPGmJFZWpRblxxeV 5qQWH2L0ATpqIrOUaHI+MPrySuINjU3MTY1NLU0sTMwscQgrifM2e6QECAmkJ5akZqemFqQW wYxj4uCUamA0bn71JOfNlqnSO/Rkru0zK1axnDv71Lozzbcnv92VbLa2PYDzjpbYY/6s73ds RZo5Phz9O18jkP/bxbCSqfyPX5srr3kov/So395bZyu4X1b39+34ud56Ma/evQiLT/PFqtp/ LEvYvWdzptutmno71u3WdSYtZQcEuPfvdTv2W9Tz5Rf7jTd3KbEUZyQaajEXFScCAFP/07Gd AgAA X-CFilter-Loop: Reflected X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.1 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.9 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date -2.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: t.stanislaws@samsung.com, inki.dae@samsung.com, kyungmin.park@samsung.com, joshi@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Tomasz Stanislawski The plug/unplug interrupt are handled by a separate interrupt. So there is no need to replicate this mechanism in HDMI core. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 90dce8c..e3ab840 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1532,12 +1532,9 @@ static void hdmi_conf_reset(struct hdmi_context *hdata) static void hdmi_conf_init(struct hdmi_context *hdata) { - /* enable HPD interrupts */ + /* disable HPD interrupts */ hdmi_reg_writemask(hdata, HDMI_INTC_CON, 0, HDMI_INTC_EN_GLOBAL | HDMI_INTC_EN_HPD_PLUG | HDMI_INTC_EN_HPD_UNPLUG); - mdelay(10); - hdmi_reg_writemask(hdata, HDMI_INTC_CON, ~0, HDMI_INTC_EN_GLOBAL | - HDMI_INTC_EN_HPD_PLUG | HDMI_INTC_EN_HPD_UNPLUG); /* choose HDMI mode */ hdmi_reg_writemask(hdata, HDMI_MODE_SEL,