summaryrefslogtreecommitdiff
path: root/src/via_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/via_memory.c')
-rw-r--r--src/via_memory.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/via_memory.c b/src/via_memory.c
index 7dd5db0..a342f22 100644
--- a/src/via_memory.c
+++ b/src/via_memory.c
@@ -289,6 +289,12 @@ ViaMemFBAlloc(ScrnInfoPtr pScrn, unsigned long size, CARD8 alignment)
* DRM.
*
*/
+/* First some workarounds for the badly trackable drm changes.
+ * Plainly using VIDEO as a macro is a pretty bad initial choice
+ * though */
+#ifndef VIDEO
+#define VIDEO VIA_MEM_VIDEO
+#endif
/*
*