/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 338 struct radeon_ttm_tt *gtt = (void *)ttm; in radeon_ttm_tt_pin_userptr() local 342 int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_pin_userptr() 346 if (current->mm != gtt->usermm) in radeon_ttm_tt_pin_userptr() 349 if (gtt->userflags & RADEON_GEM_USERPTR_ANONONLY) { in radeon_ttm_tt_pin_userptr() 352 unsigned long end = gtt->userptr + (u64)ttm->num_pages * PAGE_SIZE; in radeon_ttm_tt_pin_userptr() 354 vma = find_vma(gtt->usermm, gtt->userptr); in radeon_ttm_tt_pin_userptr() 361 uint64_t userptr = gtt->userptr + pinned * PAGE_SIZE; in radeon_ttm_tt_pin_userptr() 383 drm_prime_sg_to_dma_addr_array(ttm->sg, gtt->ttm.dma_address, in radeon_ttm_tt_pin_userptr() 399 struct radeon_ttm_tt *gtt = (void *)ttm; in radeon_ttm_tt_unpin_userptr() local 402 int write = !(gtt->userflags & RADEON_GEM_USERPTR_READONLY); in radeon_ttm_tt_unpin_userptr() [all …]
|
D | rs400.c | 236 u32 *gtt = rdev->gart.ptr; in rs400_gart_set_page() local 237 gtt[i] = cpu_to_le32(lower_32_bits(entry)); in rs400_gart_set_page()
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | gtt.c | 574 const struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; in _ppgtt_get_root_entry() 601 const struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; in _ppgtt_set_root_entry() 617 const struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; in ggtt_get_guest_entry() 629 const struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; in ggtt_set_guest_entry() 640 const struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; in ggtt_get_host_entry() 650 const struct intel_gvt_gtt_pte_ops *pte_ops = mm->vgpu->gvt->gtt.pte_ops; in ggtt_set_host_entry() 676 const struct intel_gvt_gtt_pte_ops *ops = gvt->gtt.pte_ops; in ppgtt_spt_get_entry() 705 const struct intel_gvt_gtt_pte_ops *ops = gvt->gtt.pte_ops; in ppgtt_spt_set_entry() 768 radix_tree_delete(&spt->vgpu->gtt.spt_tree, spt->shadow_page.mfn); in ppgtt_free_spt() 789 radix_tree_for_each_slot(slot, &vgpu->gtt.spt_tree, &iter, 0) { in ppgtt_free_all_spt() [all …]
|
D | fb_decoder.c | 252 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_primary_plane() 375 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_cursor_plane() 479 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_sprite_plane()
|
D | Makefile | 14 gvt/gtt.o \
|
D | gvt.h | 198 struct intel_vgpu_gtt gtt; member 336 struct intel_gvt_gtt gtt; member
|
D | mmio.c | 85 pt = vgpu->gtt.ggtt_mm->ggtt_mm.virtual_ggtt + offset; in failsafe_emulate_mmio_rw()
|
D | scheduler.c | 226 context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, in populate_shadow_context() 988 context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, in update_guest_context() 1640 ring_context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, in intel_vgpu_create_workload()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 662 struct amdgpu_ttm_tt *gtt = ttm_to_amdgpu_ttm_tt(ttm); in amdgpu_ttm_tt_get_user_pages() local 663 unsigned long start = gtt->userptr; in amdgpu_ttm_tt_get_user_pages() 687 if (unlikely((gtt->userflags & AMDGPU_GEM_USERPTR_ANONONLY) && in amdgpu_ttm_tt_get_user_pages() 716 struct amdgpu_ttm_tt *gtt = ttm_to_amdgpu_ttm_tt(ttm); in amdgpu_ttm_tt_get_user_pages_done() local 718 if (!gtt || !gtt->userptr || !range) in amdgpu_ttm_tt_get_user_pages_done() 722 gtt->userptr, ttm->num_pages); in amdgpu_ttm_tt_get_user_pages_done() 758 struct amdgpu_ttm_tt *gtt = ttm_to_amdgpu_ttm_tt(ttm); in amdgpu_ttm_tt_pin_userptr() local 759 int write = !(gtt->userflags & AMDGPU_GEM_USERPTR_READONLY); in amdgpu_ttm_tt_pin_userptr() 777 drm_prime_sg_to_dma_addr_array(ttm->sg, gtt->ttm.dma_address, in amdgpu_ttm_tt_pin_userptr() 795 struct amdgpu_ttm_tt *gtt = ttm_to_amdgpu_ttm_tt(ttm); in amdgpu_ttm_tt_unpin_userptr() local [all …]
|
D | amdgpu_kms.c | 710 mem.gtt.total_heap_size = gtt_man->size; in amdgpu_info_ioctl() 711 mem.gtt.usable_heap_size = mem.gtt.total_heap_size - in amdgpu_info_ioctl() 713 mem.gtt.heap_usage = ttm_resource_manager_usage(gtt_man); in amdgpu_info_ioctl() 714 mem.gtt.max_allocation = mem.gtt.usable_heap_size * 3 / 4; in amdgpu_info_ioctl()
|
/linux-6.1.9/drivers/gpu/drm/gma500/ |
D | gtt.c | 29 end = root->start + pdev->gtt.stolen_size - 1; in psb_gtt_allocate_resource() 32 start = root->start + pdev->gtt.stolen_size; in psb_gtt_allocate_resource() 179 for (i = 0; i < pdev->gtt.gtt_pages; ++i) in psb_gtt_clear() 189 struct psb_gtt *pg = &dev_priv->gtt; in psb_gtt_init_ranges() 258 struct psb_gtt *pg = &dev_priv->gtt; in psb_gtt_init() 290 struct psb_gtt *pg = &dev_priv->gtt; in psb_gtt_resume()
|
D | gem.c | 33 u32 gpu_base = dev_priv->gtt.gatt_start; in psb_gem_pin() 78 u32 gpu_base = dev_priv->gtt.gatt_start; in psb_gem_unpin() 340 pg = &dev_priv->gtt; in psb_gem_mm_init() 412 pg = &dev_priv->gtt; in psb_gem_mm_resume()
|
D | psb_drv.c | 124 PSB_WSGX32(dev_priv->gtt.gatt_start, PSB_CR_BIF_TWOD_REQ_BASE); in psb_spank() 130 struct psb_gtt *pg = &dev_priv->gtt; in psb_do_init() 187 struct psb_gtt *pg = &dev_priv->gtt; in psb_driver_unload() 248 pg = &dev_priv->gtt; in psb_driver_load()
|
D | Makefile | 18 gtt.o \
|
D | framebuffer.c | 298 if (dev_priv->gtt.stolen_size) { in psbfb_create() 300 info->apertures->ranges[0].size = dev_priv->gtt.stolen_size; in psbfb_create()
|
/linux-6.1.9/drivers/char/agp/ |
D | intel-gtt.c | 70 u32 __iomem *gtt; /* I915G */ member 336 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i810_write_entry() 565 iounmap(intel_private.gtt); in intel_gtt_cleanup() 629 intel_private.gtt = NULL; in intel_gtt_init() 631 intel_private.gtt = ioremap_wc(intel_private.gtt_phys_addr, in intel_gtt_init() 633 if (intel_private.gtt == NULL) in intel_gtt_init() 634 intel_private.gtt = ioremap(intel_private.gtt_phys_addr, in intel_gtt_init() 636 if (intel_private.gtt == NULL) { in intel_gtt_init() 741 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i830_write_entry() 849 readl(intel_private.gtt + pg); in intel_gmch_gtt_insert_page() [all …]
|
D | Makefile | 21 obj-$(CONFIG_INTEL_GTT) += intel-gtt.o
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/ |
D | huge_pages.c | 837 unsigned int gtt; in igt_mock_ppgtt_64K() member 843 .gtt = I915_GTT_PAGE_SIZE_64K, in igt_mock_ppgtt_64K() 848 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() 853 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() 858 .gtt = I915_GTT_PAGE_SIZE_64K, in igt_mock_ppgtt_64K() 863 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() 868 .gtt = I915_GTT_PAGE_SIZE_64K | I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() 873 .gtt = I915_GTT_PAGE_SIZE_64K, in igt_mock_ppgtt_64K() 878 .gtt = I915_GTT_PAGE_SIZE_64K, in igt_mock_ppgtt_64K() 885 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_trace.h | 148 TP_PROTO(struct drm_i915_gem_object *obj, u64 index, bool gtt, bool write), 149 TP_ARGS(obj, index, gtt, write), 154 __field(bool, gtt) 161 __entry->gtt = gtt; 167 __entry->gtt ? "GTT" : "CPU",
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | i915_mock_selftests.h | 33 selftest(gtt, i915_gem_gtt_mock_selftests)
|
D | i915_live_selftests.h | 36 selftest(gtt, i915_gem_gtt_live_selftests)
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_fb_pin.c | 251 &plane_state->view.gtt, in intel_plane_pin_fb() 267 vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, false, in intel_plane_pin_fb()
|
D | intel_fb.c | 1372 struct intel_remapped_plane_info *remap_info = &view->gtt.remapped.plane[color_plane]; in calc_plane_remap_info() 1398 if (view->gtt.type == I915_GTT_VIEW_ROTATED) { in calc_plane_remap_info() 1400 check_array_bounds(i915, view->gtt.rotated.plane, color_plane); in calc_plane_remap_info() 1423 drm_WARN_ON(&i915->drm, view->gtt.type != I915_GTT_VIEW_REMAPPED); in calc_plane_remap_info() 1425 check_array_bounds(i915, view->gtt.remapped.plane, color_plane); in calc_plane_remap_info() 1427 if (view->gtt.remapped.plane_alignment) { in calc_plane_remap_info() 1429 view->gtt.remapped.plane_alignment); in calc_plane_remap_info() 1509 view->gtt.type = view_type; in intel_fb_view_init() 1512 view->gtt.remapped.plane_alignment = SZ_2M / PAGE_SIZE; in intel_fb_view_init()
|
D | intel_dpt.c | 250 size = intel_remapped_info_size(&fb->remapped_view.gtt.remapped); in intel_dpt_create()
|
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | debug.h | 108 u32 gtt; member
|