Searched refs:placements (Results 1 – 16 of 16) sorted by relevance
105 rbo->placement.placement = rbo->placements; in radeon_ttm_placement_from_domain()106 rbo->placement.busy_placement = rbo->placements; in radeon_ttm_placement_from_domain()113 rbo->placements[c].fpfn = in radeon_ttm_placement_from_domain()115 rbo->placements[c].mem_type = TTM_PL_VRAM; in radeon_ttm_placement_from_domain()116 rbo->placements[c++].flags = TTM_PL_FLAG_WC | in radeon_ttm_placement_from_domain()120 rbo->placements[c].fpfn = 0; in radeon_ttm_placement_from_domain()121 rbo->placements[c].mem_type = TTM_PL_VRAM; in radeon_ttm_placement_from_domain()122 rbo->placements[c++].flags = TTM_PL_FLAG_WC | in radeon_ttm_placement_from_domain()128 rbo->placements[c].fpfn = 0; in radeon_ttm_placement_from_domain()129 rbo->placements[c].mem_type = TTM_PL_TT; in radeon_ttm_placement_from_domain()[all …]
88 static const struct ttm_place placements = { in radeon_evict_flags() local98 placement->placement = &placements; in radeon_evict_flags()99 placement->busy_placement = &placements; in radeon_evict_flags()123 if (rbo->placements[i].mem_type == TTM_PL_VRAM) { in radeon_evict_flags()124 if (rbo->placements[i].fpfn < fpfn) in radeon_evict_flags()125 rbo->placements[i].fpfn = fpfn; in radeon_evict_flags()128 &rbo->placements[i]; in radeon_evict_flags()216 struct ttm_place placements; in radeon_move_vram_ram() local223 placement.placement = &placements; in radeon_move_vram_ram()225 placement.busy_placement = &placements; in radeon_move_vram_ram()[all …]
308 rbo->placements[i].fpfn = 0 >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()309 rbo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()321 rbo->placements[1] = rbo->placements[0]; in radeon_uvd_force_into_uvd_segment()322 rbo->placements[1].fpfn += (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()323 rbo->placements[1].lpfn += (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()
495 struct ttm_place placements[4]; member
65 qbo->placement.placement = qbo->placements; in qxl_ttm_placement_from_domain()66 qbo->placement.busy_placement = qbo->placements; in qxl_ttm_placement_from_domain()68 qbo->placements[c].mem_type = TTM_PL_VRAM; in qxl_ttm_placement_from_domain()69 qbo->placements[c++].flags = TTM_PL_FLAG_CACHED | pflag; in qxl_ttm_placement_from_domain()72 qbo->placements[c].mem_type = TTM_PL_PRIV; in qxl_ttm_placement_from_domain()73 qbo->placements[c++].flags = TTM_PL_FLAG_CACHED | pflag; in qxl_ttm_placement_from_domain()74 qbo->placements[c].mem_type = TTM_PL_VRAM; in qxl_ttm_placement_from_domain()75 qbo->placements[c++].flags = TTM_PL_FLAG_CACHED | pflag; in qxl_ttm_placement_from_domain()78 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()79 qbo->placements[c++].flags = TTM_PL_MASK_CACHING | pflag; in qxl_ttm_placement_from_domain()[all …]
55 static const struct ttm_place placements = { in qxl_evict_flags() local63 placement->placement = &placements; in qxl_evict_flags()64 placement->busy_placement = &placements; in qxl_evict_flags()
80 struct ttm_place placements[3]; member
145 gbo->placement.placement = gbo->placements; in drm_gem_vram_placement()146 gbo->placement.busy_placement = gbo->placements; in drm_gem_vram_placement()149 gbo->placements[c].mem_type = TTM_PL_VRAM; in drm_gem_vram_placement()150 gbo->placements[c++].flags = TTM_PL_FLAG_WC | in drm_gem_vram_placement()156 gbo->placements[c].mem_type = TTM_PL_SYSTEM; in drm_gem_vram_placement()157 gbo->placements[c++].flags = TTM_PL_MASK_CACHING | in drm_gem_vram_placement()165 gbo->placements[i].fpfn = 0; in drm_gem_vram_placement()166 gbo->placements[i].lpfn = 0; in drm_gem_vram_placement()323 gbo->placements[i].flags |= TTM_PL_FLAG_NO_EVICT; in drm_gem_vram_pin_locked()385 gbo->placements[i].flags &= ~TTM_PL_FLAG_NO_EVICT; in drm_gem_vram_unpin_locked()
91 static const struct ttm_place placements = { in amdgpu_evict_flags() local107 placement->placement = &placements; in amdgpu_evict_flags()108 placement->busy_placement = &placements; in amdgpu_evict_flags()138 abo->placements[0].fpfn = adev->gmc.visible_vram_size >> PAGE_SHIFT; in amdgpu_evict_flags()139 abo->placements[0].lpfn = 0; in amdgpu_evict_flags()140 abo->placement.busy_placement = &abo->placements[1]; in amdgpu_evict_flags()527 struct ttm_place placements; in amdgpu_move_vram_ram() local535 placement.placement = &placements; in amdgpu_move_vram_ram()537 placement.busy_placement = &placements; in amdgpu_move_vram_ram()538 placements.fpfn = 0; in amdgpu_move_vram_ram()[all …]
130 struct ttm_place *places = abo->placements; in amdgpu_bo_placement_from_domain()396 (*bo_ptr)->placements[i].fpfn = offset >> PAGE_SHIFT; in amdgpu_bo_create_kernel_at()397 (*bo_ptr)->placements[i].lpfn = (offset + size) >> PAGE_SHIFT; in amdgpu_bo_create_kernel_at()957 if (fpfn > bo->placements[i].fpfn) in amdgpu_bo_pin_restricted()958 bo->placements[i].fpfn = fpfn; in amdgpu_bo_pin_restricted()959 if (!bo->placements[i].lpfn || in amdgpu_bo_pin_restricted()960 (lpfn && lpfn < bo->placements[i].lpfn)) in amdgpu_bo_pin_restricted()961 bo->placements[i].lpfn = lpfn; in amdgpu_bo_pin_restricted()962 bo->placements[i].flags |= TTM_PL_FLAG_NO_EVICT; in amdgpu_bo_pin_restricted()1033 bo->placements[i].lpfn = 0; in amdgpu_bo_unpin()[all …]
616 bo->placements[i].fpfn = max(bo->placements[i].fpfn, fpfn); in amdgpu_vce_validate_bo()617 bo->placements[i].lpfn = bo->placements[i].lpfn ? in amdgpu_vce_validate_bo()618 min(bo->placements[i].lpfn, lpfn) : lpfn; in amdgpu_vce_validate_bo()
87 struct ttm_place placements[AMDGPU_BO_MAX_PLACEMENTS]; member
489 abo->placements[i].fpfn = 0 >> PAGE_SHIFT; in amdgpu_uvd_force_into_uvd_segment()490 abo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; in amdgpu_uvd_force_into_uvd_segment()
66 struct ttm_place placements[2]; member
405 nvbo->placements[i].fpfn = fpfn; in set_placement_range()406 nvbo->placements[i].lpfn = lpfn; in set_placement_range()425 pl->placement = nvbo->placements; in nouveau_bo_placement_set()426 set_placement_list(drm, nvbo->placements, &pl->num_placement, in nouveau_bo_placement_set()1290 nvbo->placements[i].fpfn = 0; in nouveau_ttm_fault_reserve_notify()1291 nvbo->placements[i].lpfn = mappable; in nouveau_ttm_fault_reserve_notify()
16 struct ttm_place placements[3]; member