summaryrefslogtreecommitdiff
path: root/target/linux/xburst/files-2.6.32/include/video/metronomefb.h
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-11 00:29:21 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-11 00:29:21 +0000
commit345d039b28653543d7c52af7542a44de22e14cfe (patch)
treeaf300cd01fc3d6e6c694138a3a57389c5ad48851 /target/linux/xburst/files-2.6.32/include/video/metronomefb.h
parentc44117cefd0e09f8d84e4a1f8172c3dfa7d0b81f (diff)
[xburst] metronomefb: Add rotation support and some minor cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20128 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/files-2.6.32/include/video/metronomefb.h')
-rw-r--r--target/linux/xburst/files-2.6.32/include/video/metronomefb.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/xburst/files-2.6.32/include/video/metronomefb.h b/target/linux/xburst/files-2.6.32/include/video/metronomefb.h
index 8c7bdbec70..ea446ae85c 100644
--- a/target/linux/xburst/files-2.6.32/include/video/metronomefb.h
+++ b/target/linux/xburst/files-2.6.32/include/video/metronomefb.h
@@ -17,7 +17,9 @@ struct metromem_cmd {
u16 opcode;
u16 args[((64-2)/2)];
u16 csum;
-} __attribute__(packed);
+} __attribute__((packed));
+
+struct epd_frame;
/* struct used by metronome. board specific stuff comes from *board */
struct metronomefb_par {
@@ -38,9 +40,13 @@ struct metronomefb_par {
int current_wf_temp;
unsigned int manual_refresh_threshold;
unsigned int partial_autorefresh_interval;
- int dt;
+ const struct epd_frame *epd_frame;
u32 *fxbuckets;
u32 *fybuckets;
+
+ unsigned int partial_updates_count;
+ unsigned is_first_update:1;
+
struct mutex lock;
};