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 5/5] drm/exynos/decon5433: fix software trigger mask
Date: Tue, 14 Mar 2017 09:28:00 +0100	[thread overview]
Message-ID: <1489480080-25633-6-git-send-email-a.hajda@samsung.com> (raw)
In-Reply-To: <1489480080-25633-1-git-send-email-a.hajda@samsung.com>

The patch fixes copy/paste bug introduced during code refactoring.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: b93c2e8b5d9d ("drm/exynos/decon5433: configure sysreg in case of hardware trigger")Fixes:
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
index a43d0fa..c0e8d33 100644
--- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
+++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c
@@ -172,8 +172,8 @@ static void decon_setup_trigger(struct decon_context *ctx)
 		return;
 
 	if (!(ctx->out_type & I80_HW_TRG)) {
-		writel(TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN
-		       | TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN,
+		writel(TRIGCON_TRIGEN_PER_F | TRIGCON_TRIGEN_F |
+		       TRIGCON_TE_AUTO_MASK | TRIGCON_SWTRIGEN,
 		       ctx->addr + DECON_TRIGCON);
 		return;
 	}
-- 
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     ` [PATCH 4/5] drm/exynos/fimd: " Andrzej Hajda
     [not found]   ` <CGME20170314082812eucas1p2c56602a1f88814a4b0f5e4a7ee74b6ed@eucas1p2.samsung.com>
2017-03-14  8:28     ` Andrzej Hajda [this message]
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-6-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.