Lines Matching refs:agp
280 if (!dev->agp) {
288 * added the AGP base itself, because dev->agp->base previously
289 * only got set during AGP enable. So, only add the base
294 if (map->offset < dev->agp->base ||
295 map->offset > dev->agp->base +
296 dev->agp->agp_info.aki_info.ai_aperture_size - 1) {
297 map->offset += dev->agp->base;
300 if (map->offset < dev->agp->base ||
301 map->offset > dev->agp->base +
302 dev->agp->agp_info.aper_size * 1024 * 1024 - 1) {
303 map->offset += dev->agp->base;
306 map->mtrr = dev->agp->agp_mtrr; /* for getmap */
308 /* This assumes the DRM is in total control of AGP space.
309 * It's not always the case as AGP can be in the control
311 * skipped and we double check that dev->agp->memory is
314 list_for_each_entry(entry, &dev->agp->memory, head) {
321 if (!list_empty(&dev->agp->memory) && !valid) {
325 DRM_DEBUG("AGP offset = 0x%08llx, size = 0x%08lx\n",
759 * Add AGP buffers for DMA transfers.
801 agp_offset = dev->agp->base + request->agp_start;
814 /* Make sure buffers are located in AGP memory that we own */
816 list_for_each_entry(agp_entry, &dev->agp->memory, head) {
823 if (!list_empty(&dev->agp->memory) && !valid) {
1305 * addbufs_sg() or addbufs_pci() for AGP, scatter-gather or consistent
1541 * Maps the AGP, SG or PCI buffer region with vm_mmap(), and copies information
1575 if ((dev->agp && (dma->flags & _DRM_DMA_USE_AGP))