All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrzej Hajda <a.hajda@samsung.com>
To: Inki Dae <inki.dae@samsung.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	dri-devel@lists.freedesktop.org,
	linux-samsung-soc@vger.kernel.org,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Javier Martinez Canillas <javier@osg.samsung.com>
Subject: [PATCH 4/5] drm/exynos/fimd: signal frame done interrupt at front porch
Date: Tue, 14 Mar 2017 09:27:59 +0100	[thread overview]
Message-ID: <1489480080-25633-5-git-send-email-a.hajda@samsung.com> (raw)
In-Reply-To: <1489480080-25633-1-git-send-email-a.hajda@samsung.com>

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(-)

diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index a3162a4..3f04d72 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -243,7 +243,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;
 		}
-- 
2.7.4

  parent reply	other threads:[~2017-03-14  8:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170314082810eucas1p1d35344332eca5f780db4c6d5c983827a@eucas1p1.samsung.com>
2017-03-14  8:27 ` [PATCH 0/5] drm/exynos: rework vblank handling - fixes Andrzej Hajda
     [not found]   ` <CGME20170314082810eucas1p12ba172d02317c2d95c2eeba01d8c9733@eucas1p1.samsung.com>
2017-03-14  8:27     ` [PATCH 1/5] drm/exynos: move crtc event handling to drivers callbacks Andrzej Hajda
     [not found]   ` <CGME20170314082811eucas1p108416d2ab30335f6644cec5d43c0b847@eucas1p1.samsung.com>
2017-03-14  8:27     ` [PATCH 2/5] drm/exynos/decon5433: fix vblank event handling Andrzej Hajda
     [not found]   ` <CGME20170314082811eucas1p1094922f9c35cf3ceeefa7d52d3a7259b@eucas1p1.samsung.com>
2017-03-14  8:27     ` [PATCH 3/5] drm/exynos/decon5433: signal frame done interrupt at front porch Andrzej Hajda
     [not found]   ` <CGME20170314082811eucas1p1c5d00e38d863a54d8fb2585ffde8fa7b@eucas1p1.samsung.com>
2017-03-14  8:27     ` Andrzej Hajda [this message]
     [not found]   ` <CGME20170314082812eucas1p2c56602a1f88814a4b0f5e4a7ee74b6ed@eucas1p2.samsung.com>
2017-03-14  8:28     ` [PATCH 5/5] drm/exynos/decon5433: fix software trigger mask Andrzej Hajda
2017-03-15  4:50   ` [PATCH 0/5] drm/exynos: rework vblank handling - fixes Inki Dae

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489480080-25633-5-git-send-email-a.hajda@samsung.com \
    --to=a.hajda@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=inki.dae@samsung.com \
    --cc=javier@osg.samsung.com \
    --cc=krzk@kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.