diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2005-01-05 13:45:09 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2005-01-05 13:45:09 +0000 |
commit | e3fe80a60f36fad8f12220ba435bfecc8685c264 (patch) | |
tree | d0180e3feb39a6e9987cd63f65b53f96965aff3c /src/mesa/drivers/dri/unichrome/via_ioctl.c | |
parent | 9a8a9fb01fa5beeb843415277b48b086b099aa97 (diff) | |
download | external_mesa3d-e3fe80a60f36fad8f12220ba435bfecc8685c264.zip external_mesa3d-e3fe80a60f36fad8f12220ba435bfecc8685c264.tar.gz external_mesa3d-e3fe80a60f36fad8f12220ba435bfecc8685c264.tar.bz2 |
Bring VIA driver up-to-date with regard to drm_*_t changes and remove
the xf86drmVIA.[ch] files.
Bring in the IRQ handler and Ring buffer code, but ring buffer is disabled
as it is with the Xserver. It certainly locks up the CLE266.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_ioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_ioctl.c b/src/mesa/drivers/dri/unichrome/via_ioctl.c index 15f3991..579e300 100644 --- a/src/mesa/drivers/dri/unichrome/via_ioctl.c +++ b/src/mesa/drivers/dri/unichrome/via_ioctl.c @@ -424,14 +424,14 @@ void viaPageFlip(const __DRIdrawablePrivate *dPriv) static int fire_buffer(viaContextPtr vmesa) { - drmVIACommandBuffer bufI; + drm_via_cmdbuffer_t bufI; int ret; bufI.buf = (char *)vmesa->dma; bufI.size = vmesa->dmaLow; if (vmesa->useAgp) { - drmVIACmdBufSize bSiz; + drm_via_cmdbuf_size_t bSiz; /* Do the CMDBUF_SIZE ioctl: */ @@ -448,7 +448,7 @@ static int fire_buffer(viaContextPtr vmesa) return ret; } - /* Acutally fire the buffer: + /* Actually fire the buffer: */ do { ret = drmCommandWrite(vmesa->driFd, DRM_VIA_CMDBUFFER, |