Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345519
b: refs/heads/master
c: 9fb7dff
h: refs/heads/master
i:
  345517: 036bf27
  345515: 394d42f
  345511: ca8a3a9
  345503: 9e59b0f
v: v3
  • Loading branch information
Imre Deak authored and Inki Dae committed Nov 29, 2012
1 parent 0f53de5 commit 6761381
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e1f48ee58a90ddf84f514334b5d395a358596492
refs/heads/master: 9fb7dff5ec238c8f71ef9b06256957a0db585c04
12 changes: 0 additions & 12 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_fimd.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,6 @@ static void fimd_finish_pageflip(struct drm_device *drm_dev, int crtc)
struct drm_pending_vblank_event *e, *t;
struct timeval now;
unsigned long flags;
bool is_checked = false;

spin_lock_irqsave(&drm_dev->event_lock, flags);

Expand All @@ -633,8 +632,6 @@ static void fimd_finish_pageflip(struct drm_device *drm_dev, int crtc)
if (crtc != e->pipe)
continue;

is_checked = true;

do_gettimeofday(&now);
e->event.sequence = 0;
e->event.tv_sec = now.tv_sec;
Expand All @@ -645,15 +642,6 @@ static void fimd_finish_pageflip(struct drm_device *drm_dev, int crtc)
drm_vblank_put(drm_dev, crtc);
}

if (is_checked) {
/*
* don't off vblank if vblank_disable_allowed is 1,
* because vblank would be off by timer handler.
*/
if (!drm_dev->vblank_disable_allowed)
drm_vblank_off(drm_dev, crtc);
}

spin_unlock_irqrestore(&drm_dev->event_lock, flags);
}

Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_vidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ static void vidi_finish_pageflip(struct drm_device *drm_dev, int crtc)
struct drm_pending_vblank_event *e, *t;
struct timeval now;
unsigned long flags;
bool is_checked = false;

spin_lock_irqsave(&drm_dev->event_lock, flags);

Expand All @@ -392,8 +391,6 @@ static void vidi_finish_pageflip(struct drm_device *drm_dev, int crtc)
if (crtc != e->pipe)
continue;

is_checked = true;

do_gettimeofday(&now);
e->event.sequence = 0;
e->event.tv_sec = now.tv_sec;
Expand All @@ -404,15 +401,6 @@ static void vidi_finish_pageflip(struct drm_device *drm_dev, int crtc)
drm_vblank_put(drm_dev, crtc);
}

if (is_checked) {
/*
* don't off vblank if vblank_disable_allowed is 1,
* because vblank would be off by timer handler.
*/
if (!drm_dev->vblank_disable_allowed)
drm_vblank_off(drm_dev, crtc);
}

spin_unlock_irqrestore(&drm_dev->event_lock, flags);
}

Expand Down

0 comments on commit 6761381

Please sign in to comment.