Message ID | 1488283383-4335-3-git-send-email-a.hajda@samsung.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-samsung-soc-owner@kernel.org> 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 32FC6601D7 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Tue, 28 Feb 2017 12:03:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 231CD2811E for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Tue, 28 Feb 2017 12:03:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17B90284FE; Tue, 28 Feb 2017 12:03:54 +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 A00012811E for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Tue, 28 Feb 2017 12:03:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbdB1MDw (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Tue, 28 Feb 2017 07:03:52 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:8491 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637AbdB1MDs (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Tue, 28 Feb 2017 07:03:48 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OM300IRQ2TAX730@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 28 Feb 2017 12:03:11 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170228120310eucas1p15bb66aeb3e1662f51d2afaf6854060f0~ncdvCkdHg1799617996eucas1p1y; Tue, 28 Feb 2017 12:03:10 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id AA.1C.28517.EF665B85; Tue, 28 Feb 2017 12:03:10 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170228120309eucas1p18087a872c992d4e5be507e408c785fbb~ncduZsUB10246302463eucas1p1c; Tue, 28 Feb 2017 12:03:09 +0000 (GMT) X-AuditID: cbfec7f4-f79716d000006f65-ae-58b566fe7d09 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 99.88.06687.85765B85; Tue, 28 Feb 2017 12:04:40 +0000 (GMT) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OM300K1H2T5Q9B0@eusync2.samsung.com>; Tue, 28 Feb 2017 12:03:09 +0000 (GMT) From: Andrzej Hajda <a.hajda@samsung.com> To: Inki Dae <inki.dae@samsung.com>, dri-devel@lists.freedesktop.org Cc: Andrzej Hajda <a.hajda@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Marek Szyprowski <m.szyprowski@samsung.com>, linux-samsung-soc@vger.kernel.org Subject: [PATCH 3/3] drm/exynos/fimd: signal frame done interrupt at front porch Date: Tue, 28 Feb 2017 13:03:03 +0100 Message-id: <1488283383-4335-3-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1488283383-4335-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFIsWRmVeSWpSXmKPExsWy7djP87r/0rZGGHz7KGhxa905VouNM9az Wlz5+p7NYtL9CSwWM87vY7JYe+QuuwObx/3u40wefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lTHn/1umgm1sFXcuH2VpYNzC2sXIySEhYCLxbs5hZghbTOLCvfVsXYxcHEICSxkl1h6+wAiS EBL4zChx7LwsTMOGPX3sEEXLGCVer5wK1fGfUaLn+R6wsWwCmhJ/N99kA7FFBFwkvs9YzAxS xCywEaho1jKwImGBIIkja+aDFbEIqEqcun4N7A5eASeJD6v/MkGsk5O4ea4TKM7BwSngLLF3 EQdE+D6bxOEPDiBhCQFZiU0HoD5wkThz4wqULSzx6vgWdghbRqKz4yATyAkSAt2MEp/6T7BD OFMYJf59mAHVYS1x+PhFsNuYBfgkJm2bzgyxgFeio00IosRDYsLERWwQtqPE2a2ToSExjVGi e2Uf2wRGmQWMDKsYRVJLi3PTU4tN9IoTc4tL89L1kvNzNzECY/T0v+NfdjAuPmZ1iFGAg1GJ h9fCeEuEEGtiWXFl7iFGCQ5mJRHejvCtEUK8KYmVValF+fFFpTmpxYcYpTlYlMR59yy4Ei4k kJ5YkpqdmlqQWgSTZeLglGpgVJTxuh07Pf/Ohd+v03lsY+bXyq/36vy/z0KekS31d4h38rfw 7sJP3pNdnMym7Z++2Y+5nKlUnKeWT0BrtwhjJes857kGAsp765bWWW8TyVL/Gvt83a0XwXET fnzZWLh7Ss9Zyc5mW36RFSvuZTxm4DeR3/62Ruujx51OEcMXB/4vOaPFN+m+EktxRqKhFnNR cSIAhu91Us0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsVy+t/xK7oR6VsjDFY/YLG4te4cq8XGGetZ La58fc9mMen+BBaLGef3MVmsPXKX3YHN4373cSaPvi2rGD0+b5ILYI5ys8lITUxJLVJIzUvO T8nMS7dVCg1x07VQUshLzE21VYrQ9Q0JUlIoS8wpBfKMDNCAg3OAe7CSvl2CW8ac/2+ZCrax Vdy5fJSlgXELaxcjJ4eEgInEhj197BC2mMSFe+vZuhi5OIQEljBKfL23iA0kISTQyCTx6K0M iM0moCnxd/NNsLiIgIvE9xmLmUEamAU2Mkoc+/gWbJKwQIDEktVnmUBsFgFViVPXrzGD2LwC ThIfVv9lgtgmJ3HzXCdQnIODU8BZYu8iDohdThLdRy8zTWDkXcDIsIpRJLW0ODc9t9hQrzgx t7g0L10vOT93EyMwWLcd+7l5B+OljcGHGAU4GJV4eC2Mt0QIsSaWFVfmHmKU4GBWEuHtCN8a IcSbklhZlVqUH19UmpNafIjRFOimicxSosn5wEjKK4k3NDE0tzQ0MrawMDcyUhLnLflwJVxI ID2xJDU7NbUgtQimj4mDU6qBka1p4dxPSqwMTzf3HmUriTPu+cIYK6xhlFKptM6tb5ny0WpX 0yqFu1/C1aNrEu8/XBg6n+v4HKbbM86mXTCK383on3D8/q/klNyzrcuTt+YIbHoSds0gVm3V 8Rk3qq9xRq8ozizMFKius70p9DrluujjS7fObbz/q6/gwM4pXhWCrdUl2eePKbEUZyQaajEX FScCAK19ZTBsAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170228120309eucas1p18087a872c992d4e5be507e408c785fbb X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 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: 20170228120309eucas1p18087a872c992d4e5be507e408c785fbb X-RootMTR: 20170228120309eucas1p18087a872c992d4e5be507e408c785fbb References: <1488283383-4335-1-git-send-email-a.hajda@samsung.com> <CGME20170228120309eucas1p18087a872c992d4e5be507e408c785fbb@eucas1p1.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 638c775..0b74e57 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -256,7 +256,7 @@ static int fimd_enable_vblank(struct exynos_drm_crtc *crtc) val |= VIDINTCON0_INT_FRAME; val &= ~VIDINTCON0_FRAMESEL0_MASK; - val |= VIDINTCON0_FRAMESEL0_VSYNC; + val |= VIDINTCON0_FRAMESEL0_FRONTPORCH; val &= ~VIDINTCON0_FRAMESEL1_MASK; val |= VIDINTCON0_FRAMESEL1_NONE; }
VBLANK interrupt should be signalled as soon as scanout ends, front porch is the best moment. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)