aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/intelfb/intelfb.h
diff options
context:
space:
mode:
authorEric Hustvedt <ehustvedt@cecropia.com>2006-06-20 14:36:42 -0400
committerDave Airlie <airlied@linux.ie>2006-07-03 18:59:47 +1000
commitf80d0d23f2010b7682e06449345e8199a2b2619c (patch)
tree4562504d7d10a87a9da62bdb0098850fd1fb13c9 /drivers/video/intelfb/intelfb.h
parent37bced38b3d09c3de7c871790eddde81a3ce57cb (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h
index 65ac37071a0..abd4c5632e3 100644
--- a/drivers/video/intelfb/intelfb.h
+++ b/drivers/video/intelfb/intelfb.h
@@ -211,6 +211,8 @@ struct intelfb_heap_data {
struct intelfb_vsync {
wait_queue_head_t wait;
unsigned int count;
+ int pan_display;
+ u32 pan_offset;
};
struct intelfb_info {