diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-11 00:29:21 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-11 00:29:21 +0000 |
commit | 26ce4b5601221940d775658834fca1371f09e1d7 (patch) | |
tree | af300cd01fc3d6e6c694138a3a57389c5ad48851 /target/linux/xburst/files-2.6.32/include | |
parent | f67465a4cd7fe80c868cb7ddcada461a8952a8a8 (diff) | |
download | upstream-26ce4b5601221940d775658834fca1371f09e1d7.tar.gz upstream-26ce4b5601221940d775658834fca1371f09e1d7.tar.bz2 upstream-26ce4b5601221940d775658834fca1371f09e1d7.zip |
[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')
-rw-r--r-- | target/linux/xburst/files-2.6.32/include/video/metronomefb.h | 10 |
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; }; |