summaryrefslogtreecommitdiff
path: root/shared-core/via_drv.h
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2004-12-06 11:19:23 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2004-12-06 11:19:23 +0000
commit1fbfd9eb32220a10d66373b77172965cfeccd4f7 (patch)
treeb3d575f5a2a104b28aece230c6983e88c8d66908 /shared-core/via_drv.h
parent267e0645272720344eb7556a948e72112edbe2ec (diff)
Security and optimization fixes for the via drm:
1. The command verifier was never initialized in the non-core source tree. 2. Check added that the AGP ring buffer has been initialized before accepting command buffer. 3. Free space check in the AGP buffer is moved to after command verification, which is more optimal in most cases.
Diffstat (limited to 'shared-core/via_drv.h')
-rw-r--r--shared-core/via_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/via_drv.h b/shared-core/via_drv.h
index 13a93b78..e905a606 100644
--- a/shared-core/via_drv.h
+++ b/shared-core/via_drv.h
@@ -28,11 +28,11 @@
#define DRIVER_NAME "via"
#define DRIVER_DESC "VIA Unichrome"
-#define DRIVER_DATE "20041204"
+#define DRIVER_DATE "20041206"
#define DRIVER_MAJOR 2
#define DRIVER_MINOR 2
-#define DRIVER_PATCHLEVEL 0
+#define DRIVER_PATCHLEVEL 1
typedef struct drm_via_ring_buffer {
drm_map_t map;