diff options
author | Alan Hourihane <[email protected]> | 2005-01-05 13:45:09 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2005-01-05 13:45:09 +0000 |
commit | e3fe80a60f36fad8f12220ba435bfecc8685c264 (patch) | |
tree | d0180e3feb39a6e9987cd63f65b53f96965aff3c /src/mesa/drivers/dri/unichrome/via_fb.c | |
parent | 9a8a9fb01fa5beeb843415277b48b086b099aa97 (diff) |
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_fb.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_fb.c b/src/mesa/drivers/dri/unichrome/via_fb.c index 39d43e72784..122d3b17cc7 100644 --- a/src/mesa/drivers/dri/unichrome/via_fb.c +++ b/src/mesa/drivers/dri/unichrome/via_fb.c @@ -66,7 +66,7 @@ via_free_draw_buffer(viaContextPtr vmesa, viaBuffer *buf) GLboolean via_alloc_dma_buffer(viaContextPtr vmesa) { - drmVIADMAInit init; + drm_via_dma_init_t init; if (VIA_DEBUG) fprintf(stderr, "%s - in\n", __FUNCTION__); vmesa->dma = (GLubyte *) malloc(VIA_DMA_BUFSIZ); @@ -76,7 +76,7 @@ via_alloc_dma_buffer(viaContextPtr vmesa) */ init.func = VIA_DMA_INITIALIZED; vmesa->useAgp = - ( 0 == drmCommandWrite(vmesa->driFd, DRM_VIA_DMA_INIT, + ( 0 == drmCommandWrite(vmesa->driFd, VIA_INIT_DMA, &init, sizeof(init))); if (vmesa->useAgp) printf("unichrome_dri.so: Using AGP.\n"); |