summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/via_modesetting.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/via/via_modesetting.h')
-rw-r--r--drivers/video/via/via_modesetting.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/via/via_modesetting.h b/drivers/video/via/via_modesetting.h
index ae35cfdeb37..013884543e9 100644
--- 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);