Home | History | Annotate | Download | only in mga

Lines Matching refs:agp

401 	 * same PCI ID as the AGP G450, but have an additional PCI-to-PCI
411 && dev->agp) {
414 arch_phys_wc_del(dev->agp->agp_mtrr);
415 kfree(dev->agp);
416 dev->agp = NULL;
444 * Bootstrap the driver for AGP DMA.
448 * AGP memory. If not, the microcode may as well always be put in PCI
453 * in the hardware. Looking just at the Linux AGP driver code, I don't see
475 /* Acquire AGP. */
478 DRM_ERROR("Unable to acquire AGP: %d\n", err);
484 DRM_ERROR("Unable to get AGP info: %d\n", err);
491 DRM_ERROR("Unable to enable AGP (mode = 0x%lx)\n", mode.mode);
495 /* In addition to the usual AGP mode configuration, the G200 AGP cards
496 * need to have the AGP mode "manually" set.
506 /* Allocate and bind AGP memory. */
512 DRM_ERROR("Unable to allocate %uMB AGP memory\n",
524 DRM_ERROR("Unable to bind AGP memory: %d\n", err);
588 DRM_ERROR("Unable to map AGP texture region %d\n", err);
598 DRM_ERROR("failed to ioremap agp regions! (%p, %p, %p)\n",
607 DRM_INFO("Initialized card for AGP DMA.\n");
724 const int is_agp = (dma_bs->agp_mode != 0) && dev->agp;
731 /* The first steps are the same for both PCI and AGP based DMA. Map
751 * AGP cards. AGP cards just allocate a large block of AGP memory and
753 * is returned to user-mode to be used for AGP textures.
758 /* If we attempted to initialize the card for AGP DMA but failed,
766 * but we also try to initialized AGP cards that could not be
767 * initialized for AGP DMA. This covers the case where we have an AGP
768 * card in a system with an unsupported AGP chipset. In that case the
769 * card will be detected as AGP, but we won't be able to allocate any
770 * AGP memory, etc.
831 /* FIXME: Need to support AGP textures...
889 DRM_ERROR("failed to ioremap agp regions!\n");
989 if ((dev->agp != NULL) && dev->agp->acquired)