Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289240
b: refs/heads/master
c: 7411f9c
h: refs/heads/master
v: v3
  • Loading branch information
Rob Clark authored and Greg Kroah-Hartman committed Mar 13, 2012
1 parent 72fa322 commit 3c6eaf2
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 72d0c3363e88d1816b0fef3687ff58e6553a7889
refs/heads/master: 7411f9cfe67f5dd54333d2fe7e2a677c42666f99
10 changes: 10 additions & 0 deletions trunk/drivers/staging/omapdrm/omap_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,19 @@ static void vblank_cb(void *arg)

/* wakeup userspace */
if (event) {
do_gettimeofday(&now);

spin_lock_irqsave(&dev->event_lock, flags);
/* TODO: we can't yet use the vblank time accounting,
* because omapdss lower layer is the one that knows
* the irq # and registers the handler, which more or
* less defeats how drm_irq works.. for now just fake
* the sequence number and use gettimeofday..
*
event->event.sequence = drm_vblank_count_and_time(
dev, omap_crtc->id, &now);
*/
event->event.sequence = sequence++;
event->event.tv_sec = now.tv_sec;
event->event.tv_usec = now.tv_usec;
list_add_tail(&event->base.link,
Expand Down

0 comments on commit 3c6eaf2

Please sign in to comment.