Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345517
b: refs/heads/master
c: 8547332
h: refs/heads/master
i:
  345515: 394d42f
v: v3
  • Loading branch information
Imre Deak authored and Inki Dae committed Nov 29, 2012
1 parent 81b29b6 commit 036bf27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fdd66e06ce71cdcdb515ef355d4f2fc90e151503
refs/heads/master: 85473328bac6170aabb5e13d2542d11d1fc4cc76
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,16 +236,21 @@ static int exynos_drm_crtc_page_flip(struct drm_crtc *crtc,
goto out;
}

spin_lock_irq(&dev->event_lock);
list_add_tail(&event->base.link,
&dev_priv->pageflip_event_list);
spin_unlock_irq(&dev->event_lock);

crtc->fb = fb;
ret = exynos_drm_crtc_mode_set_base(crtc, crtc->x, crtc->y,
NULL);
if (ret) {
crtc->fb = old_fb;

spin_lock_irq(&dev->event_lock);
drm_vblank_put(dev, exynos_crtc->pipe);
list_del(&event->base.link);
spin_unlock_irq(&dev->event_lock);

goto out;
}
Expand Down

0 comments on commit 036bf27

Please sign in to comment.