diff options
author | Eric Hustvedt <ehustvedt@cecropia.com> | 2006-06-20 14:36:41 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-07-03 04:59:46 -0400 |
commit | 9a5f019b1a9ea6a75ba36d7c312ff069006ed479 (patch) | |
tree | 03fb6003c48a7d8bd0df2bc40678f8bc601015f1 /drivers/video/intelfb/intelfb.h | |
parent | 3ce6fb4358bce6aced489f798138795163ad3f7c (diff) |
intelfb: add vsync interrupt support
[02/05] intelfb: Add interrupt related register definitions
Add constants for accessing HWSTAM, IER, IIR, and IMR registers.
Add constants for interrupt types supported by the 8xx and 9xx chipsets.
The registers are also stored in the hwstate struct and dumped in the debug routine.
Signed-off-by: Eric Hustvedt <ehustvedt@cecropia.com>
Diffstat (limited to 'drivers/video/intelfb/intelfb.h')
-rw-r--r-- | drivers/video/intelfb/intelfb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h index e290d7460e1b..cb016fe4d488 100644 --- a/drivers/video/intelfb/intelfb.h +++ b/drivers/video/intelfb/intelfb.h | |||
@@ -195,6 +195,10 @@ struct intelfb_hwstate { | |||
195 | u32 mem_mode; | 195 | u32 mem_mode; |
196 | u32 fw_blc_0; | 196 | u32 fw_blc_0; |
197 | u32 fw_blc_1; | 197 | u32 fw_blc_1; |
198 | u16 hwstam; | ||
199 | u16 ier; | ||
200 | u16 iir; | ||
201 | u16 imr; | ||
198 | }; | 202 | }; |
199 | 203 | ||
200 | struct intelfb_heap_data { | 204 | struct intelfb_heap_data { |