All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joonyoung Shim <jy0922.shim@samsung.com>
To: dri-devel@lists.freedesktop.org
Cc: linux-samsung-soc@vger.kernel.org, sw0312.kim@samsung.com,
	a.hajda@samsung.com, gustavo.padovan@collabora.co.uk,
	m.szyprowski@samsung.com
Subject: [PATCH v2 1/3] drm/exynos: remove to call mixer_wait_for_vblank
Date: Fri, 12 Jun 2015 17:27:14 +0900	[thread overview]
Message-ID: <1434097636-10709-1-git-send-email-jy0922.shim@samsung.com> (raw)

The reason waiting vblank is to be power gated and disabled clocks after
dma operation is completed. The dma operation is stopped already before
be power gated and clocks are disabled when mixer is disabled by commit
381be025ac1a6("drm/exynos: stop mixer before gating clocks during
poweroff"). Don't need to wait vblank anymore.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
---
 drivers/gpu/drm/exynos/exynos_mixer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
index 6bab717..f93f038 100644
--- a/drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/drivers/gpu/drm/exynos/exynos_mixer.c
@@ -1010,7 +1010,6 @@ static void mixer_window_suspend(struct mixer_context *ctx)
 		plane->resume = plane->enabled;
 		mixer_win_disable(ctx->crtc, i);
 	}
-	mixer_wait_for_vblank(ctx->crtc);
 }
 
 static void mixer_window_resume(struct mixer_context *ctx)
-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2015-06-12  8:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12  8:27 Joonyoung Shim [this message]
2015-06-12  8:27 ` [PATCH v2 2/3] drm/exynos: remove chained calls to enable Joonyoung Shim
2015-06-15 20:41   ` Gustavo Padovan
2015-06-12  8:27 ` [PATCH v2 3/3] drm/exynos: initialize VIDCON0 when fimd is disabled Joonyoung Shim
2015-06-15 20:44   ` Gustavo Padovan
2015-06-15 20:39 ` [PATCH v2 1/3] drm/exynos: remove to call mixer_wait_for_vblank Gustavo Padovan

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=1434097636-10709-1-git-send-email-jy0922.shim@samsung.com \
    --to=jy0922.shim@samsung.com \
    --cc=a.hajda@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gustavo.padovan@collabora.co.uk \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=sw0312.kim@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.