Lines Matching refs:agp

223 	       "[agp] Mode 0x%08lx [AGP 0x%04x/0x%04x; Card 0x%04x/0x%04x]\n",
229 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] AGP not enabled\n" );
248 pSAVAGEDRIServer->agp.size = psav->agpSize * 1024 * 1024;
249 pSAVAGEDRIServer->agp.offset = pSAVAGEDRIServer->agp.size; /* ? */
252 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] AGP not available\n" );
257 pSAVAGEDRIServer->agp.handle = 0; /* indicate that AGP init failed */
261 ret = drmAgpAlloc( psav->drmFD, pSAVAGEDRIServer->agp.size,
262 0, NULL, &pSAVAGEDRIServer->agp.handle );
264 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] Out of memory (%d)\n", ret );
266 pSAVAGEDRIServer->agp.handle = 0; /* indicate that AGP init failed */
270 "[agp] %d kB allocated with handle 0x%08lx\n",
271 pSAVAGEDRIServer->agp.size/1024,
272 (unsigned long)pSAVAGEDRIServer->agp.handle );
274 if ( drmAgpBind( psav->drmFD, pSAVAGEDRIServer->agp.handle, 0 ) < 0 ) {
275 xf86DrvMsg( pScreen->myNum, X_ERROR, "[agp] Could not bind memory\n" );
276 drmAgpFree( psav->drmFD, pSAVAGEDRIServer->agp.handle );
278 pSAVAGEDRIServer->agp.handle = 0; /* indicate that AGP init failed */
285 * pSAVAGEDRIServer->agp.handle can be used to distinguish these
315 pSAVAGEDRIServer->agpTextures.size = (pSAVAGEDRIServer->agp.size - offset);
327 "[agp] Could not add command DMA mapping\n" );
331 "[agp] command DMA handle = 0x%08lx\n",
339 "[agp] Could not map command DMA\n" );
343 "[agp] command DMA mapped at 0x%08lx\n",
353 "[agp] Could not add DMA buffers mapping\n" );
357 "[agp] DMA buffers handle = 0x%08lx\n",
365 "[agp] Could not map DMA buffers\n" );
369 "[agp] DMA buffers mapped at 0x%08lx\n",
384 "[agp] Could not add agpXVideo, will use framebuffer upload (slower) \n" );
389 "[agp] agpXVideo handle = 0x%08lx\n",
402 "[agp] Could not add agpTextures \n" );
407 "[agp] agpTextures handle = 0x%08lx\n",
416 "[agp] Could not map agpTextures \n" );
421 "[agp] agpTextures mapped at 0x%08lx\n",
825 if (pSAVAGEDRIServer->agp.handle != 0) {
834 "[agp] AGP failed to initialize -- falling back to PCI mode.\n");
836 "[agp] Make sure you have the agpgart kernel module loaded.\n");
999 xf86DrvMsg( pScrn->scrnIndex, X_INFO, "[junkers] agp:handle:0x%08lx\n",(unsigned long)pSAVAGEDRIServer->agp.handle);
1000 xf86DrvMsg( pScrn->scrnIndex, X_INFO, "[junkers] agp:offset:0x%08x\n",pSAVAGEDRIServer->agp.offset);
1001 xf86DrvMsg( pScrn->scrnIndex, X_INFO, "[junkers] agp:size:0x%08x\n",pSAVAGEDRIServer->agp.size);
1002 xf86DrvMsg( pScrn->scrnIndex, X_INFO, "[junkers] agp:map:0x%08lx\n",(unsigned long)pSAVAGEDRIServer->agp.map);
1140 if ( pSAVAGEDRIServer->agp.handle ) {
1141 drmAgpUnbind( psav->drmFD, pSAVAGEDRIServer->agp.handle );
1142 drmAgpFree( psav->drmFD, pSAVAGEDRIServer->agp.handle );
1143 pSAVAGEDRIServer->agp.handle = 0;