From patchwork Wed Apr 5 07:28:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 9663127 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E6E660364 for ; Wed, 5 Apr 2017 07:28:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1011A284D5 for ; Wed, 5 Apr 2017 07:28:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0523B28535; Wed, 5 Apr 2017 07:28:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4E5A284D5 for ; Wed, 5 Apr 2017 07:28:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753274AbdDEH2v (ORCPT ); Wed, 5 Apr 2017 03:28:51 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:22733 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753462AbdDEH2s (ORCPT ); Wed, 5 Apr 2017 03:28:48 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ONX00EY4E3X2510@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 05 Apr 2017 08:28:45 +0100 (BST) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170405072845eucas1p20c30b61d1d1c0fa2923e833bdd52bf8c~yb8aYCDdm2841928419eucas1p2d; Wed, 5 Apr 2017 07:28:45 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3.samsung.com (EUCPMTA) with SMTP id D6.A3.17464.CAC94E85; Wed, 5 Apr 2017 08:28:44 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170405072844eucas1p28b2de9bbc54b86a3787aa0f108ed975c~yb8ZhWzB52377523775eucas1p24; Wed, 5 Apr 2017 07:28:44 +0000 (GMT) X-AuditID: cbfec7f2-f797e6d000004438-46-58e49cac111b Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 2C.DF.20206.0CC94E85; Wed, 5 Apr 2017 08:29:04 +0100 (BST) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ONX000HIE3TW560@eusync3.samsung.com>; Wed, 05 Apr 2017 08:28:44 +0100 (BST) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 7/9] drm/exynos/decon5433: kill BIT_WIN_UPDATED flag Date: Wed, 05 Apr 2017 09:28:35 +0200 Message-id: <1491377317-8042-8-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1491377317-8042-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsWy7djP87pr5jyJMFjz1NTi1rpzrBYbZ6xn tbjy9T2bxaT7E1gsZpzfx2Sx9shddgc2j/vdx5k8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ZYtW+dnaQImaBK4wS7d+6wEYJC7hI3J94nxXEZhFQlWidPg+sgVfASeLX mocsEOvkJG6e6wQbyingLHFmx2WwGiGgmtbG1ywTGHkXMDKsYhRJLS3OTc8tNtIrTswtLs1L 10vOz93ECAzYbcd+btnB2PUu+BCjAAejEg9vxbTHEUKsiWXFlbmHGCU4mJVEeH9MfxIhxJuS WFmVWpQfX1Sak1p8iNEU6KiJzFKiyfnAaMoriTc0MTS3NDQytrAwNzJSEued+uFKuJBAemJJ anZqakFqEUwfEwenVANjz46TPd9Oc7aYcX7bWBVrmTXxf8KESd/MD5g7zK3h2/HH4l62yPag E3u8nkuV7fs569/mqAU/XqT94U1knh53NOKK2v28hlLpwPDJL9dP3DRTanVn+pTpMnMWSU4+ EZ32oX3vSb7AW6ocVjYHGZfYuqn8ur0gS9Ro/0MNCf/as8c/hretf7ZjlxJLcUaioRZzUXEi ANm0qTtuAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170405072844eucas1p28b2de9bbc54b86a3787aa0f108ed975c X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRvsgrw=?= =?UTF-8?B?7ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QW5kcnplaiBIYWpkYRtTUlBPTC1LZXJuZWwgKFRQKRtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170405072844eucas1p28b2de9bbc54b86a3787aa0f108ed975c X-RootMTR: 20170405072844eucas1p28b2de9bbc54b86a3787aa0f108ed975c References: <1491377317-8042-1-git-send-email-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The flag was used to trigger software update in TE IRQ handler only if framebuffers were replaced. Since TE update is triggered always when VBLANKs are enabled and after framebuffer replacement VBLANKs are always enabled the flag becomes redundant. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index 2629a59..b81c12b 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -48,7 +48,6 @@ static const char * const decon_clks_name[] = { }; enum decon_flag_bits { - BIT_WIN_UPDATED, BIT_SUSPENDED }; @@ -428,9 +427,6 @@ static void decon_atomic_flush(struct exynos_drm_crtc *crtc) decon_set_bits(ctx, DECON_UPDATE, STANDALONE_UPDATE_F, ~0); - if (ctx->out_type & IFTYPE_I80) - set_bit(BIT_WIN_UPDATED, &ctx->flags); - ctx->frame_id = decon_get_frame_count(ctx, true); exynos_crtc_handle_event(crtc);