From 47c178da08c01501890e23219cbac8319992a453 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 20 Dec 2004 12:03:02 +0000 Subject: [PATCH] Copy HC_ParaType_Auto change to shared-core. Bump version numbers and dates. --- shared-core/via_drv.h | 4 ++-- shared-core/via_verifier.c | 4 ++++ shared/via.h | 4 ++-- 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 }, \