From patchwork Fri Jun 12 08:27:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonyoung Shim X-Patchwork-Id: 6595891 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 394E79F399 for ; Fri, 12 Jun 2015 08:27:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 624FC2066E for ; Fri, 12 Jun 2015 08:27:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 037E820663 for ; Fri, 12 Jun 2015 08:27:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751806AbbFLI1R (ORCPT ); Fri, 12 Jun 2015 04:27:17 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:46010 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbbFLI1P (ORCPT ); Fri, 12 Jun 2015 04:27:15 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NPT00GJCOT4QY10@mailout1.samsung.com> for linux-samsung-soc@vger.kernel.org; Fri, 12 Jun 2015 17:27:04 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.113]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 71.A2.29324.1E79A755; Fri, 12 Jun 2015 17:27:13 +0900 (KST) X-AuditID: cbfee68d-f79106d00000728c-9d-557a97e1b3a5 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4E.F3.25346.0E79A755; Fri, 12 Jun 2015 17:27:13 +0900 (KST) Received: from localhost.localdomain ([10.252.81.123]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NPT004G6OTC6N40@mmp2.samsung.com>; Fri, 12 Jun 2015 17:27:12 +0900 (KST) From: Joonyoung Shim To: dri-devel@lists.freedesktop.org Cc: linux-samsung-soc@vger.kernel.org, inki.dae@samsung.com, sw0312.kim@samsung.com, m.szyprowski@samsung.com, gustavo.padovan@collabora.co.uk, jy0922.shim@samsung.com, a.hajda@samsung.com Subject: [PATCH v2 1/3] drm/exynos: remove to call mixer_wait_for_vblank Date: Fri, 12 Jun 2015 17:27:14 +0900 Message-id: <1434097636-10709-1-git-send-email-jy0922.shim@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrILMWRmVeSWpSXmKPExsWyRsSkUPfh9KpQg+sPeCxurTvHanHl63s2 i0+rW9ktJt2fwGLx4t5FFosZ5/cxWaw9cpfdYsbkl2wOHB5/n19n8bjffZzJo2/LKkaPz5vk AliiuGxSUnMyy1KL9O0SuDJOfjzPWnCGvWLv+UmMDYy72boYOTgkBEwkblxi7WLkBDLFJC7c Ww8U5uIQEljKKHHx7HsmiISJxO6DX8CKhASmM0q0dGdAFP1glNjXPQWsiE1AT+LOtuNgtoiA ssTfiasYQYqYBQ4ANcz9xgKyTVjAQ2LDZheQGhYBVYmL386ChXkF3CX2dpRC7JKTOHlsMitI q4TAbzaJQ6sXMUHUC0h8m3yIBeJoWYlNB5gh6iUlDq64wTKBUXABI8MqRtHUguSC4qT0IkO9 4sTc4tK8dL3k/NxNjMCQPf3vWe8OxtsHrA8xCnAwKvHwJmhVhQqxJpYVV+YeYjQF2jCRWUo0 OR8YGXkl8YbGZkYWpiamxkbmlmZK4ryKUj+DhQTSE0tSs1NTC1KL4otKc1KLDzEycXBKNTDm s8b+jnrTkt4dPj/m6nbjF0pn2buN9s1ePDknOc784Ve+7/8n/1krldz6OVXnfLHT7O8/VWcY vmhPyBTUy52341RsdNiiGbfW180xurk/xeKW6aElqkv7T94uzY5/dLJCxlZhsbpz+a2fxr+W +J97svToOoZ9kYU9Ua7hbs0Fei0iD3Pj+WcqsRRnJBpqMRcVJwIAgeKWfFQCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeLIzCtJLcpLzFFi42I5/e+xoO7D6VWhBguusFvcWneO1eLK1/ds Fp9Wt7JbTLo/gcXixb2LLBYzzu9jslh75C67xYzJL9kcODz+Pr/O4nG/+ziTR9+WVYwenzfJ BbBENTDaZKQmpqQWKaTmJeenZOal2yp5B8c7x5uaGRjqGlpamCsp5CXmptoqufgE6Lpl5gDd oaRQlphTChQKSCwuVtK3wzQhNMRN1wKmMULXNyQIrsfIAA0krGHMOPnxPGvBGfaKvecnMTYw 7mbrYuTkkBAwkdh98AsrhC0mceHeerC4kMB0RomW7owuRi4g+wejxL7uKUwgCTYBPYk7246D 2SICyhJ/J65iBCliFjgA1DD3G0sXIweHsICHxIbNLiA1LAKqEhe/nQUL8wq4S+ztKIXYJSdx 8thk1gmM3AsYGVYxiqYWJBcUJ6XnGuoVJ+YWl+al6yXn525iBMfEM6kdjCsbLA4xCnAwKvHw PvSvChViTSwrrsw9xCjBwawkwlubCxTiTUmsrEotyo8vKs1JLT7EaAq0fCKzlGhyPjBe80ri DY1NzIwsjcwNLYyMzZXEeU/m+4QKCaQnlqRmp6YWpBbB9DFxcEo1MPJbSYmXnLYV6P44f+m3 jGUHPJr/eNxpZpzQmO9xZu2BvtoQx5xVX158XaTS7nbwp8X/GFfWGlOtVY/29VlP5fnln/63 b1LLTe+jf1wO5rxcbqVQ/cc/irmsRrjjjN8NldnhSR5nFL1Nq2ZlXTQ68NnelqNLZVn13R3C W2TnBbfNyGq7GJRwRomlOCPRUIu5qDgRAHSVti6fAgAA 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 The reason waiting vblank is to be power gated and disabled clocks after dma operation is completed. The dma operation is stopped already before be power gated and clocks are disabled when mixer is disabled by commit 381be025ac1a6("drm/exynos: stop mixer before gating clocks during poweroff"). Don't need to wait vblank anymore. Signed-off-by: Joonyoung Shim Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_mixer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 6bab717..f93f038 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1010,7 +1010,6 @@ static void mixer_window_suspend(struct mixer_context *ctx) plane->resume = plane->enabled; mixer_win_disable(ctx->crtc, i); } - mixer_wait_for_vblank(ctx->crtc); } static void mixer_window_resume(struct mixer_context *ctx)