/linux/drivers/gpu/drm/radeon/ |
A D | radeon_ttm.c | 357 vma = find_vma(gtt->usermm, gtt->userptr); in radeon_ttm_tt_pin_userptr() 445 if (gtt->bound) in radeon_ttm_backend_bind() 476 if (gtt->userptr) in radeon_ttm_backend_unbind() 479 if (!gtt->bound) in radeon_ttm_backend_unbind() 492 kfree(gtt); in radeon_ttm_backend_destroy() 523 kfree(gtt); in radeon_ttm_tt_create() 550 if (gtt && gtt->userptr) { in radeon_ttm_tt_populate() 576 if (gtt && gtt->userptr) { in radeon_ttm_tt_unpopulate() 594 if (gtt == NULL) in radeon_ttm_tt_set_userptr() 665 if (gtt == NULL) in radeon_ttm_tt_has_userptr() [all …]
|
A 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/drivers/gpu/drm/i915/gvt/ |
A D | gtt.c | 1533 struct intel_gvt_gtt *gtt = &gvt->gtt; in ppgtt_allocate_oos_page() local 1787 struct intel_gvt_gtt *gtt = &gvt->gtt; in invalidate_ppgtt_mm() local 1817 struct intel_gvt_gtt *gtt = &gvt->gtt; in shadow_ppgtt_mm() local 2393 struct intel_vgpu_gtt *gtt = &vgpu->gtt; in alloc_scratch_pages() local 2502 struct intel_vgpu_gtt *gtt = &vgpu->gtt; in intel_vgpu_init_gtt() local 2511 if (IS_ERR(gtt->ggtt_mm)) { in intel_vgpu_init_gtt() 2513 return PTR_ERR(gtt->ggtt_mm); in intel_vgpu_init_gtt() 2554 vgpu->gtt.ggtt_mm = NULL; in intel_vgpu_destroy_ggtt_mm() 2576 struct intel_gvt_gtt *gtt = &gvt->gtt; in clean_spt_oos() local 2593 struct intel_gvt_gtt *gtt = &gvt->gtt; in setup_spt_oos() local [all …]
|
A D | fb_decoder.c | 251 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_primary_plane() 374 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_cursor_plane() 478 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_sprite_plane()
|
A D | Makefile | 4 interrupt.o gtt.o cfg_space.o opregion.o mmio.o display.o edid.o \
|
A D | gvt.h | 201 struct intel_vgpu_gtt gtt; member 316 struct intel_gvt_gtt gtt; member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ttm.c | 721 if (!gtt || !gtt->userptr) in amdgpu_ttm_tt_get_user_pages_done() 727 WARN_ONCE(!gtt->range || !gtt->range->hmm_pfns, in amdgpu_ttm_tt_get_user_pages_done() 894 if (gtt->bound) in amdgpu_ttm_backend_bind() 1056 if (!gtt->bound) in amdgpu_ttm_backend_unbind() 1066 gtt->ttm.num_pages, gtt->offset); in amdgpu_ttm_backend_unbind() 1079 kfree(gtt); in amdgpu_ttm_backend_destroy() 1110 kfree(gtt); in amdgpu_ttm_tt_create() 1229 if (gtt == NULL) in amdgpu_ttm_tt_get_usermm() 1249 if (gtt == NULL || !gtt->userptr) in amdgpu_ttm_tt_affect_userptr() 1256 if (gtt->userptr > end || gtt->userptr + size <= start) in amdgpu_ttm_tt_affect_userptr() [all …]
|
A D | amdgpu_kms.c | 742 mem.gtt.total_heap_size = gtt_man->size; in amdgpu_info_ioctl() 743 mem.gtt.total_heap_size *= PAGE_SIZE; in amdgpu_info_ioctl() 744 mem.gtt.usable_heap_size = mem.gtt.total_heap_size - in amdgpu_info_ioctl() 746 mem.gtt.heap_usage = in amdgpu_info_ioctl() 748 mem.gtt.max_allocation = mem.gtt.usable_heap_size * 3 / 4; in amdgpu_info_ioctl()
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
A D | huge_pages.c | 396 if (obj->mm.page_sizes.gtt) { in igt_check_page_sizes() 398 obj->mm.page_sizes.gtt); in igt_check_page_sizes() 823 unsigned int gtt; in igt_mock_ppgtt_64K() member 829 .gtt = I915_GTT_PAGE_SIZE_64K, in igt_mock_ppgtt_64K() 834 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() 839 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() 844 .gtt = I915_GTT_PAGE_SIZE_64K, in igt_mock_ppgtt_64K() 849 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() 859 .gtt = I915_GTT_PAGE_SIZE_64K, in igt_mock_ppgtt_64K() 871 .gtt = I915_GTT_PAGE_SIZE_4K, in igt_mock_ppgtt_64K() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
A D | gtt.c | 192 u32 gpu_base = dev_priv->gtt.gatt_start; in psb_gtt_pin() 230 u32 gpu_base = dev_priv->gtt.gatt_start; in psb_gtt_unpin() 278 end = r->start + dev_priv->gtt.stolen_size - 1; in psb_gtt_alloc_range() 281 start = r->start + dev_priv->gtt.stolen_size; in psb_gtt_alloc_range() 326 init_rwsem(&dev_priv->gtt.sem); in psb_gtt_alloc() 367 pg = &dev_priv->gtt; in psb_gtt_init()
|
A D | gem.c | 26 struct gtt_range *gtt = container_of(obj, struct gtt_range, gem); in psb_gem_free_object() local 33 psb_gtt_free_range(obj->dev, gtt); in psb_gem_free_object()
|
A D | framebuffer.c | 85 struct gtt_range *gtt = to_gtt_range(fb->obj[0]); in psbfb_vm_fault() local 92 gtt->offset; in psbfb_vm_fault() 322 if (dev_priv->gtt.stolen_size) { in psbfb_create() 324 info->apertures->ranges[0].size = dev_priv->gtt.stolen_size; in psbfb_create()
|
A D | psb_drv.c | 122 PSB_WSGX32(dev_priv->gtt.gatt_start, PSB_CR_BIF_TWOD_REQ_BASE); in psb_spank() 128 struct psb_gtt *pg = &dev_priv->gtt; in psb_do_init() 184 struct psb_gtt *pg = &dev_priv->gtt; in psb_driver_unload() 245 pg = &dev_priv->gtt; in psb_driver_load()
|
A D | Makefile | 18 gtt.o \
|
A D | gma_display.c | 57 struct gtt_range *gtt; in gma_pipe_set_base() local 73 gtt = to_gtt_range(fb->obj[0]); in gma_pipe_set_base() 77 ret = psb_gtt_pin(gtt); in gma_pipe_set_base() 80 start = gtt->offset; in gma_pipe_set_base()
|
/linux/drivers/char/agp/ |
A D | intel-gtt.c | 69 u32 __iomem *gtt; /* I915G */ member 335 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i810_write_entry() 564 iounmap(intel_private.gtt); in intel_gtt_cleanup() 631 intel_private.gtt = NULL; in intel_gtt_init() 633 intel_private.gtt = ioremap_wc(intel_private.gtt_phys_addr, in intel_gtt_init() 635 if (intel_private.gtt == NULL) in intel_gtt_init() 636 intel_private.gtt = ioremap(intel_private.gtt_phys_addr, in intel_gtt_init() 638 if (intel_private.gtt == NULL) { in intel_gtt_init() 743 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i830_write_entry() 851 readl(intel_private.gtt + pg); in intel_gtt_insert_page() [all …]
|
A D | Makefile | 21 obj-$(CONFIG_INTEL_GTT) += intel-gtt.o
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_fb.c | 855 struct intel_remapped_plane_info *remap_info = &view->gtt.remapped.plane[color_plane]; in calc_plane_remap_info() 868 if (view->gtt.type == I915_GGTT_VIEW_ROTATED) { in calc_plane_remap_info() 869 check_array_bounds(i915, view->gtt.rotated.plane, color_plane); in calc_plane_remap_info() 891 drm_WARN_ON(&i915->drm, view->gtt.type != I915_GGTT_VIEW_REMAPPED); in calc_plane_remap_info() 893 check_array_bounds(i915, view->gtt.remapped.plane, color_plane); in calc_plane_remap_info() 895 if (view->gtt.remapped.plane_alignment) { in calc_plane_remap_info() 897 view->gtt.remapped.plane_alignment); in calc_plane_remap_info() 963 view->gtt.type = view_type; in intel_fb_view_init() 966 view->gtt.remapped.plane_alignment = SZ_2M / PAGE_SIZE; in intel_fb_view_init()
|
A D | intel_fb_pin.c | 222 &plane_state->view.gtt, in intel_plane_pin_fb() 238 vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, false, in intel_plane_pin_fb()
|
A D | intel_dpt.c | 95 vma->page_sizes.gtt = I915_GTT_PAGE_SIZE; in dpt_bind_vma() 182 size = intel_remapped_info_size(&fb->remapped_view.gtt.remapped); in intel_dpt_create()
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_mock_selftests.h | 33 selftest(gtt, i915_gem_gtt_mock_selftests)
|
A D | i915_live_selftests.h | 36 selftest(gtt, i915_gem_gtt_live_selftests)
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_trace.h | 644 TP_PROTO(struct drm_i915_gem_object *obj, u64 index, bool gtt, bool write), 645 TP_ARGS(obj, index, gtt, write), 650 __field(bool, gtt) 657 __entry->gtt = gtt; 663 __entry->gtt ? "GTT" : "CPU",
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_object_types.h | 541 unsigned int gtt; member
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | debug.h | 108 u32 gtt; member
|