From patchwork Thu Apr 3 15:10:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 3932891 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B7DB3C0DA2 for ; Thu, 3 Apr 2014 15:12:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBF58201F9 for ; Thu, 3 Apr 2014 15:12:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0AB6C20272 for ; Thu, 3 Apr 2014 15:12:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752543AbaDCPMR (ORCPT ); Thu, 3 Apr 2014 11:12:17 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:37028 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752283AbaDCPMM (ORCPT ); Thu, 3 Apr 2014 11:12:12 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3G00E0CNKAHPD0@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Fri, 04 Apr 2014 00:12:10 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 66.C4.10364.A4A7D335; Fri, 04 Apr 2014 00:12:10 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-5c-533d7a4a4ad9 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 87.A2.29263.A4A7D335; Fri, 04 Apr 2014 00:12:10 +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:10 +0900 (KST) From: Rahul Sharma To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: inki.dae@samsung.com, r.sh.open@gmail.com, joshi@samsung.com, Sean Paul , Rahul Sharma Subject: [PATCH 1/7] drm/exynos: Don't reset hdmiphy on hdmi off Date: Thu, 03 Apr 2014 20:40:58 +0530 Message-id: <1396537864-29291-2-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+NgFvrKLMWRmVeSWpSXmKPExsWyRsSkVteryjbY4EmLiMWVr+/ZLCbdn8Bi 8X3XF3aLGef3MVksfBFvMWXRYVaLuxvOMjqwe8xuuMjisXPWXXaP+93HmTz6tqxi9Pi8SS6A NYrLJiU1J7MstUjfLoEr4/iJ+ywFjzkqNvU2MTYwrmHvYuTkkBAwkfiw/h8jhC0mceHeejYQ W0hgKaNE08NqmJqeHVOYuhi5gOLTGSUW7dzODuG0M0l8+HsYrINNQFdi9sFnYJNEBNwkmg7P ZAUpYhboY5Tov/gZLCEs4CDRdHkKmM0ioCrxb/tNsDN4BTwk+tf0AMU5gNYpSMyZZAMS5hTw lPjy+RMjxEUeEj/3HQJbLCEwj11i4+IrLBBzBCS+TT7EAtErK7HpADPE1ZISB1fcYJnAKLyA kWEVo2hqQXJBcVJ6kYlecWJucWleul5yfu4mRmCQn/73bMIOxnsHrA8xJgONm8gsJZqcD4yS vJJ4Q2MzIwtTE1NjI3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KDSx0cn10j4lluKMREMt5qLiRAC5e8nw5gIA AA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Sean Paul This patch removes the hdmiphy reset in hdmi_poweroff. The hdmiphy reset was added to take advantage of exynos clockgating, doing it would gate the entire TV domain. Unfortunately, mixer is included in the TV domain and its vsync interrupts are stopped when TV is gated. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index f3189af..79f98ac 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -2056,11 +2056,6 @@ static void hdmi_poweroff(struct exynos_drm_display *display) goto out; mutex_unlock(&hdata->hdmi_mutex); - /* - * The TV power domain needs any condition of hdmiphy to turn off and - * its reset state seems to meet the condition. - */ - hdmiphy_conf_reset(hdata); hdmiphy_poweroff(hdata); clk_disable_unprepare(res->sclk_hdmi);