Message ID | 1396537864-29291-7-git-send-email-rahul.sharma@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 46E5C9F96D for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 3 Apr 2014 15:52:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FD7820272 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 3 Apr 2014 15:52:28 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9FECD20260 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 3 Apr 2014 15:52:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AA60B6E45E; Thu, 3 Apr 2014 08:52:15 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by gabe.freedesktop.org (Postfix) with ESMTP id 8DA8F6E46E for <dri-devel@lists.freedesktop.org>; Thu, 3 Apr 2014 08:12:17 -0700 (PDT) Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3G00GJ2NKG5JC0@mailout2.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 04 Apr 2014 00:12:16 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 81.9B.09028.05A7D335; Fri, 04 Apr 2014 00:12:16 +0900 (KST) X-AuditID: cbfee68e-b7f566d000002344-64-533d7a50a9cc Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 29.B2.29263.05A7D335; Fri, 04 Apr 2014 00:12:16 +0900 (KST) Received: from localhost.localdomain ([107.108.83.245]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3G00IVZNJBV460@mmp2.samsung.com>; Fri, 04 Apr 2014 00:12:16 +0900 (KST) From: Rahul Sharma <rahul.sharma@samsung.com> To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 6/7] drm/exynos: Read hpd gpio in is_connected callback Date: Thu, 03 Apr 2014 20:41:03 +0530 Message-id: <1396537864-29291-7-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1396537864-29291-1-git-send-email-rahul.sharma@samsung.com> References: <1396537864-29291-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKLMWRmVeSWpSXmKPExsWyRsSkVjegyjbY4PETE4srX9+zWUy6P4HF 4vuuL+wWM87vY7JY+CLeYsqiw6wWdzecZXRg95jdcJHFY+esu+we97uPM3n0bVnF6PF5k1wA axSXTUpqTmZZapG+XQJXxvUb+1kL+jkqPq65ytLA+J6ti5GTQ0LAROLvqh+sELaYxIV764Hi XBxCAksZJXY1f2aCKTpy7ScjRGI6o8SW5begqtqZJHp6t7CDVLEJ6ErMPviMEcQWEXCTaDo8 kxWkiFmgj1Gi/+JnsISwgLvEqe27mbsYOThYBFQlzm/kAAnzCnhItL2dygoSlhBQkJgzyQYk zCngKfHl8yewTiGgkp/7DrGDjJQQmMcusffPYmaQBIuAgMS3yYdYIHplJTYdYIY4WlLi4Iob LBMYhRcwMqxiFE0tSC4oTkovMtIrTswtLs1L10vOz93ECAzy0/+e9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FHggueikpT3pp46Hn3Sh3f+O7Zir2wCX5Jp7/9DCWvuSHj8 f7H0w8vjbDH3ArLPdiY8fm4a/+rTd3bFUw3tC0rZI15rebIpsRRnJBpqMRcVJwIA1Wf0s+UC AAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 03 Apr 2014 08:52:03 -0700 Cc: joshi@samsung.com, Rahul Sharma <rahul.sharma@samsung.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <http://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <http://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index b2cbf43..fce2f7b 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1031,6 +1031,8 @@ static enum drm_connector_status hdmi_detect(struct drm_connector *connector, { struct hdmi_context *hdata = ctx_from_connector(connector); + hdata->hpd = gpio_get_value(hdata->hpd_gpio); + return hdata->hpd ? connector_status_connected : connector_status_disconnected; }