gtt 69 drivers/char/agp/intel-gtt.c u32 __iomem *gtt; /* I915G */ gtt 333 drivers/char/agp/intel-gtt.c writel_relaxed(addr | pte_flags, intel_private.gtt + entry); gtt 562 drivers/char/agp/intel-gtt.c iounmap(intel_private.gtt); gtt 629 drivers/char/agp/intel-gtt.c intel_private.gtt = NULL; gtt 631 drivers/char/agp/intel-gtt.c intel_private.gtt = ioremap_wc(intel_private.gtt_phys_addr, gtt 633 drivers/char/agp/intel-gtt.c if (intel_private.gtt == NULL) gtt 634 drivers/char/agp/intel-gtt.c intel_private.gtt = ioremap(intel_private.gtt_phys_addr, gtt 636 drivers/char/agp/intel-gtt.c if (intel_private.gtt == NULL) { gtt 741 drivers/char/agp/intel-gtt.c writel_relaxed(addr | pte_flags, intel_private.gtt + entry); gtt 849 drivers/char/agp/intel-gtt.c readl(intel_private.gtt + pg); gtt 875 drivers/char/agp/intel-gtt.c readl(intel_private.gtt + j - 1); gtt 1126 drivers/char/agp/intel-gtt.c writel_relaxed(addr | pte_flags, intel_private.gtt + entry); gtt 615 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.gtt.total_heap_size = adev->mman.bdev.man[TTM_PL_TT].size; gtt 616 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.gtt.total_heap_size *= PAGE_SIZE; gtt 617 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.gtt.usable_heap_size = mem.gtt.total_heap_size - gtt 619 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.gtt.heap_usage = gtt 621 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c mem.gtt.max_allocation = mem.gtt.usable_heap_size * 3 / 4; gtt 791 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 793 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c unsigned long start = gtt->userptr; gtt 845 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (unlikely((gtt->userflags & AMDGPU_GEM_USERPTR_ANONONLY) && gtt 868 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->range = range; gtt 893 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 896 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (!gtt || !gtt->userptr) gtt 900 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->userptr, ttm->num_pages); gtt 902 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c WARN_ONCE(!gtt->range || !gtt->range->pfns, gtt 905 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->range) { gtt 906 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = hmm_range_valid(gtt->range); gtt 907 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c hmm_range_unregister(gtt->range); gtt 909 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c kvfree(gtt->range->pfns); gtt 910 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c kfree(gtt->range); gtt 911 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->range = NULL; gtt 941 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 945 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); gtt 964 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->ttm.dma_address, ttm->num_pages); gtt 979 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 981 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); gtt 995 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->range && gtt 996 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm->pages[0] == hmm_device_entry_to_page(gtt->range, gtt 997 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->range->pfns[0])) gtt 1008 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1014 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_gart_bind(adev, gtt->offset, page_idx, gtt 1015 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm->pages, gtt->ttm.dma_address, flags); gtt 1024 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset + (page_idx << PAGE_SHIFT), gtt 1027 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c &(gtt->ttm.dma_address[page_idx]), flags); gtt 1029 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_gart_bind(adev, gtt->offset, ttm->num_pages, gtt 1030 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm->pages, gtt->ttm.dma_address, flags); gtt 1036 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm->num_pages, gtt->offset); gtt 1051 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void*)ttm; gtt 1055 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->userptr) { gtt 1073 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset = AMDGPU_BO_INVALID_OFFSET; gtt 1081 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; gtt 1082 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_gart_bind(adev, gtt->offset, ttm->num_pages, gtt 1083 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm->pages, gtt->ttm.dma_address, flags); gtt 1087 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm->num_pages, gtt->offset); gtt 1098 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void*)bo->ttm; gtt 1133 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset = (u64)tmp.start << PAGE_SHIFT; gtt 1180 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1184 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->userptr) gtt 1187 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->offset == AMDGPU_BO_INVALID_OFFSET) gtt 1191 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = amdgpu_gart_unbind(adev, gtt->offset, ttm->num_pages); gtt 1194 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->ttm.ttm.num_pages, gtt->offset); gtt 1200 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1202 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->usertask) gtt 1203 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c put_task_struct(gtt->usertask); gtt 1205 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_dma_tt_fini(>t->ttm); gtt 1206 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c kfree(gtt); gtt 1226 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt; gtt 1230 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt = kzalloc(sizeof(struct amdgpu_ttm_tt), GFP_KERNEL); gtt 1231 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt == NULL) { gtt 1234 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->ttm.ttm.func = &amdgpu_backend_func; gtt 1237 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (ttm_sg_tt_init(>t->ttm, bo, page_flags)) { gtt 1238 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c kfree(gtt); gtt 1241 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return >t->ttm.ttm; gtt 1254 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1258 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt && gtt->userptr) { gtt 1270 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->ttm.dma_address, gtt 1278 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return ttm_dma_populate(>t->ttm, adev->dev, ctx); gtt 1284 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return ttm_populate_and_map_pages(adev->dev, >t->ttm, ctx); gtt 1296 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1299 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt && gtt->userptr) { gtt 1313 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_dma_unpopulate(>t->ttm, adev->dev); gtt 1319 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_unmap_and_unpopulate_pages(adev->dev, >t->ttm); gtt 1336 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1338 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt == NULL) gtt 1341 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->userptr = addr; gtt 1342 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->userflags = flags; gtt 1344 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->usertask) gtt 1345 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c put_task_struct(gtt->usertask); gtt 1346 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->usertask = current->group_leader; gtt 1347 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c get_task_struct(gtt->usertask); gtt 1357 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1359 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt == NULL) gtt 1362 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->usertask == NULL) gtt 1365 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return gtt->usertask->mm; gtt 1376 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1379 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt == NULL || !gtt->userptr) gtt 1385 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c size = (unsigned long)gtt->ttm.ttm.num_pages * PAGE_SIZE; gtt 1386 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt->userptr > end || gtt->userptr + size <= start) gtt 1397 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1399 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt == NULL || !gtt->userptr) gtt 1410 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)ttm; gtt 1412 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (gtt == NULL) gtt 1415 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return !!(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); gtt 1903 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_ttm_tt *gtt = (void *)bo->ttm; gtt 1942 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c dma_address = >t->ttm.dma_address[offset >> PAGE_SHIFT]; gtt 59 drivers/gpu/drm/gma500/accel_2d.c PSB_WSGX32(dev_priv->gtt.gatt_start, PSB_CR_BIF_TWOD_REQ_BASE); gtt 83 drivers/gpu/drm/gma500/framebuffer.c struct gtt_range *gtt = to_gtt_range(psbfb->base.obj[0]); gtt 90 drivers/gpu/drm/gma500/framebuffer.c if (gtt->npage) { gtt 94 drivers/gpu/drm/gma500/framebuffer.c psb_gtt_roll(dev, gtt, var->yoffset * pages); gtt 105 drivers/gpu/drm/gma500/framebuffer.c struct gtt_range *gtt = to_gtt_range(psbfb->base.obj[0]); gtt 112 drivers/gpu/drm/gma500/framebuffer.c gtt->offset; gtt 409 drivers/gpu/drm/gma500/framebuffer.c if (dev_priv->gtt.stolen_size) { gtt 411 drivers/gpu/drm/gma500/framebuffer.c info->apertures->ranges[0].size = dev_priv->gtt.stolen_size; gtt 23 drivers/gpu/drm/gma500/gem.c struct gtt_range *gtt = container_of(obj, struct gtt_range, gem); gtt 30 drivers/gpu/drm/gma500/gem.c psb_gtt_free_range(obj->dev, gtt); gtt 57 drivers/gpu/drm/gma500/gma_display.c struct gtt_range *gtt; gtt 73 drivers/gpu/drm/gma500/gma_display.c gtt = to_gtt_range(fb->obj[0]); gtt 77 drivers/gpu/drm/gma500/gma_display.c ret = psb_gtt_pin(gtt); gtt 80 drivers/gpu/drm/gma500/gma_display.c start = gtt->offset; gtt 240 drivers/gpu/drm/gma500/gtt.c u32 gpu_base = dev_priv->gtt.gatt_start; gtt 278 drivers/gpu/drm/gma500/gtt.c u32 gpu_base = dev_priv->gtt.gatt_start; gtt 336 drivers/gpu/drm/gma500/gtt.c end = r->start + dev_priv->gtt.stolen_size - 1; gtt 339 drivers/gpu/drm/gma500/gtt.c start = r->start + dev_priv->gtt.stolen_size; gtt 385 drivers/gpu/drm/gma500/gtt.c init_rwsem(&dev_priv->gtt.sem); gtt 424 drivers/gpu/drm/gma500/gtt.c pg = &dev_priv->gtt; gtt 110 drivers/gpu/drm/gma500/psb_drv.c struct psb_gtt *pg = &dev_priv->gtt; gtt 168 drivers/gpu/drm/gma500/psb_drv.c struct psb_gtt *pg = &dev_priv->gtt; gtt 229 drivers/gpu/drm/gma500/psb_drv.c pg = &dev_priv->gtt; gtt 439 drivers/gpu/drm/gma500/psb_drv.h struct psb_gtt gtt; gtt 190 drivers/gpu/drm/i915/gem/i915_gem_object_types.h unsigned int gtt; gtt 344 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (!HAS_PAGE_SIZES(i915, vma->page_sizes.gtt)) { gtt 346 drivers/gpu/drm/i915/gem/selftests/huge_pages.c vma->page_sizes.gtt & ~supported, supported); gtt 362 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (obj->mm.page_sizes.gtt) { gtt 364 drivers/gpu/drm/i915/gem/selftests/huge_pages.c obj->mm.page_sizes.gtt); gtt 510 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (vma->page_sizes.gtt != page_size) { gtt 512 drivers/gpu/drm/i915/gem/selftests/huge_pages.c vma->page_sizes.gtt, page_size); gtt 543 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (vma->page_sizes.gtt != I915_GTT_PAGE_SIZE_4K) { gtt 545 drivers/gpu/drm/i915/gem/selftests/huge_pages.c vma->page_sizes.gtt, I915_GTT_PAGE_SIZE_4K); gtt 695 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (vma->page_sizes.gtt != expected_gtt) { gtt 697 drivers/gpu/drm/i915/gem/selftests/huge_pages.c vma->page_sizes.gtt, expected_gtt, gtt 726 drivers/gpu/drm/i915/gem/selftests/huge_pages.c unsigned int gtt; gtt 732 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_64K, gtt 737 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_4K, gtt 742 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_4K, gtt 747 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_64K, gtt 752 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_4K, gtt 757 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_64K | I915_GTT_PAGE_SIZE_4K, gtt 762 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_64K, gtt 767 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_64K, gtt 774 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_4K, gtt 779 drivers/gpu/drm/i915/gem/selftests/huge_pages.c .gtt = I915_GTT_PAGE_SIZE_4K, gtt 797 drivers/gpu/drm/i915/gem/selftests/huge_pages.c unsigned int expected_gtt = objects[i].gtt; gtt 851 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (vma->page_sizes.gtt != expected_gtt) { gtt 853 drivers/gpu/drm/i915/gem/selftests/huge_pages.c vma->page_sizes.gtt, expected_gtt, i, gtt 1370 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (vma->page_sizes.gtt != page_size) { gtt 1381 drivers/gpu/drm/i915/gem/selftests/huge_pages.c vma->page_sizes.gtt, page_size); gtt 1743 drivers/gpu/drm/i915/gvt/cmd_parser.c s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; gtt 1826 drivers/gpu/drm/i915/gvt/cmd_parser.c s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; gtt 2890 drivers/gpu/drm/i915/gvt/cmd_parser.c ret = copy_gma_to_hva(vgpu, vgpu->gtt.ggtt_mm, gtt 2901 drivers/gpu/drm/i915/gvt/cmd_parser.c ret = copy_gma_to_hva(vgpu, vgpu->gtt.ggtt_mm, gma_head, gma_tail, gtt 2964 drivers/gpu/drm/i915/gvt/cmd_parser.c workload->vgpu->gtt.ggtt_mm, gtt 163 drivers/gpu/drm/i915/gvt/execlist.c hwsp_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, gtt 251 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); gtt 374 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); gtt 478 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); gtt 553 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; gtt 580 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; gtt 602 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; gtt 614 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; gtt 625 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; gtt 635 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; gtt 652 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = gvt->gtt.pte_ops; gtt 681 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = gvt->gtt.pte_ops; gtt 744 drivers/gpu/drm/i915/gvt/gtt.c radix_tree_delete(&spt->vgpu->gtt.spt_tree, spt->shadow_page.mfn); gtt 765 drivers/gpu/drm/i915/gvt/gtt.c radix_tree_for_each_slot(slot, &vgpu->gtt.spt_tree, &iter, 0) { gtt 813 drivers/gpu/drm/i915/gvt/gtt.c return radix_tree_lookup(&vgpu->gtt.spt_tree, mfn); gtt 855 drivers/gpu/drm/i915/gvt/gtt.c ret = radix_tree_insert(&vgpu->gtt.spt_tree, spt->shadow_page.mfn, spt); gtt 909 drivers/gpu/drm/i915/gvt/gtt.c spt->vgpu->gvt->gtt.pte_ops->test_present(e)) gtt 915 drivers/gpu/drm/i915/gvt/gtt.c spt->vgpu->gvt->gtt.pte_ops->test_present(e)) gtt 943 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 962 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.scratch_pt[cur_pt_type].page_mfn) gtt 978 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 986 drivers/gpu/drm/i915/gvt/gtt.c if (!pfn || pfn == vgpu->gtt.scratch_pt[type].page_mfn) gtt 1066 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 1130 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = s->vgpu->gvt->gtt.pte_ops; gtt 1153 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 1170 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 1217 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 1248 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = vgpu->gvt->gtt.pte_ops; gtt 1302 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = gvt->gtt.pte_ops; gtt 1324 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&se, gvt->gtt.scratch_mfn); gtt 1345 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 1358 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.scratch_pt[spt->shadow_page.type].page_mfn) gtt 1426 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = gvt->gtt.pte_ops; gtt 1478 drivers/gpu/drm/i915/gvt/gtt.c list_move_tail(&oos_page->list, &gvt->gtt.oos_page_free_list_head); gtt 1498 drivers/gpu/drm/i915/gvt/gtt.c list_move_tail(&oos_page->list, &gvt->gtt.oos_page_use_list_head); gtt 1524 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt *gtt = &gvt->gtt; gtt 1530 drivers/gpu/drm/i915/gvt/gtt.c if (list_empty(>t->oos_page_free_list_head)) { gtt 1531 drivers/gpu/drm/i915/gvt/gtt.c oos_page = container_of(gtt->oos_page_use_list_head.next, gtt 1540 drivers/gpu/drm/i915/gvt/gtt.c oos_page = container_of(gtt->oos_page_free_list_head.next, gtt 1555 drivers/gpu/drm/i915/gvt/gtt.c list_add_tail(&oos_page->vm_list, &spt->vgpu->gtt.oos_page_list_head); gtt 1578 drivers/gpu/drm/i915/gvt/gtt.c list_for_each_safe(pos, n, &vgpu->gtt.oos_page_list_head) { gtt 1597 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 1629 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.scratch_pt[type].page_mfn); gtt 1636 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.scratch_pt[type].page_mfn); gtt 1640 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.scratch_pt[type].page_mfn); gtt 1669 drivers/gpu/drm/i915/gvt/gtt.c &spt->vgpu->gtt.post_shadow_list_head); gtt 1690 drivers/gpu/drm/i915/gvt/gtt.c list_for_each_safe(pos, n, &vgpu->gtt.post_shadow_list_head) { gtt 1714 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 1748 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&se, vgpu->gtt.scratch_pt[type].page_mfn); gtt 1778 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt *gtt = &gvt->gtt; gtt 1779 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = gtt->pte_ops; gtt 1808 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt *gtt = &gvt->gtt; gtt 1809 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = gtt->pte_ops; gtt 1911 drivers/gpu/drm/i915/gvt/gtt.c list_add_tail(&mm->ppgtt_mm.list, &vgpu->gtt.ppgtt_mm_list_head); gtt 1913 drivers/gpu/drm/i915/gvt/gtt.c mutex_lock(&gvt->gtt.ppgtt_mm_lock); gtt 1914 drivers/gpu/drm/i915/gvt/gtt.c list_add_tail(&mm->ppgtt_mm.lru_list, &gvt->gtt.ppgtt_mm_lru_list_head); gtt 1915 drivers/gpu/drm/i915/gvt/gtt.c mutex_unlock(&gvt->gtt.ppgtt_mm_lock); gtt 1960 drivers/gpu/drm/i915/gvt/gtt.c mutex_lock(&mm->vgpu->gvt->gtt.ppgtt_mm_lock); gtt 1962 drivers/gpu/drm/i915/gvt/gtt.c mutex_unlock(&mm->vgpu->gvt->gtt.ppgtt_mm_lock); gtt 2005 drivers/gpu/drm/i915/gvt/gtt.c mutex_lock(&mm->vgpu->gvt->gtt.ppgtt_mm_lock); gtt 2007 drivers/gpu/drm/i915/gvt/gtt.c &mm->vgpu->gvt->gtt.ppgtt_mm_lru_list_head); gtt 2008 drivers/gpu/drm/i915/gvt/gtt.c mutex_unlock(&mm->vgpu->gvt->gtt.ppgtt_mm_lock); gtt 2019 drivers/gpu/drm/i915/gvt/gtt.c mutex_lock(&gvt->gtt.ppgtt_mm_lock); gtt 2021 drivers/gpu/drm/i915/gvt/gtt.c list_for_each_safe(pos, n, &gvt->gtt.ppgtt_mm_lru_list_head) { gtt 2028 drivers/gpu/drm/i915/gvt/gtt.c mutex_unlock(&gvt->gtt.ppgtt_mm_lock); gtt 2032 drivers/gpu/drm/i915/gvt/gtt.c mutex_unlock(&gvt->gtt.ppgtt_mm_lock); gtt 2043 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 2072 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = gvt->gtt.pte_ops; gtt 2073 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_gma_ops *gma_ops = gvt->gtt.gma_ops; gtt 2145 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_mm *ggtt_mm = vgpu->gtt.ggtt_mm; gtt 2197 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = vgpu->gvt->gtt.pte_ops; gtt 2201 drivers/gpu/drm/i915/gvt/gtt.c if (pfn != vgpu->gvt->gtt.scratch_mfn) gtt 2211 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_mm *ggtt_mm = vgpu->gtt.ggtt_mm; gtt 2212 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = gvt->gtt.pte_ops; gtt 2290 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&m, gvt->gtt.scratch_mfn); gtt 2302 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&m, gvt->gtt.scratch_mfn); gtt 2306 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&m, gvt->gtt.scratch_mfn); gtt 2350 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_gtt *gtt = &vgpu->gtt; gtt 2351 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops; gtt 2375 drivers/gpu/drm/i915/gvt/gtt.c gtt->scratch_pt[type].page_mfn = gtt 2377 drivers/gpu/drm/i915/gvt/gtt.c gtt->scratch_pt[type].page = virt_to_page(scratch_pt); gtt 2379 drivers/gpu/drm/i915/gvt/gtt.c vgpu->id, type, gtt->scratch_pt[type].page_mfn); gtt 2394 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&se, gtt->scratch_pt[type - 1].page_mfn); gtt 2417 drivers/gpu/drm/i915/gvt/gtt.c if (vgpu->gtt.scratch_pt[i].page != NULL) { gtt 2418 drivers/gpu/drm/i915/gvt/gtt.c daddr = (dma_addr_t)(vgpu->gtt.scratch_pt[i].page_mfn << gtt 2421 drivers/gpu/drm/i915/gvt/gtt.c __free_page(vgpu->gtt.scratch_pt[i].page); gtt 2422 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.scratch_pt[i].page = NULL; gtt 2423 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.scratch_pt[i].page_mfn = 0; gtt 2459 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_gtt *gtt = &vgpu->gtt; gtt 2461 drivers/gpu/drm/i915/gvt/gtt.c INIT_RADIX_TREE(>t->spt_tree, GFP_KERNEL); gtt 2463 drivers/gpu/drm/i915/gvt/gtt.c INIT_LIST_HEAD(>t->ppgtt_mm_list_head); gtt 2464 drivers/gpu/drm/i915/gvt/gtt.c INIT_LIST_HEAD(>t->oos_page_list_head); gtt 2465 drivers/gpu/drm/i915/gvt/gtt.c INIT_LIST_HEAD(>t->post_shadow_list_head); gtt 2467 drivers/gpu/drm/i915/gvt/gtt.c gtt->ggtt_mm = intel_vgpu_create_ggtt_mm(vgpu); gtt 2468 drivers/gpu/drm/i915/gvt/gtt.c if (IS_ERR(gtt->ggtt_mm)) { gtt 2470 drivers/gpu/drm/i915/gvt/gtt.c return PTR_ERR(gtt->ggtt_mm); gtt 2475 drivers/gpu/drm/i915/gvt/gtt.c INIT_LIST_HEAD(>t->ggtt_mm->ggtt_mm.partial_pte_list); gtt 2485 drivers/gpu/drm/i915/gvt/gtt.c list_for_each_safe(pos, n, &vgpu->gtt.ppgtt_mm_list_head) { gtt 2490 drivers/gpu/drm/i915/gvt/gtt.c if (GEM_WARN_ON(!list_empty(&vgpu->gtt.ppgtt_mm_list_head))) gtt 2493 drivers/gpu/drm/i915/gvt/gtt.c if (GEM_WARN_ON(!radix_tree_empty(&vgpu->gtt.spt_tree))) { gtt 2504 drivers/gpu/drm/i915/gvt/gtt.c &vgpu->gtt.ggtt_mm->ggtt_mm.partial_pte_list, gtt 2510 drivers/gpu/drm/i915/gvt/gtt.c intel_vgpu_destroy_mm(vgpu->gtt.ggtt_mm); gtt 2511 drivers/gpu/drm/i915/gvt/gtt.c vgpu->gtt.ggtt_mm = NULL; gtt 2533 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt *gtt = &gvt->gtt; gtt 2537 drivers/gpu/drm/i915/gvt/gtt.c WARN(!list_empty(>t->oos_page_use_list_head), gtt 2540 drivers/gpu/drm/i915/gvt/gtt.c list_for_each_safe(pos, n, >t->oos_page_free_list_head) { gtt 2550 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt *gtt = &gvt->gtt; gtt 2555 drivers/gpu/drm/i915/gvt/gtt.c INIT_LIST_HEAD(>t->oos_page_free_list_head); gtt 2556 drivers/gpu/drm/i915/gvt/gtt.c INIT_LIST_HEAD(>t->oos_page_use_list_head); gtt 2574 drivers/gpu/drm/i915/gvt/gtt.c list_add_tail(&oos_page->list, >t->oos_page_free_list_head); gtt 2601 drivers/gpu/drm/i915/gvt/gtt.c list_for_each(pos, &vgpu->gtt.ppgtt_mm_list_head) { gtt 2690 drivers/gpu/drm/i915/gvt/gtt.c gvt->gtt.pte_ops = &gen8_gtt_pte_ops; gtt 2691 drivers/gpu/drm/i915/gvt/gtt.c gvt->gtt.gma_ops = &gen8_gtt_gma_ops; gtt 2707 drivers/gpu/drm/i915/gvt/gtt.c gvt->gtt.scratch_page = virt_to_page(page); gtt 2708 drivers/gpu/drm/i915/gvt/gtt.c gvt->gtt.scratch_mfn = (unsigned long)(daddr >> I915_GTT_PAGE_SHIFT); gtt 2715 drivers/gpu/drm/i915/gvt/gtt.c __free_page(gvt->gtt.scratch_page); gtt 2719 drivers/gpu/drm/i915/gvt/gtt.c INIT_LIST_HEAD(&gvt->gtt.ppgtt_mm_lru_list_head); gtt 2720 drivers/gpu/drm/i915/gvt/gtt.c mutex_init(&gvt->gtt.ppgtt_mm_lock); gtt 2735 drivers/gpu/drm/i915/gvt/gtt.c dma_addr_t daddr = (dma_addr_t)(gvt->gtt.scratch_mfn << gtt 2740 drivers/gpu/drm/i915/gvt/gtt.c __free_page(gvt->gtt.scratch_page); gtt 2758 drivers/gpu/drm/i915/gvt/gtt.c list_for_each_safe(pos, n, &vgpu->gtt.ppgtt_mm_list_head) { gtt 2761 drivers/gpu/drm/i915/gvt/gtt.c mutex_lock(&vgpu->gvt->gtt.ppgtt_mm_lock); gtt 2763 drivers/gpu/drm/i915/gvt/gtt.c mutex_unlock(&vgpu->gvt->gtt.ppgtt_mm_lock); gtt 2783 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_pte_ops *pte_ops = vgpu->gvt->gtt.pte_ops; gtt 2789 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->set_pfn(&entry, gvt->gtt.scratch_mfn); gtt 2796 drivers/gpu/drm/i915/gvt/gtt.c ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); gtt 2799 drivers/gpu/drm/i915/gvt/gtt.c ggtt_set_host_entry(vgpu->gtt.ggtt_mm, &entry, index++); gtt 2806 drivers/gpu/drm/i915/gvt/gtt.c ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); gtt 2809 drivers/gpu/drm/i915/gvt/gtt.c ggtt_set_host_entry(vgpu->gtt.ggtt_mm, &entry, index++); gtt 190 drivers/gpu/drm/i915/gvt/gvt.h struct intel_vgpu_gtt gtt; gtt 318 drivers/gpu/drm/i915/gvt/gvt.h struct intel_gvt_gtt gtt; gtt 82 drivers/gpu/drm/i915/gvt/mmio.c pt = vgpu->gtt.ggtt_mm->ggtt_mm.virtual_ggtt + offset; gtt 189 drivers/gpu/drm/i915/gvt/scheduler.c context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, gtt 843 drivers/gpu/drm/i915/gvt/scheduler.c context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, gtt 1489 drivers/gpu/drm/i915/gvt/scheduler.c ring_context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, gtt 171 drivers/gpu/drm/i915/i915_debugfs.c stringify_page_sizes(vma->page_sizes.gtt, NULL, 0)); gtt 1330 drivers/gpu/drm/i915/i915_gem_gtt.c vma->page_sizes.gtt |= page_size; gtt 1355 drivers/gpu/drm/i915/i915_gem_gtt.c vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; gtt 1682 drivers/gpu/drm/i915/i915_gem_gtt.c vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; gtt 2446 drivers/gpu/drm/i915/i915_gem_gtt.c vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; gtt 543 drivers/gpu/drm/i915/i915_trace.h TP_PROTO(struct drm_i915_gem_object *obj, u64 index, bool gtt, bool write), gtt 544 drivers/gpu/drm/i915/i915_trace.h TP_ARGS(obj, index, gtt, write), gtt 549 drivers/gpu/drm/i915/i915_trace.h __field(bool, gtt) gtt 556 drivers/gpu/drm/i915/i915_trace.h __entry->gtt = gtt; gtt 562 drivers/gpu/drm/i915/i915_trace.h __entry->gtt ? "GTT" : "CPU", gtt 25 drivers/gpu/drm/i915/selftests/i915_live_selftests.h selftest(gtt, i915_gem_gtt_live_selftests) gtt 25 drivers/gpu/drm/i915/selftests/i915_mock_selftests.h selftest(gtt, i915_gem_gtt_mock_selftests) gtt 212 drivers/gpu/drm/qxl/qxl_ttm.c struct qxl_ttm_tt *gtt = (void *)ttm; gtt 214 drivers/gpu/drm/qxl/qxl_ttm.c gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); gtt 231 drivers/gpu/drm/qxl/qxl_ttm.c struct qxl_ttm_tt *gtt = (void *)ttm; gtt 233 drivers/gpu/drm/qxl/qxl_ttm.c ttm_tt_fini(>t->ttm); gtt 234 drivers/gpu/drm/qxl/qxl_ttm.c kfree(gtt); gtt 247 drivers/gpu/drm/qxl/qxl_ttm.c struct qxl_ttm_tt *gtt; gtt 250 drivers/gpu/drm/qxl/qxl_ttm.c gtt = kzalloc(sizeof(struct qxl_ttm_tt), GFP_KERNEL); gtt 251 drivers/gpu/drm/qxl/qxl_ttm.c if (gtt == NULL) gtt 253 drivers/gpu/drm/qxl/qxl_ttm.c gtt->ttm.func = &qxl_backend_func; gtt 254 drivers/gpu/drm/qxl/qxl_ttm.c gtt->qdev = qdev; gtt 255 drivers/gpu/drm/qxl/qxl_ttm.c if (ttm_tt_init(>t->ttm, bo, page_flags)) { gtt 256 drivers/gpu/drm/qxl/qxl_ttm.c kfree(gtt); gtt 259 drivers/gpu/drm/qxl/qxl_ttm.c return >t->ttm; gtt 701 drivers/gpu/drm/radeon/r100.c u32 *gtt = rdev->gart.ptr; gtt 702 drivers/gpu/drm/radeon/r100.c gtt[i] = cpu_to_le32(lower_32_bits(entry)); gtt 456 drivers/gpu/drm/radeon/radeon.h struct dentry *gtt; gtt 488 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = (void *)ttm; gtt 492 drivers/gpu/drm/radeon/radeon_ttm.c int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); gtt 496 drivers/gpu/drm/radeon/radeon_ttm.c if (current->mm != gtt->usermm) gtt 499 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt->userflags & RADEON_GEM_USERPTR_ANONONLY) { gtt 502 drivers/gpu/drm/radeon/radeon_ttm.c unsigned long end = gtt->userptr + ttm->num_pages * PAGE_SIZE; gtt 504 drivers/gpu/drm/radeon/radeon_ttm.c vma = find_vma(gtt->usermm, gtt->userptr); gtt 511 drivers/gpu/drm/radeon/radeon_ttm.c uint64_t userptr = gtt->userptr + pinned * PAGE_SIZE; gtt 535 drivers/gpu/drm/radeon/radeon_ttm.c gtt->ttm.dma_address, ttm->num_pages); gtt 550 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = (void *)ttm; gtt 553 drivers/gpu/drm/radeon/radeon_ttm.c int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); gtt 566 drivers/gpu/drm/radeon/radeon_ttm.c if (!(gtt->userflags & RADEON_GEM_USERPTR_READONLY)) gtt 579 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = (void*)ttm; gtt 584 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt->userptr) { gtt 589 drivers/gpu/drm/radeon/radeon_ttm.c gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); gtt 596 drivers/gpu/drm/radeon/radeon_ttm.c r = radeon_gart_bind(gtt->rdev, gtt->offset, ttm->num_pages, gtt 597 drivers/gpu/drm/radeon/radeon_ttm.c ttm->pages, gtt->ttm.dma_address, flags); gtt 600 drivers/gpu/drm/radeon/radeon_ttm.c ttm->num_pages, (unsigned)gtt->offset); gtt 608 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = (void *)ttm; gtt 610 drivers/gpu/drm/radeon/radeon_ttm.c radeon_gart_unbind(gtt->rdev, gtt->offset, ttm->num_pages); gtt 612 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt->userptr) gtt 620 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = (void *)ttm; gtt 622 drivers/gpu/drm/radeon/radeon_ttm.c ttm_dma_tt_fini(>t->ttm); gtt 623 drivers/gpu/drm/radeon/radeon_ttm.c kfree(gtt); gtt 636 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt; gtt 646 drivers/gpu/drm/radeon/radeon_ttm.c gtt = kzalloc(sizeof(struct radeon_ttm_tt), GFP_KERNEL); gtt 647 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt == NULL) { gtt 650 drivers/gpu/drm/radeon/radeon_ttm.c gtt->ttm.ttm.func = &radeon_backend_func; gtt 651 drivers/gpu/drm/radeon/radeon_ttm.c gtt->rdev = rdev; gtt 652 drivers/gpu/drm/radeon/radeon_ttm.c if (ttm_dma_tt_init(>t->ttm, bo, page_flags)) { gtt 653 drivers/gpu/drm/radeon/radeon_ttm.c kfree(gtt); gtt 656 drivers/gpu/drm/radeon/radeon_ttm.c return >t->ttm.ttm; gtt 669 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = radeon_ttm_tt_to_gtt(ttm); gtt 673 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt && gtt->userptr) { gtt 685 drivers/gpu/drm/radeon/radeon_ttm.c gtt->ttm.dma_address, ttm->num_pages); gtt 699 drivers/gpu/drm/radeon/radeon_ttm.c return ttm_dma_populate(>t->ttm, rdev->dev, ctx); gtt 703 drivers/gpu/drm/radeon/radeon_ttm.c return ttm_populate_and_map_pages(rdev->dev, >t->ttm, ctx); gtt 709 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = radeon_ttm_tt_to_gtt(ttm); gtt 712 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt && gtt->userptr) { gtt 731 drivers/gpu/drm/radeon/radeon_ttm.c ttm_dma_unpopulate(>t->ttm, rdev->dev); gtt 736 drivers/gpu/drm/radeon/radeon_ttm.c ttm_unmap_and_unpopulate_pages(rdev->dev, >t->ttm); gtt 742 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = radeon_ttm_tt_to_gtt(ttm); gtt 744 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt == NULL) gtt 747 drivers/gpu/drm/radeon/radeon_ttm.c gtt->userptr = addr; gtt 748 drivers/gpu/drm/radeon/radeon_ttm.c gtt->usermm = current->mm; gtt 749 drivers/gpu/drm/radeon/radeon_ttm.c gtt->userflags = flags; gtt 755 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = radeon_ttm_tt_to_gtt(ttm); gtt 757 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt == NULL) gtt 760 drivers/gpu/drm/radeon/radeon_ttm.c return !!gtt->userptr; gtt 765 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_ttm_tt *gtt = radeon_ttm_tt_to_gtt(ttm); gtt 767 drivers/gpu/drm/radeon/radeon_ttm.c if (gtt == NULL) gtt 770 drivers/gpu/drm/radeon/radeon_ttm.c return !!(gtt->userflags & RADEON_GEM_USERPTR_READONLY); gtt 1073 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.gtt = debugfs_create_file("radeon_gtt", S_IFREG | S_IRUGO, gtt 1097 drivers/gpu/drm/radeon/radeon_ttm.c debugfs_remove(rdev->mman.gtt); gtt 1098 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mman.gtt = NULL; gtt 238 drivers/gpu/drm/radeon/rs400.c u32 *gtt = rdev->gart.ptr; gtt 239 drivers/gpu/drm/radeon/rs400.c gtt[i] = cpu_to_le32(lower_32_bits(entry)); gtt 198 drivers/gpu/drm/virtio/virtgpu_ttm.c struct virtio_gpu_ttm_tt *gtt = gtt 201 drivers/gpu/drm/virtio/virtgpu_ttm.c virtio_gpu_get_vgdev(gtt->obj->tbo.bdev); gtt 203 drivers/gpu/drm/virtio/virtgpu_ttm.c virtio_gpu_object_attach(vgdev, gtt->obj, NULL); gtt 209 drivers/gpu/drm/virtio/virtgpu_ttm.c struct virtio_gpu_ttm_tt *gtt = gtt 212 drivers/gpu/drm/virtio/virtgpu_ttm.c virtio_gpu_get_vgdev(gtt->obj->tbo.bdev); gtt 214 drivers/gpu/drm/virtio/virtgpu_ttm.c virtio_gpu_object_detach(vgdev, gtt->obj); gtt 220 drivers/gpu/drm/virtio/virtgpu_ttm.c struct virtio_gpu_ttm_tt *gtt = gtt 223 drivers/gpu/drm/virtio/virtgpu_ttm.c ttm_dma_tt_fini(>t->ttm); gtt 224 drivers/gpu/drm/virtio/virtgpu_ttm.c kfree(gtt); gtt 237 drivers/gpu/drm/virtio/virtgpu_ttm.c struct virtio_gpu_ttm_tt *gtt; gtt 240 drivers/gpu/drm/virtio/virtgpu_ttm.c gtt = kzalloc(sizeof(struct virtio_gpu_ttm_tt), GFP_KERNEL); gtt 241 drivers/gpu/drm/virtio/virtgpu_ttm.c if (gtt == NULL) gtt 243 drivers/gpu/drm/virtio/virtgpu_ttm.c gtt->ttm.ttm.func = &virtio_gpu_tt_func; gtt 244 drivers/gpu/drm/virtio/virtgpu_ttm.c gtt->obj = container_of(bo, struct virtio_gpu_object, tbo); gtt 245 drivers/gpu/drm/virtio/virtgpu_ttm.c if (ttm_dma_tt_init(>t->ttm, bo, page_flags)) { gtt 246 drivers/gpu/drm/virtio/virtgpu_ttm.c kfree(gtt); gtt 249 drivers/gpu/drm/virtio/virtgpu_ttm.c return >t->ttm.ttm; gtt 510 drivers/net/wireless/ath/ath9k/debug.c sc->debug.stats.istats.gtt++; gtt 556 drivers/net/wireless/ath/ath9k/debug.c PR_IS("GTT", gtt); gtt 107 drivers/net/wireless/ath/ath9k/debug.h u32 gtt; gtt 2101 drivers/video/fbdev/i810/i810_main.c struct gtt_data *gtt = &par->i810_gtt; gtt 2107 drivers/video/fbdev/i810/i810_main.c agp_free_memory(gtt->i810_cursor_memory); gtt 2109 drivers/video/fbdev/i810/i810_main.c agp_free_memory(gtt->i810_fb_memory); gtt 907 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_heap_info gtt;