summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-12-20 12:03:02 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-12-20 12:03:02 +0000
commit47c178da08c01501890e23219cbac8319992a453 (patch)
tree614bf64a050941d61eb89dbb2513f0dd95aa3fdd
parentc4c48a8a5bb27cee0592aebcc032abe7858604c8 (diff)
Copy HC_ParaType_Auto change to shared-core. Bump version numbers and
dates.
-rw-r--r--shared-core/via_drv.h4
-rw-r--r--shared-core/via_verifier.c4
-rw-r--r--shared/via.h4
3 files changed, 8 insertions, 4 deletions
diff --git a/shared-core/via_drv.h b/shared-core/via_drv.h
index 567ce05d..01d36e4b 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 "20041219"
+#define DRIVER_DATE "20041220"
#define DRIVER_MAJOR 2
#define DRIVER_MINOR 3
-#define DRIVER_PATCHLEVEL 1
+#define DRIVER_PATCHLEVEL 2
typedef struct drm_via_ring_buffer {
drm_map_t map;
diff --git a/shared-core/via_verifier.c b/shared-core/via_verifier.c
index dac09e83..b3654eed 100644
--- a/shared-core/via_verifier.c
+++ b/shared-core/via_verifier.c
@@ -548,6 +548,10 @@ via_check_header2( uint32_t const **buffer, const uint32_t *buf_end )
case (HC_ParaType_Tex | (HC_SubType_TexGeneral << 8)):
hz_table = table3;
break;
+ case HC_ParaType_Auto:
+ buf += 2;
+ *buffer = buf;
+ return state_command;
default:
/*
diff --git a/shared/via.h b/shared/via.h
index d70fdb6e..960f5e2d 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 "20041219"
+#define DRIVER_DATE "20041220"
#define DRIVER_MAJOR 2
#define DRIVER_MINOR 3
-#define DRIVER_PATCHLEVEL 1
+#define DRIVER_PATCHLEVEL 2
#define DRIVER_IOCTLS \
[DRM_IOCTL_NR(DRM_IOCTL_VIA_ALLOCMEM)] = { via_mem_alloc, 1, 0 }, \