Home
last modified time | relevance | path

Searched refs:num_placement (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/ttm/tests/
Dttm_kunit_helpers.c31 .num_placement = 1,
36 .num_placement = 1,
41 .num_placement = 1,
Dttm_bo_validate_test.c37 placement->num_placement = num_places; in ttm_placement_kunit_init()
/linux-6.12.1/include/drm/ttm/
Dttm_placement.h99 unsigned num_placement; member
/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_bo.c56 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug()
339 hop_placement.num_placement = 1; in ttm_bo_bounce_temp_buffer()
368 placement.num_placement = 0; in ttm_bo_evict()
371 if (!placement.num_placement) { in ttm_bo_evict()
688 for (i = 0; i < placement->num_placement; ++i) { in ttm_bo_alloc_resource()
789 if (!placement->num_placement) in ttm_bo_validate()
Dttm_resource.c420 for (i = 0; i < placement->num_placement; i++) { in ttm_resource_compatible()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_bo.c48 .num_placement = 1,
68 .num_placement = 2,
109 return bo->placement.num_placement == 1; in xe_bo_has_single_placement()
236 .num_placement = c, in __xe_bo_placement_for_flags()
256 placement->num_placement = 0; in xe_evict_flags()
873 .num_placement = 1, in xe_bo_evict_pinned()
1423 .num_placement = 1, in __xe_bo_fixed_placement()
2163 for (cur_place = 0; cur_place < bo->placement.num_placement; in xe_bo_can_migrate()
2215 placement.num_placement = 1; in xe_bo_migrate()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c323 placement.num_placement = 1; in vmw_bo_pin_reserved()
822 pl->num_placement = set_placement_list(bo->places, domain, busy_domain); in vmw_bo_placement_set()
825 for (i = 0; i < pl->num_placement; ++i) { in vmw_bo_placement_set()
Dvmwgfx_ttm_buffer.c47 .num_placement = 1,
52 .num_placement = 1,
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_object.c115 rbo->placement.num_placement = c; in radeon_ttm_placement_from_domain()
305 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_pin_restricted()
748 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_bo_fault_reserve_notify()
Dradeon_uvd.c309 for (i = 0; i < rbo->placement.num_placement; ++i) { in radeon_uvd_force_into_uvd_segment()
319 if (rbo->placement.num_placement > 1) in radeon_uvd_force_into_uvd_segment()
326 rbo->placement.num_placement++; in radeon_uvd_force_into_uvd_segment()
Dradeon_ttm.c96 placement->num_placement = 1; in radeon_evict_flags()
116 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_evict_flags()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c66 .num_placement = 1,
177 placement->num_placement = num_allowed + 1; in i915_ttm_placement_from_obj()
786 initial_placement.num_placement = 1; in __i915_ttm_get_pages()
877 placement.num_placement = 1; in __i915_ttm_migrate()
/linux-6.12.1/drivers/gpu/drm/qxl/
Dqxl_ttm.c63 placement->num_placement = 1; in qxl_evict_flags()
Dqxl_object.c84 qbo->placement.num_placement = c; in qxl_ttm_placement_from_domain()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c212 placement->num_placement = c; in amdgpu_bo_placement_from_domain()
393 for (i = 0; i < (*bo_ptr)->placement.num_placement; ++i) { in amdgpu_bo_create_kernel_at()
875 for (i = 0; i < bo->placement.num_placement; i++) { in amdgpu_bo_pin()
Damdgpu_ttm.c104 placement->num_placement = 0; in amdgpu_evict_flags()
111 placement->num_placement = 1; in amdgpu_evict_flags()
117 placement->num_placement = 0; in amdgpu_evict_flags()
126 placement->num_placement = 0; in amdgpu_evict_flags()
1000 placement.num_placement = 1; in amdgpu_ttm_alloc_gart()
Damdgpu_vce.c629 for (i = 0; i < bo->placement.num_placement; ++i) { in amdgpu_vce_validate_bo()
Damdgpu_uvd.c551 for (i = 0; i < abo->placement.num_placement; ++i) { in amdgpu_uvd_force_into_uvd_segment()
Damdgpu_cs.c1806 for (i = 0; i < (*bo)->placement.num_placement; i++) in amdgpu_cs_find_mapping()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_bo.c424 for (i = 0; i < nvbo->placement.num_placement; ++i) { in set_placement_range()
435 unsigned int *n = &nvbo->placement.num_placement; in nouveau_bo_placement_set()
1317 for (i = 0; i < nvbo->placement.num_placement; ++i) { in nouveau_ttm_fault_reserve_notify()
/linux-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_ttm.c78 lbo->placement.num_placement = c; in lsdc_bo_set_placement()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_gem_vram_helper.c161 gbo->placement.num_placement = c; in drm_gem_vram_placement()