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
Subject: [PATCH 7/9] drm/exynos/decon5433: kill BIT_WIN_UPDATED flag
Date: Wed, 05 Apr 2017 09:28:35 +0200	[thread overview]
Message-ID: <1491377317-8042-8-git-send-email-a.hajda@samsung.com> (raw)
In-Reply-To: <1491377317-8042-1-git-send-email-a.hajda@samsung.com>

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 <a.hajda@samsung.com>
---
 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);
-- 
2.7.4

  parent reply	other threads:[~2017-04-05  7:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170405072841eucas1p1c207e7d096c8f750f65a8fce2aae149e@eucas1p1.samsung.com>
2017-04-05  7:28 ` [PATCH 0/9] drm/exynos/decon5433: move TE handling to DECON Andrzej Hajda
     [not found]   ` <CGME20170405072842eucas1p131cf311f5f6c368547e7fa5190193492@eucas1p1.samsung.com>
2017-04-05  7:28     ` [PATCH 1/9] drm/exynos/decon5433: always do sw-trigger when vblanks enabled Andrzej Hajda
     [not found]   ` <CGME20170405072842eucas1p2b7cc4f68637cd1c1da4d64ce774194d5@eucas1p2.samsung.com>
2017-04-05  7:28     ` [PATCH 2/9] dt-bindings: exynos5433-decon: fix interrupts bindings Andrzej Hajda
     [not found]   ` <CGME20170405072843eucas1p19b843464a7b579be7bb4df4118f693d7@eucas1p1.samsung.com>
2017-04-05  7:28     ` [PATCH 3/9] dt-bindings: exynos5433-decon: add TE interrupt binding Andrzej Hajda
     [not found]   ` <CGME20170405072843eucas1p11a2b4418812541e0a11e93e36cfba202@eucas1p1.samsung.com>
2017-04-05  7:28     ` [PATCH 4/9] drm/exynos/decon5433: move TE handling to DECON Andrzej Hajda
     [not found]   ` <CGME20170405072843eucas1p1303d7f8b3fbb9339ff258121b503e7ed@eucas1p1.samsung.com>
2017-04-05  7:28     ` [PATCH 5/9] drm/exynos/decon5433: kill BIT_IRQS_ENABLED flag Andrzej Hajda
2017-04-13  8:33       ` Inki Dae
2017-04-13  9:10         ` Andrzej Hajda
     [not found]   ` <CGME20170405072843eucas1p19e426556ce611b8c28715dd648478458@eucas1p1.samsung.com>
2017-04-05  7:28     ` [PATCH 6/9] drm/exynos/decon5433: kill BIT_CLKS_ENABLED flag Andrzej Hajda
     [not found]   ` <CGME20170405072844eucas1p28b2de9bbc54b86a3787aa0f108ed975c@eucas1p2.samsung.com>
2017-04-05  7:28     ` Andrzej Hajda [this message]
     [not found]   ` <CGME20170405072845eucas1p2d8c7305eddf3cb92869e3449e9511ce4@eucas1p2.samsung.com>
2017-04-05  7:28     ` [PATCH 8/9] drm/exynos/decon5433: kill BIT_SUSPENDED flag Andrzej Hajda
     [not found]   ` <CGME20170405072844eucas1p1a4860ee4998efbc47580cae8a13235dd@eucas1p1.samsung.com>
2017-04-05  7:28     ` [PATCH 9/9] drm/exynos/decon5433: remove useless check Andrzej Hajda

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=1491377317-8042-8-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=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.