Lines Matching refs:agp
202 * the (non-AGP) command queue, located
316 /* AGP */
330 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to acquire AGP, AGP disabled\n");
337 /* Default to 1X agp mode in SIS315 */
348 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to enable AGP, AGP disabled\n");
352 xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] AGP enabled\n");
359 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to allocate %dMB AGP memory\n",
369 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to allocate %dMB AGP memory, AGP disabled\n",
384 xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Allocated %dMB AGP memory\n",
389 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to bind AGP memory\n");
399 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to re-allocate AGP memory, AGP disabled\n");
405 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to bind AGP memory again, AGP disabled\n");
421 xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Bound %dMB AGP memory\n",
428 pSISDRI->agp.size = pSIS->agpSize;
429 if(drmAddMap(pSIS->drmSubFD, (drm_handle_t)0, pSISDRI->agp.size, DRM_AGP, 0, &pSISDRI->agp.handle) < 0) {
430 xf86DrvMsg(pScreen->myNum, X_ERROR, "[drm] Failed to map public AGP area, AGP disabled\n");
434 pSIS->agpSize = pSISDRI->agp.size = 0;
453 drm_sis_agp_t agp;
455 agp.offset = AGP_VTXBUF_SIZE;
456 agp.size = pSIS->agpSize - AGP_VTXBUF_SIZE;
457 drmCommandWrite(pSIS->drmSubFD, DRM_SIS_AGP_INIT, &agp, sizeof(agp));
476 drm_sis_agp_t agp;
478 agp.offset = AGP_CMDBUF_SIZE;
479 agp.size = pSIS->agpSize - AGP_CMDBUF_SIZE;
480 drmCommandWrite(pSIS->drmSubFD, DRM_SIS_AGP_INIT, &agp, sizeof(agp));
636 xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Freeing AGP memory\n");
639 xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] Releasing AGP module\n");