diff options
author | Felix Kuehling <[email protected]> | 2005-02-05 22:10:14 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2005-02-05 22:10:14 +0000 |
commit | 66b48d6df6a586be57a9e442410b1ec90d58019e (patch) | |
tree | 8e8091cd563af76fc24450dee1fba9b64a33ffa3 /src/mesa | |
parent | 5bdf2bc6c707f0a815cc46fb0bab7e2a209110a3 (diff) |
Disable vertex DMA on SuperSavages.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/savage/savage_xmesa.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c b/src/mesa/drivers/dri/savage/savage_xmesa.c index 38f679aee37..3c0fae76473 100644 --- a/src/mesa/drivers/dri/savage/savage_xmesa.c +++ b/src/mesa/drivers/dri/savage/savage_xmesa.c @@ -480,18 +480,28 @@ savageCreateContext( const __GLcontextModes *mesaVis, */ _tnl_destroy_pipeline( ctx ); _tnl_install_pipeline( ctx, savage_pipeline ); + + imesa->enable_fastpath = driQueryOptionb(&imesa->optionCache, + "enable_fastpath"); /* DRM versions before 2.1.3 would only render triangle lists. ELTS * support was added in 2.2.0. */ - if (sPriv->drmMinor < 2) { - imesa->enable_fastpath = GL_FALSE; + if (imesa->enable_fastpath && sPriv->drmMinor < 2) { fprintf (stderr, "*** Disabling fast path because your DRM version is buggy " "or doesn't\n*** support ELTS. You need at least Savage DRM " "version 2.2.\n"); - } else - imesa->enable_fastpath = driQueryOptionb(&imesa->optionCache, - "enable_fastpath"); + imesa->enable_fastpath = GL_FALSE; + } + imesa->enable_vdma = driQueryOptionb(&imesa->optionCache, "enable_vdma"); + if (imesa->enable_vdma && savageScreen->chipset == S3_SUPERSAVAGE) { + fprintf (stderr, + "*** Disabling vertex DMA on SuperSavage. Someone has to " + "find out, how to make\n*** it work without locking up. " + "To disable this message set option enable_vdma\n" + "*** to \"false\" in DRIConf.\n"); + imesa->enable_vdma = GL_FALSE; + } /* Configure swrast to match hardware characteristics: */ |