/linux-6.12.1/drivers/gpu/drm/i915/ |
D | intel_memory_region.h | 18 struct intel_memory_region; 48 int (*init)(struct intel_memory_region *mem); 49 int (*release)(struct intel_memory_region *mem); 51 int (*init_object)(struct intel_memory_region *mem, 59 struct intel_memory_region { struct 88 struct intel_memory_region * argument 92 struct intel_memory_region * 103 void intel_memory_region_destroy(struct intel_memory_region *mem); 107 struct intel_memory_region * 112 intel_memory_region_set_name(struct intel_memory_region *mem, [all …]
|
D | intel_region_ttm.h | 13 struct intel_memory_region; 21 int intel_region_ttm_init(struct intel_memory_region *mem); 23 int intel_region_ttm_fini(struct intel_memory_region *mem); 26 intel_region_ttm_resource_to_rsgt(struct intel_memory_region *mem, 30 void intel_region_ttm_resource_free(struct intel_memory_region *mem, 33 int intel_region_to_ttm_type(const struct intel_memory_region *mem); 39 intel_region_ttm_resource_alloc(struct intel_memory_region *mem,
|
D | intel_memory_region.c | 36 static int __iopagetest(struct intel_memory_region *mem, in __iopagetest() 61 static int iopagetest(struct intel_memory_region *mem, in iopagetest() 98 static int iomemtest(struct intel_memory_region *mem, in iomemtest() 144 struct intel_memory_region * 148 struct intel_memory_region *mr; in intel_memory_region_lookup() 160 struct intel_memory_region * 164 struct intel_memory_region *mr; in intel_memory_region_by_type() 182 int intel_memory_region_reserve(struct intel_memory_region *mem, in intel_memory_region_reserve() 193 void intel_memory_region_debug(struct intel_memory_region *mr, in intel_memory_region_debug() 204 static int intel_memory_region_memtest(struct intel_memory_region *mem, in intel_memory_region_memtest() [all …]
|
D | intel_region_ttm.c | 54 int intel_region_to_ttm_type(const struct intel_memory_region *mem) in intel_region_to_ttm_type() 82 int intel_region_ttm_init(struct intel_memory_region *mem) in intel_region_ttm_init() 108 int intel_region_ttm_fini(struct intel_memory_region *mem) in intel_region_ttm_fini() 163 intel_region_ttm_resource_to_rsgt(struct intel_memory_region *mem, in intel_region_ttm_resource_to_rsgt() 198 intel_region_ttm_resource_alloc(struct intel_memory_region *mem, in intel_region_ttm_resource_alloc() 255 void intel_region_ttm_resource_free(struct intel_memory_region *mem, in intel_region_ttm_resource_free()
|
D | i915_vma_resource.h | 17 struct intel_memory_region; 122 struct intel_memory_region *mr; 208 struct intel_memory_region *mr, in i915_vma_resource_init()
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_region.h | 11 struct intel_memory_region; 51 struct intel_memory_region *mem); 55 i915_gem_object_create_region(struct intel_memory_region *mem, 60 i915_gem_object_create_region_at(struct intel_memory_region *mem, 65 int i915_gem_process_region(struct intel_memory_region *mr,
|
D | i915_gem_create.c | 19 static u32 object_max_page_size(struct intel_memory_region **placements, in object_max_page_size() 26 struct intel_memory_region *mr = placements[i]; in object_max_page_size() 37 struct intel_memory_region **placements, in object_set_placements() 40 struct intel_memory_region **arr; in object_set_placements() 50 struct intel_memory_region *mr = placements[0]; in object_set_placements() 57 sizeof(struct intel_memory_region *), in object_set_placements() 92 struct intel_memory_region **placements, in __i915_gem_object_create_user_ext() 96 struct intel_memory_region *mr = placements[0]; in __i915_gem_object_create_user_ext() 160 struct intel_memory_region **placements, in __i915_gem_object_create_user() 173 struct intel_memory_region *mr; in i915_gem_dumb_create() [all …]
|
D | i915_gem_ttm_pm.h | 11 struct intel_memory_region; 17 int i915_ttm_backup_region(struct intel_memory_region *mr, u32 flags); 19 void i915_ttm_recover_region(struct intel_memory_region *mr); 21 int i915_ttm_restore_region(struct intel_memory_region *mr, u32 flags);
|
D | i915_gem_region.c | 14 struct intel_memory_region *mem) in i915_gem_object_init_memory_region() 25 struct intel_memory_region *mem = obj->mm.region; in i915_gem_object_release_memory_region() 33 __i915_gem_object_create_region(struct intel_memory_region *mem, in __i915_gem_object_create_region() 107 i915_gem_object_create_region(struct intel_memory_region *mem, in i915_gem_object_create_region() 117 i915_gem_object_create_region_at(struct intel_memory_region *mem, in i915_gem_object_create_region_at() 154 int i915_gem_process_region(struct intel_memory_region *mr, in i915_gem_process_region()
|
D | i915_gem_object_types.h | 24 struct intel_memory_region; 112 struct intel_memory_region *mr, 643 struct intel_memory_region **placements; 649 struct intel_memory_region *region;
|
D | i915_gem_stolen.c | 511 static int i915_gem_init_stolen(struct intel_memory_region *mem) in i915_gem_init_stolen() 700 static int __i915_gem_object_create_stolen(struct intel_memory_region *mem, in __i915_gem_object_create_stolen() 736 static int _i915_gem_object_stolen_init(struct intel_memory_region *mem, in _i915_gem_object_stolen_init() 802 static int init_stolen_smem(struct intel_memory_region *mem) in init_stolen_smem() 817 static int release_stolen_smem(struct intel_memory_region *mem) in release_stolen_smem() 829 static int init_stolen_lmem(struct intel_memory_region *mem) in init_stolen_lmem() 853 static int release_stolen_lmem(struct intel_memory_region *mem) in release_stolen_lmem() 890 struct intel_memory_region * 897 struct intel_memory_region *mem; in i915_gem_stolen_lmem_setup() 978 struct intel_memory_region* [all …]
|
D | i915_gem_stolen.h | 26 struct intel_memory_region * 29 struct intel_memory_region *
|
D | i915_gem_pm.c | 57 struct intel_memory_region *mr; in lmem_restore() 73 struct intel_memory_region *mr; in lmem_suspend() 89 struct intel_memory_region *mr; in lmem_recover()
|
D | i915_gem_ttm_pm.c | 132 void i915_ttm_recover_region(struct intel_memory_region *mr) in i915_ttm_recover_region() 154 int i915_ttm_backup_region(struct intel_memory_region *mr, u32 flags) in i915_ttm_backup_region() 221 int i915_ttm_restore_region(struct intel_memory_region *mr, u32 flags) in i915_ttm_restore_region()
|
D | i915_gem_lmem.c | 44 struct intel_memory_region *mr = READ_ONCE(obj->mm.region); in i915_gem_object_is_lmem() 68 struct intel_memory_region *mr = READ_ONCE(obj->mm.region); in __i915_gem_object_is_lmem()
|
D | i915_gem_shmem.c | 64 size_t size, struct intel_memory_region *mr, in shmem_sg_alloc_table() 208 struct intel_memory_region *mem = obj->mm.region; in shmem_get_pages() 581 static int shmem_object_init(struct intel_memory_region *mem, in shmem_object_init() 704 static int init_shmem(struct intel_memory_region *mem) in init_shmem() 712 static int release_shmem(struct intel_memory_region *mem) in release_shmem() 724 struct intel_memory_region *i915_gem_shmem_setup(struct drm_i915_private *i915, in i915_gem_shmem_setup()
|
D | i915_gem_ttm.c | 126 i915_ttm_place_from_region(const struct intel_memory_region *mr, in i915_ttm_place_from_region() 186 struct intel_memory_region *mr = i915->mm.regions[INTEL_MEMORY_SYSTEM]; in i915_ttm_tt_shmem_populate() 868 struct intel_memory_region *mr, in __i915_ttm_migrate() 898 struct intel_memory_region *mr, in i915_ttm_migrate() 1084 struct intel_memory_region *mr = obj->mm.placements[i]; in vm_fault_ttm() 1281 int __i915_gem_ttm_object_init(struct intel_memory_region *mem, in __i915_gem_ttm_object_init() 1363 struct intel_memory_region * 1367 struct intel_memory_region *mr; in i915_gem_ttm_system_setup()
|
D | i915_gem_lmem.h | 13 struct intel_memory_region;
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 131 region_lmem_release(struct intel_memory_region *mem) in region_lmem_release() 142 region_lmem_init(struct intel_memory_region *mem) in region_lmem_init() 185 struct intel_memory_region *mem) in reserve_lowmem_region() 201 static struct intel_memory_region *setup_lmem(struct intel_gt *gt) in setup_lmem() 206 struct intel_memory_region *mem; in setup_lmem() 287 struct intel_memory_region *intel_gt_setup_lmem(struct intel_gt *gt) in intel_gt_setup_lmem()
|
D | intel_region_lmem.h | 11 struct intel_memory_region *intel_gt_setup_lmem(struct intel_gt *gt);
|
/linux-6.12.1/drivers/gpu/drm/i915/selftests/ |
D | mock_region.h | 12 struct intel_memory_region; 14 struct intel_memory_region *
|
D | mock_region.c | 60 static int mock_object_init(struct intel_memory_region *mem, in mock_object_init() 87 static int mock_region_fini(struct intel_memory_region *mem) in mock_region_fini() 105 struct intel_memory_region *
|
D | intel_memory_region.c | 32 static void close_objects(struct intel_memory_region *mem, in close_objects() 56 struct intel_memory_region *mem = arg; in igt_mock_fill() 107 igt_object_create(struct intel_memory_region *mem, in igt_object_create() 158 struct intel_memory_region *mem = arg; in igt_mock_reserve() 238 struct intel_memory_region *mem = arg; in igt_mock_contiguous() 370 struct intel_memory_region *mem = arg; in igt_mock_splintered_region() 454 struct intel_memory_region *mem = arg; in igt_mock_max_segment() 535 struct intel_memory_region *mr = obj->mm.region; in igt_object_mappable_total() 556 struct intel_memory_region *mr = arg; in igt_mock_io_size() 1162 create_region_for_mapping(struct intel_memory_region *mr, u64 size, u32 type, in create_region_for_mapping() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_mman.c | 603 struct intel_memory_region *sys_region = in create_sys_or_internal() 975 struct intel_memory_region *mr; in igt_mmap() 1050 static int igt_fill_mappable(struct intel_memory_region *mr, in igt_fill_mappable() 1171 static int __igt_mmap_migrate(struct intel_memory_region **placements, in __igt_mmap_migrate() 1173 struct intel_memory_region *expected_mr, in __igt_mmap_migrate() 1310 struct intel_memory_region *system = i915->mm.regions[INTEL_REGION_SMEM]; in igt_mmap_migrate() 1311 struct intel_memory_region *mr; in igt_mmap_migrate() 1315 struct intel_memory_region *mixed[] = { mr, system }; in igt_mmap_migrate() 1316 struct intel_memory_region *single[] = { mr }; in igt_mmap_migrate() 1507 struct intel_memory_region *mr; in igt_mmap_access() [all …]
|
D | i915_gem_dmabuf.c | 96 struct intel_memory_region *lmem = i915->mm.regions[INTEL_REGION_LMEM_0]; in igt_dmabuf_import_same_driver_lmem() 220 struct intel_memory_region **regions, in igt_dmabuf_import_same_driver() 326 struct intel_memory_region *smem = i915->mm.regions[INTEL_REGION_SMEM]; in igt_dmabuf_import_same_driver_smem() 334 struct intel_memory_region *regions[2]; in igt_dmabuf_import_same_driver_lmem_smem()
|