<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/22 Joonyoung Shim <span dir="ltr"><<a href="mailto:jy0922.shim@samsung.com" target="_blank">jy0922.shim@samsung.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><div class="h5"><br>
<br>
On 05/22/2013 01:04 PM, Inki Dae wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Rob Clark <<a href="mailto:rob@ti.com" target="_blank">rob@ti.com</a>><br>
<br>
Rebased.<br>
<br>
Signed-off-by: Rob Clark <<a href="mailto:rob@ti.com" target="_blank">rob@ti.com</a>><br>
Signed-off-by: Inki Dae <<a href="mailto:inki.dae@samsung.com" target="_blank">inki.dae@samsung.com</a>><br>
---<br>
  drivers/gpu/drm/exynos/exynos_<u></u>drm_crtc.c |   10 ++--------<br>
  1 files changed, 2 insertions(+), 8 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/exynos/<u></u>exynos_drm_crtc.c b/drivers/gpu/drm/exynos/<u></u>exynos_drm_crtc.c<br>
index e8894bc..1e7825a 100644<br>
--- a/drivers/gpu/drm/exynos/<u></u>exynos_drm_crtc.c<br>
+++ b/drivers/gpu/drm/exynos/<u></u>exynos_drm_crtc.c<br>
@@ -398,7 +398,6 @@ void exynos_drm_crtc_finish_<u></u>pageflip(struct drm_device *dev, int crtc)<br>
  {<br>
        struct exynos_drm_private *dev_priv = dev->dev_private;<br>
        struct drm_pending_vblank_event *e, *t;<br>
-       struct timeval now;<br>
        unsigned long flags;<br>
        DRM_DEBUG_KMS("%s\n", __FILE__);<br>
@@ -411,14 +410,9 @@ void exynos_drm_crtc_finish_<u></u>pageflip(struct drm_device *dev, int crtc)<br>
                if (crtc != e->pipe)<br>
                        continue;<br>
  -             do_gettimeofday(&now);<br>
-               e->event.sequence = 0;<br>
-               e->event.tv_sec = now.tv_sec;<br>
-               e->event.tv_usec = now.tv_usec;<br>
-<br>
-               list_move_tail(&e->base.link, &e->base.file_priv->event_<u></u>list);<br>
-               wake_up_interruptible(&e-><u></u>base.file_priv->event_wait);<br>
                drm_vblank_put(dev, crtc);<br>
+               list_del(&e->base.link);<br>
+               drm_send_vblank_event(dev, -1, e);<br>
</blockquote>
<br></div></div>
I think it's better to add above things before drm_vblank_put is called<br>
in comparison with prior codes.<br>
<br></blockquote><div><br></div><div>Good point. :) Will resend it.<br><br></div><div>Thanks,<br></div><div>Inki Dae <br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thanks.<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
dri-devel mailing list<br>
<a href="mailto:dri-devel@lists.freedesktop.org" target="_blank">dri-devel@lists.freedesktop.<u></u>org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/dri-devel</a><br>
</div></div></blockquote></div><br></div></div>