From patchwork Fri Sep 28 14:25:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 1520141 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id E053E3FC71 for ; Fri, 28 Sep 2012 16:23:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DED6AA0F9D for ; Fri, 28 Sep 2012 09:23:53 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 03BAA9E975 for ; Fri, 28 Sep 2012 00:00:54 -0700 (PDT) Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MB100IQ0SS0ZFN0@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 28 Sep 2012 16:00:25 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id FE.1B.03860.90B45605; Fri, 28 Sep 2012 16:00:25 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-f4-50654b091e9b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 8D.1B.03860.90B45605; Fri, 28 Sep 2012 16:00:25 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MB100IE3SS09G80@mmp1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 28 Sep 2012 16:00:25 +0900 (KST) From: Rahul Sharma To: dri-devel@lists.freedesktop.org Subject: [PATCH 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip Date: Fri, 28 Sep 2012 19:55:27 +0530 Message-id: <1348842336-2153-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1348842336-2153-1-git-send-email-rahul.sharma@samsung.com> References: <1348842336-2153-1-git-send-email-rahul.sharma@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDLMWRmVeSWpSXmKPExsWyRsSkVpfTOzXA4GG/tcWVr+/ZHBg97ncf ZwpgjOKySUnNySxLLdK3S+DKmLz/LnvBfM6KjtN3mBsYv7J3MXJwSAiYSNzYm9rFyAlkiklc uLeeDcQWEljKKHH/GhNE3ERi9cHDQHEuoPgiRon5ux4yQTirmSTW999lAaliE9CVmH3wGSOI LSKgLPF34ipGkCJmgQ4miY6GqewgCWEBX4k9cy+AjWURUJV4/GkCWJxXwF1iwoMzjBDrFCRa lx0Ci3MKeEjMvDcF6iR3ic67TewQvQIS3yYfYoH4QFZi0wFmkF0SApfZJGbOb2WGmCMpcXDF DZYJjMILGBlWMYqmFiQXFCel5xrpFSfmFpfmpesl5+duYgQG4el/z6R3MK5qsDjEKMDBqMTD e2N+SoAQa2JZcWXuIUYJDmYlEV7nxUAh3pTEyqrUovz4otKc1OJDjD5Al0xklhJNzgdGSF5J vKGxibmpsamlkZGZqSkOYSVx3mYPoFkC6YklqdmpqQWpRTDjmDg4pRoYE9avN9kkUaW6q6zW 4FLexjLT+LW/1NjX7l28NdMnd37buS1OCVN3hFkE7Zs39cLXyuSfkZ6pD3k1o6J/3098tvDL W877hXoqU6X+/jLdufjyTS3ncmt1DTPT3Iuur9fOYDNjz5n9776ga8CUeMGuE7Jun1PFt8rd vGqYzJ5v9udg04GNvmF9SizFGYmGWsxFxYkAfEXZF28CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42I5/e+xgC6nd2qAwdtXGhZXvr5nc2D0uN99 nCmAMaqB0SYjNTEltUghNS85PyUzL91WyTs43jne1MzAUNfQ0sJcSSEvMTfVVsnFJ0DXLTMH aKySQlliTilQKCCxuFhJ3w7ThNAQN10LmMYIXd+QILgeIwM0kLCGMWPy/rvsBfM5KzpO32Fu YPzK3sXIySEhYCKx+uBhNghbTOLCvfVANheHkMAiRon5ux4yQTirmSTW999lAaliE9CVmH3w GSOILSKgLPF34ipGkCJmgQ4miY6GqWBjhQV8JfbMvcAEYrMIqEo8/jQBLM4r4C4x4cEZRoh1 ChKtyw6BxTkFPCRm3psCdoYQUE3n3Sb2CYy8CxgZVjGKphYkFxQnpeca6RUn5haX5qXrJefn bmIEh/kz6R2MqxosDjEKcDAq8fDemJ8SIMSaWFZcmXuIUYKDWUmE13kxUIg3JbGyKrUoP76o NCe1+BCjD9BVE5mlRJPzgTGYVxJvaGxibmpsamliYWJmiUNYSZy32QNolkB6YklqdmpqQWoR zDgmDk6pBkb/SPH573hueIWx8YZxlqokvDO7FD1Vfurd4wpR1y9Hb/iQMsvxnvKWYraYoKkh e6eZnzih8Kox/vWMgxaPLGfnbFkj4rH2tdPRRof+e1urDK51fpxyZ4XvNlHrnt4Ps/Y/+36p +KlPX+oc/Z/u0sbbb/YnBcZ1MTq0/e0QX62T6y7Xu3pJGq8SS3FGoqEWc1FxIgDlR4fnoAIA AA== X-CFilter-Loop: Reflected X-Mailman-Approved-At: Fri, 28 Sep 2012 09:18:26 -0700 Cc: l.krishna@samsung.com, joshi@samsung.com, kyungmin.park@samsung.com, fahad.k@samsung.com, rahul.sharma@samsung.com, prashanth.g@samsung.com, s.shirish@samsung.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.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,