diff options
author | Thomas Hellstrom <unichrome@shipmail.org> | 2004-10-30 13:01:48 +0000 |
---|---|---|
committer | Thomas Hellstrom <unichrome@shipmail.org> | 2004-10-30 13:01:48 +0000 |
commit | 8264e2c8aa6b2811bca0e45c50ac3328d14bfbf7 (patch) | |
tree | 10e5cf5c496a985b444718fafa8d84e7c84e8eed /shared-core/via_drv.h | |
parent | 816a2917099b3ff214dc357c5b41984f34902cf3 (diff) |
Some stabilizing work to the DMA ring-buffer code. Temporarily replaced the
rewind jump with a reinitialization. This makes the code stable on
CLE266 and KM400.
Diffstat (limited to 'shared-core/via_drv.h')
-rw-r--r-- | shared-core/via_drv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-core/via_drv.h b/shared-core/via_drv.h index 3d3f093f..9e21f5b5 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 "20041012" +#define DRIVER_DATE "20041030" #define DRIVER_MAJOR 2 #define DRIVER_MINOR 0 -#define DRIVER_PATCHLEVEL 1 +#define DRIVER_PATCHLEVEL 2 typedef struct drm_via_ring_buffer { drm_map_t map; @@ -50,7 +50,7 @@ typedef struct drm_via_private { unsigned int dma_low; unsigned int dma_high; unsigned int dma_offset; - uint32_t *last_pause_ptr; + volatile uint32_t *last_pause_ptr; volatile uint32_t *hw_addr_ptr; drm_via_ring_buffer_t ring; char pci_buf[VIA_PREALLOCATED_PCI_SIZE]; |