git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
viafb: improve pitch handling
[pandora-kernel.git]
/
drivers
/
video
/
via
/
via_modesetting.h
diff --git
a/drivers/video/via/via_modesetting.h
b/drivers/video/via/via_modesetting.h
index
ae35cfd
..
0138845
100644
(file)
--- a/
drivers/video/via/via_modesetting.h
+++ b/
drivers/video/via/via_modesetting.h
@@
-28,6
+28,11
@@
#include <linux/types.h>
+
+#define VIA_PITCH_SIZE (1<<3)
+#define VIA_PITCH_MAX 0x3FF8
+
+
void via_set_primary_address(u32 addr);
void via_set_secondary_address(u32 addr);
void via_set_primary_pitch(u32 pitch);