From patchwork Thu Oct 4 15:18:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 1545591 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 728E03FD9C for ; Thu, 4 Oct 2012 09:23:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49A1DA0D53 for ; Thu, 4 Oct 2012 02:23:14 -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 7E850A0C2D for ; Thu, 4 Oct 2012 00:01:30 -0700 (PDT) Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MBC00KMJWT4NUC0@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 04 Oct 2012 16:01:14 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 73.8E.03783.A343D605; Thu, 04 Oct 2012 16:01:14 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-ac-506d343afcbd Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E1.8E.03783.A343D605; Thu, 04 Oct 2012 16:01:14 +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 <0MBC0040MWSZQ360@mmp2.samsung.com> for dri-devel@lists.freedesktop.org; Thu, 04 Oct 2012 16:01:14 +0900 (KST) From: Rahul Sharma To: dri-devel@lists.freedesktop.org Subject: [PATCH v1 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip Date: Thu, 04 Oct 2012 20:48:47 +0530 Message-id: <1349363936-8531-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1349363936-8531-1-git-send-email-rahul.sharma@samsung.com> References: <1349363936-8531-1-git-send-email-rahul.sharma@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsWyRsSkRtfKJDfAoHGTqcWVr+/ZHBg97ncf ZwpgjOKySUnNySxLLdK3S+DKmLz/LnvBfM6KjtN3mBsYv7J3MXJySAiYSEybeZQVwhaTuHBv PVsXIxeHkMBSRonTW6bCFV3csIsVIjGdUeL9xSNMEM5qJonmDe+ZQKrYBHQlZh98xghiiwgo S/yduIoRpIhZYBGTxL87H8BGCQsESKxpPQJmswioSuxvaWYGsXkF3CUufZ/IDLFOQaJ12SGw Gk4BD4mFv26A2UJANU+uXWKE6BWQ+Db5EEsXIwdQvazEpgPMILskBK6zSXxesg/qH0mJgytu sExgFF7AyLCKUTS1ILmgOCk911CvODG3uDQvXS85P3cTIzAQT/97JrWDcWWDxSFGAQ5GJR5e w+6cACHWxLLiytxDjBIczEoivJsVcwOEeFMSK6tSi/Lji0pzUosPMfoAXTKRWUo0OR8YJXkl 8YbGJuamxqaWRkZmpqY4hJXEeZs9UgKEBNITS1KzU1MLUotgxjFxcEo1MDbPPq4ldC96+zWT eXlHJRresrG175r4enUkM8dyjrNJioY7Qn06DPwfqgbe2hry+qYna/3rx9nr+hg+SxgWSSXX ZjauMJ3raCNw+02nBlOJbUncLfbiuftZ/6ZnNh3j5FDfyMc5tayiYImQhv/T99Xrpn1oXzlH 7tEDwxfPen6V6O6xyb4ioMRSnJFoqMVcVJwIAFxAu7txAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42I5/e+xoK6VSW6AwZSHShZXvr5nc2D0uN99 nCmAMaqB0SYjNTEltUghNS85PyUzL91WyTs43jne1MzAUNfQ0sJcSSEvMTfVVsnFJ0DXLTMH aKySQlliTilQKCCxuFhJ3w7ThNAQN10LmMYIXd+QILgeIwM0kLCGMWPy/rvsBfM5KzpO32Fu YPzK3sXIySEhYCJxccMuVghbTOLCvfVsXYxcHEIC0xkl3l88wgThrGaSaN7wngmkik1AV2L2 wWeMILaIgLLE34mrGEGKmAUWMUn8u/MBbKywQIDEmtYjYDaLgKrE/pZmZhCbV8Bd4tL3icwQ 6xQkWpcdAqvhFPCQWPjrBpgtBFTz5NolxgmMvAsYGVYxiqYWJBcUJ6XnGuoVJ+YWl+al6yXn 525iBIf5M6kdjCsbLA4xCnAwKvHwGnbnBAixJpYVV+YeYpTgYFYS4d2smBsgxJuSWFmVWpQf X1Sak1p8iNEH6KqJzFKiyfnAGMwriTc0NjE3NTa1NLEwMbPEIawkztvskRIgJJCeWJKanZpa kFoEM46Jg1OqgTG5jk806ceqBaz/JulHLc6z45FN+XFee9+lIwafXD780Nd7kbunq39fSUrP LvUrep5LlRin/NauqN88LfCM/ddJwSWMGYYuKz+XtZmwTFk156HjsofPz2c+zbteccqo8+AR sbcHpl/gOuFpkevhpsnr/Ft1z40YL0FpGWcX++fyix8crRW98FmJpTgj0VCLuag4EQDJGZQM oAIAAA== X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 04 Oct 2012 00:53:47 -0700 Cc: t.stanislaws@samsung.com, 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,