Home | History | Annotate | Download | only in src

Lines Matching refs:agp

297  * AGP mode.  It the card is PCI, \c MGARec::agpSize should be forced to 0.
344 pMGADRIServer->agp.size = dma_bs.agp_size;
361 "[agp] Cannot force PCI DMA because %s\n", msg );
365 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] AGP not available\n" );
376 "[agp] Mode 0x%08lx [AGP 0x%04x/0x%04x; Card 0x%04x/0x%04x]\n",
382 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] AGP not enabled\n" );
391 "[drm] Enabling AGP 2x PLL encoding\n" );
398 "[drm] Disabling AGP 2x PLL encoding\n" );
405 pMGADRIServer->agp.size = pMga->agpSize * 1024 * 1024;
422 pMGADRIServer->agpTextures.size = (pMGADRIServer->agp.size -
425 ret = drmAgpAlloc( pMga->drmFD, pMGADRIServer->agp.size,
426 0, NULL, &pMGADRIServer->agp.handle );
428 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] Out of memory (%d)\n", ret );
433 "[agp] %d kB allocated with handle 0x%08x\n",
434 pMGADRIServer->agp.size/1024,
435 (unsigned int) pMGADRIServer->agp.handle );
437 if ( drmAgpBind( pMga->drmFD, pMGADRIServer->agp.handle, 0 ) < 0 ) {
438 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] Could not bind memory\n" );
439 drmAgpFree( pMga->drmFD, pMGADRIServer->agp.handle );
452 "[agp] Could not add WARP microcode mapping\n" );
456 "[agp] WARP microcode handle = 0x%08x\n",
467 "[agp] Could not add primary DMA mapping\n" );
471 "[agp] Primary DMA handle = 0x%08x\n",
482 "[agp] Could not add DMA buffers mapping\n" );
486 "[agp] DMA buffers handle = 0x%08x\n",
513 "[agp] Could not add agpTexture mapping\n" );
518 "[agp] agpTexture handle = 0x%08x\n",
521 "[agp] agpTexture size: %d kb\n", pMGADRIServer->agpTextures.size/1024 );
1252 if ( pMGADRIServer->agp.handle != DRM_AGP_NO_HANDLE ) {
1253 drmAgpUnbind( pMga->drmFD, pMGADRIServer->agp.handle );
1254 drmAgpFree( pMga->drmFD, pMGADRIServer->agp.handle );
1255 pMGADRIServer->agp.handle = DRM_AGP_NO_HANDLE;