diff options
author | Eric Hustvedt <ehustvedt@cecropia.com> | 2006-06-20 14:36:42 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-07-03 04:59:47 -0400 |
commit | f80d0d23f2010b7682e06449345e8199a2b2619c (patch) | |
tree | 4562504d7d10a87a9da62bdb0098850fd1fb13c9 /drivers/video/intelfb/intelfb.h | |
parent | 37bced38b3d09c3de7c871790eddde81a3ce57cb (diff) |
intelfb: add vsync interrupt support
[05/05] intelfb: Honor FB_ACTIVATE_VBL for display panning
Extends the intelfb_vsync struct to store panning offset. The interrupt service routine uses the stored panning offset if a pan is requested for the vsync. intelfbhw_disable_irq also pans the display if there is a pending request.
Signed-off-by: Eric Hustvedt <ehustvedt@cecropia.com>
Diffstat (limited to 'drivers/video/intelfb/intelfb.h')
-rw-r--r-- | drivers/video/intelfb/intelfb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h index 65ac37071a02..abd4c5632e38 100644 --- a/drivers/video/intelfb/intelfb.h +++ b/drivers/video/intelfb/intelfb.h | |||
@@ -211,6 +211,8 @@ struct intelfb_heap_data { | |||
211 | struct intelfb_vsync { | 211 | struct intelfb_vsync { |
212 | wait_queue_head_t wait; | 212 | wait_queue_head_t wait; |
213 | unsigned int count; | 213 | unsigned int count; |
214 | int pan_display; | ||
215 | u32 pan_offset; | ||
214 | }; | 216 | }; |
215 | 217 | ||
216 | struct intelfb_info { | 218 | struct intelfb_info { |