From 345d039b28653543d7c52af7542a44de22e14cfe Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 11 Mar 2010 00:29:21 +0000 Subject: [xburst] metronomefb: Add rotation support and some minor cleanups git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20128 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/xburst/files-2.6.32/include/video/metronomefb.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'target/linux/xburst/files-2.6.32/include/video') 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 8c7bdbec7..ea446ae85 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; }; -- cgit v1.2.3