Home
last modified time | relevance | path

Searched refs:agpmem (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/
Ddrm_memory.c58 struct drm_agp_mem *agpmem; in agp_remap() local
69 list_for_each_entry(agpmem, &dev->agp->memory, head) in agp_remap()
70 if (agpmem->bound <= offset in agp_remap()
71 && (agpmem->bound + (agpmem->pages << PAGE_SHIFT)) >= in agp_remap()
74 if (&agpmem->head == &dev->agp->memory) in agp_remap()
87 phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE); in agp_remap()
Ddrm_vm.c130 struct drm_agp_mem *agpmem; in drm_do_vm_fault() local
143 list_for_each_entry(agpmem, &dev->agp->memory, head) { in drm_do_vm_fault()
144 if (agpmem->bound <= baddr && in drm_do_vm_fault()
145 agpmem->bound + agpmem->pages * PAGE_SIZE > baddr) in drm_do_vm_fault()
149 if (&agpmem->head == &dev->agp->memory) in drm_do_vm_fault()
155 offset = (baddr - agpmem->bound) >> PAGE_SHIFT; in drm_do_vm_fault()
156 page = agpmem->memory->pages[offset]; in drm_do_vm_fault()
163 agpmem->memory->pages[offset], in drm_do_vm_fault()