From 1fbfd9eb32220a10d66373b77172965cfeccd4f7 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Mon, 6 Dec 2004 11:19:23 +0000 Subject: 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. --- shared/via.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared/via.h') diff --git a/shared/via.h b/shared/via.h index 423efc6b..5a5091b6 100644 --- a/shared/via.h +++ b/shared/via.h @@ -30,11 +30,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 #define DRIVER_IOCTLS \ [DRM_IOCTL_NR(DRM_IOCTL_VIA_ALLOCMEM)] = { via_mem_alloc, 1, 0 }, \ -- cgit v1.2.3