Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345504
b: refs/heads/master
c: 45a066e
h: refs/heads/master
v: v3
  • Loading branch information
Rob Clark authored and Daniel Vetter committed Nov 21, 2012
1 parent 9e59b0f commit 99b7546
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 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: b5c621584ba57e6112864dcd79b71020c9525f6a
refs/heads/master: 45a066eba491683beb2d65a19e625b50129dca44
15 changes: 2 additions & 13 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -6921,8 +6921,6 @@ static void do_intel_finish_page_flip(struct drm_device *dev,
struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
struct intel_unpin_work *work;
struct drm_i915_gem_object *obj;
struct drm_pending_vblank_event *e;
struct timeval tvbl;
unsigned long flags;

/* Ignore early vblank irqs */
Expand All @@ -6938,17 +6936,8 @@ static void do_intel_finish_page_flip(struct drm_device *dev,

intel_crtc->unpin_work = NULL;

if (work->event) {
e = work->event;
e->event.sequence = drm_vblank_count_and_time(dev, intel_crtc->pipe, &tvbl);

e->event.tv_sec = tvbl.tv_sec;
e->event.tv_usec = tvbl.tv_usec;

list_add_tail(&e->base.link,
&e->base.file_priv->event_list);
wake_up_interruptible(&e->base.file_priv->event_wait);
}
if (work->event)
drm_send_vblank_event(dev, intel_crtc->pipe, work->event);

drm_vblank_put(dev, intel_crtc->pipe);

Expand Down

0 comments on commit 99b7546

Please sign in to comment.