diff options
author | Eric Hustvedt <ehustvedt@cecropia.com> | 2006-06-20 20:36:42 +0200 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-07-03 10:59:46 +0200 |
commit | 37bced38b3d09c3de7c871790eddde81a3ce57cb (patch) | |
tree | 9472bb814b65c990fe004e715e810eb0ac0fc120 /drivers/video/intelfb/intelfbhw.h | |
parent | intelfb: add vsync interrupt support (diff) | |
download | linux-37bced38b3d09c3de7c871790eddde81a3ce57cb.tar.xz linux-37bced38b3d09c3de7c871790eddde81a3ce57cb.zip |
intelfb: add vsync interrupt support
[04/05] intelfb: implement FBIO_WAITFORVSYNC ioctl
The (unofficial) FBIO_WAITFORVSYNC ioctl is implemented by sleeping on the appropriate waitqueue, as defined in my earlier patch. Currently, only display 0 (aka pipe A) is supported.
Signed-off-by: Eric Hustvedt <ehustvedt@cecropia.com>
Diffstat (limited to 'drivers/video/intelfb/intelfbhw.h')
-rw-r--r-- | drivers/video/intelfb/intelfbhw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfbhw.h b/drivers/video/intelfb/intelfbhw.h index aa0c139a2301..36980c785e13 100644 --- a/drivers/video/intelfb/intelfbhw.h +++ b/drivers/video/intelfb/intelfbhw.h @@ -563,5 +563,6 @@ extern void intelfbhw_cursor_load(struct intelfb_info *dinfo, int width, extern void intelfbhw_cursor_reset(struct intelfb_info *dinfo); extern int intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable); extern void intelfbhw_disable_irq(struct intelfb_info *dinfo); +extern int intelfbhw_wait_for_vsync(struct intelfb_info *dinfo, u32 pipe); #endif /* _INTELFBHW_H */ |