aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/intelfb/intelfbhw.h
diff options
context:
space:
mode:
authorEric Hustvedt <ehustvedt@cecropia.com>2006-06-20 14:36:41 -0400
committerDave Airlie <airlied@linux.ie>2006-07-03 04:59:46 -0400
commit7649757bd900bc900adcd95ab08903cdc28342fa (patch)
tree4c710d9e458ff3c6731180aca738123886f7adec /drivers/video/intelfb/intelfbhw.h
parent9a5f019b1a9ea6a75ba36d7c312ff069006ed479 (diff)
intelfb: add vsync interrupt support
[03/05] intelfb: Implement basic interrupt handling Functions have been added to enable and disable interrupts using the MMIO registers. Currently only pipe A vsync interrupts are enabled. A generalized vsync accounting struct is defined, with the intent that it can encapsulate per-pipe vsync related info in the future. Currently a single instance is hard-coded. The interrupt service routine currently only looks for vsync interrupts on pipe A, and increments a counter and wakes up anyone waiting on it. This implementation is heavily influenced by similar implementations in the atyfb and matroxfb drivers. Signed-off-by: Eric Hustvedt <ehustvedt@cecropia.com>
Diffstat (limited to 'drivers/video/intelfb/intelfbhw.h')
-rw-r--r--drivers/video/intelfb/intelfbhw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfbhw.h b/drivers/video/intelfb/intelfbhw.h
index 8d2e36972fc8..aa0c139a2301 100644
--- a/drivers/video/intelfb/intelfbhw.h
+++ b/drivers/video/intelfb/intelfbhw.h
@@ -561,5 +561,7 @@ extern void intelfbhw_cursor_setcolor(struct intelfb_info *dinfo, u32 bg,
561extern void intelfbhw_cursor_load(struct intelfb_info *dinfo, int width, 561extern void intelfbhw_cursor_load(struct intelfb_info *dinfo, int width,
562 int height, u8 *data); 562 int height, u8 *data);
563extern void intelfbhw_cursor_reset(struct intelfb_info *dinfo); 563extern void intelfbhw_cursor_reset(struct intelfb_info *dinfo);
564extern int intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable);
565extern void intelfbhw_disable_irq(struct intelfb_info *dinfo);
564 566
565#endif /* _INTELFBHW_H */ 567#endif /* _INTELFBHW_H */