/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 68 struct ttm_placement *placement) in ttm_bo_mem_space_debug() 77 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug() 78 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug() 79 drm_printf(&p, " placement[%d]=0x%08X (%d)\n", in ttm_bo_mem_space_debug() 80 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 121 if (mem->placement & TTM_PL_FLAG_NO_EVICT) in ttm_bo_add_mem_to_lru() 168 if (bulk && !(bo->mem.placement & TTM_PL_FLAG_NO_EVICT) && in ttm_bo_move_to_lru_tail() 259 ret = ttm_tt_set_placement_caching(bo->ttm, mem->placement); in ttm_bo_handle_move_mem() 67 ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, struct ttm_placement *placement) ttm_bo_mem_space_debug() argument 605 struct ttm_placement placement; ttm_bo_evict() local 944 ttm_bo_mem_space(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_resource *mem, struct ttm_operation_ctx *ctx) ttm_bo_mem_space() argument 1015 ttm_bo_move_buffer(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_operation_ctx *ctx) ttm_bo_move_buffer() argument 1068 ttm_bo_mem_compat(struct ttm_placement *placement, struct ttm_resource *mem, uint32_t *new_flags) ttm_bo_mem_compat() argument 1087 ttm_bo_validate(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_operation_ctx *ctx) ttm_bo_validate() argument 1130 ttm_bo_init_reserved(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, struct ttm_operation_ctx *ctx, size_t acc_size, struct sg_table *sg, struct dma_resv *resv, void (*destroy) (struct ttm_buffer_object *)) ttm_bo_init_reserved() argument 1238 ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, size_t acc_size, struct sg_table *sg, struct dma_resv *resv, void (*destroy) (struct ttm_buffer_object *)) ttm_bo_init() argument 1293 ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct ttm_buffer_object **p_bo) ttm_bo_create() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 50 struct ttm_placement *placement) in ttm_bo_mem_space_debug() 56 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug() 57 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug() 58 drm_printf(&p, " placement[%d]=0x%08X (%d)\n", in ttm_bo_mem_space_debug() 59 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 408 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer() 428 struct ttm_placement placement; in ttm_bo_evict() local 436 placement in ttm_bo_evict() 49 ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, struct ttm_placement *placement) ttm_bo_mem_space_debug() argument 771 ttm_bo_mem_space(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_resource **mem, struct ttm_operation_ctx *ctx) ttm_bo_mem_space() argument 838 ttm_bo_move_buffer(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_operation_ctx *ctx) ttm_bo_move_buffer() argument 890 ttm_bo_validate(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_operation_ctx *ctx) ttm_bo_validate() argument 961 ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t alignment, struct ttm_operation_ctx *ctx, struct sg_table *sg, struct dma_resv *resv, void (*destroy) (struct ttm_buffer_object *)) ttm_bo_init_reserved() argument 1054 ttm_bo_init_validate(struct ttm_device *bdev, struct ttm_buffer_object *bo, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t alignment, bool interruptible, struct sg_table *sg, struct dma_resv *resv, void (*destroy) (struct ttm_buffer_object *)) ttm_bo_init_validate() argument [all...] |
H A D | ttm_resource.c | 172 * @place: placement of the resource 186 res->placement = place->flags; in ttm_resource_init() 265 * @place: The placement to test 271 * Returns true if the res placement intersects with @place and @size. 295 * @place: The placement to test 300 * Returns true if the res placement compatible with @place and @size. 327 if (res->placement & TTM_PL_FLAG_TEMPORARY) in ttm_resource_places_compat() 338 (res->placement & TTM_PL_FLAG_CONTIGUOUS))) in ttm_resource_places_compat() 345 * ttm_resource_compat - check if resource is compatible with placement 348 * @placement 352 ttm_resource_compat(struct ttm_resource *res, struct ttm_placement *placement) ttm_resource_compat() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 59 * vmw_bo_pin_in_placement - Validate a buffer to placement. 63 * @placement: The placement to pin it. 70 struct ttm_placement *placement, in vmw_bo_pin_in_placement() 83 ret = ttm_bo_validate(bo, placement, &ctx); in vmw_bo_pin_in_placement() 122 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr() 129 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_vram_or_gmr() 200 (void)ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram() 207 ret = ttm_bo_validate(bo, &buf->placement, &ctx); in vmw_bo_pin_in_start_of_vram() 252 * vmw_bo_get_guest_ptr - Get the guest ptr representing the current placement 68 vmw_bo_pin_in_placement(struct vmw_private *dev_priv, struct vmw_bo *buf, struct ttm_placement *placement, bool interruptible) vmw_bo_pin_in_placement() argument 282 struct ttm_placement placement; vmw_bo_pin_reserved() local [all...] |
H A D | vmwgfx_gem.c | 184 const char *placement; in vmw_bo_print_info() local 189 placement = " CPU"; in vmw_bo_print_info() 192 placement = " GMR"; in vmw_bo_print_info() 195 placement = " MOB"; in vmw_bo_print_info() 198 placement = "VCPU"; in vmw_bo_print_info() 201 placement = "VRAM"; in vmw_bo_print_info() 204 placement = "None"; in vmw_bo_print_info() 224 id, bo->tbo.base.size, placement, type); in vmw_bo_print_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 80 * vmw_bo_pin_in_placement - Validate a buffer to placement. 84 * @placement: The placement to pin it. 91 struct ttm_placement *placement, in vmw_bo_pin_in_placement() 110 ret = ttm_bo_mem_compat(placement, &bo->mem, in vmw_bo_pin_in_placement() 113 ret = ttm_bo_validate(bo, placement, &ctx); in vmw_bo_pin_in_placement() 220 struct ttm_placement placement; in vmw_bo_pin_in_start_of_vram() local 225 place = vmw_vram_placement.placement[0]; in vmw_bo_pin_in_start_of_vram() 227 placement.num_placement = 1; in vmw_bo_pin_in_start_of_vram() 228 placement in vmw_bo_pin_in_start_of_vram() 89 vmw_bo_pin_in_placement(struct vmw_private *dev_priv, struct vmw_buffer_object *buf, struct ttm_placement *placement, bool interruptible) vmw_bo_pin_in_placement() argument 339 struct ttm_placement placement; vmw_bo_pin_reserved() local 504 vmw_bo_init(struct vmw_private *dev_priv, struct vmw_buffer_object *vmw_bo, size_t size, struct ttm_placement *placement, bool interruptible, void (*bo_free)(struct ttm_buffer_object *bo)) vmw_bo_init() argument [all...] |
H A D | vmwgfx_ttm_buffer.c | 91 .placement = &vram_placement_flags, 126 .placement = vram_gmr_placement_flags, 149 .placement = vram_gmr_ne_placement_flags, 156 .placement = &vram_placement_flags, 163 .placement = &vram_ne_placement_flags, 170 .placement = &sys_placement_flags, 177 .placement = &sys_ne_placement_flags, 227 .placement = evictable_placement_flags, 235 .placement = &gmr_placement_flags, 242 .placement 728 vmw_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) vmw_evict_flags() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 51 struct ttm_placement *placement) in qxl_evict_flags() 62 placement->placement = &placements; in qxl_evict_flags() 63 placement->busy_placement = &placements; in qxl_evict_flags() 64 placement->num_placement = 1; in qxl_evict_flags() 65 placement->num_busy_placement = 1; in qxl_evict_flags() 70 *placement = qbo->placement; in qxl_evict_flags() 50 qxl_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) qxl_evict_flags() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 86 struct ttm_placement *placement) in radeon_evict_flags() 98 placement->placement = &placements; in radeon_evict_flags() 99 placement->busy_placement = &placements; in radeon_evict_flags() 100 placement->num_placement = 1; in radeon_evict_flags() 101 placement->num_busy_placement = 1; in radeon_evict_flags() 115 * first, but only set GTT as busy placement, so this in radeon_evict_flags() 121 rbo->placement.num_busy_placement = 0; in radeon_evict_flags() 122 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_evict_flags() 127 rbo->placement in radeon_evict_flags() 85 radeon_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) radeon_evict_flags() argument 217 struct ttm_placement placement; radeon_move_vram_ram() local 267 struct ttm_placement placement; radeon_move_ram_vram() local [all...] |
H A D | radeon_object.c | 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() 169 rbo->placement.num_placement = c; in radeon_ttm_placement_from_domain() 170 rbo->placement.num_busy_placement = c; in radeon_ttm_placement_from_domain() 263 &bo->placement, page_align, !kernel, acc_size, in radeon_bo_create() 361 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_pin_restricted() 374 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_pin_restricted() 406 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_unpin() 410 r = ttm_bo_validate(&bo->tbo, &bo->placement, in radeon_bo_unpin() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm.c | 67 .placement = &sys_placement_flags, 79 * Return: A pointer to a static variable for sys placement. 162 struct ttm_placement *placement) in i915_ttm_placement_from_obj() 168 placement->num_placement = 1; in i915_ttm_placement_from_obj() 174 placement->num_busy_placement = num_allowed; in i915_ttm_placement_from_obj() 175 for (i = 0; i < placement->num_busy_placement; ++i) in i915_ttm_placement_from_obj() 181 placement->num_busy_placement = 1; in i915_ttm_placement_from_obj() 184 placement->placement = requested; in i915_ttm_placement_from_obj() 185 placement in i915_ttm_placement_from_obj() 159 i915_ttm_placement_from_obj(const struct drm_i915_gem_object *obj, struct ttm_place *requested, struct ttm_place *busy, struct ttm_placement *placement) i915_ttm_placement_from_obj() argument 384 i915_ttm_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) i915_ttm_evict_flags() argument 780 __i915_ttm_get_pages(struct drm_i915_gem_object *obj, struct ttm_placement *placement) __i915_ttm_get_pages() argument 843 struct ttm_placement placement; i915_ttm_get_pages() local 876 struct ttm_placement placement; __i915_ttm_migrate() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 52 struct ttm_placement *placement) in qxl_evict_flags() 63 placement->placement = &placements; in qxl_evict_flags() 64 placement->busy_placement = &placements; in qxl_evict_flags() 65 placement->num_placement = 1; in qxl_evict_flags() 66 placement->num_busy_placement = 1; in qxl_evict_flags() 71 *placement = qbo->placement; in qxl_evict_flags() 51 qxl_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) qxl_evict_flags() argument
|
H A D | qxl_object.c | 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() 85 qbo->placement.num_placement = c; in qxl_ttm_placement_from_domain() 86 qbo->placement.num_busy_placement = c; in qxl_ttm_placement_from_domain() 142 &bo->placement, 0, !kernel, size, in qxl_bo_create() 257 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in __qxl_bo_pin() 279 for (i = 0; i < bo->placement.num_placement; i++) in __qxl_bo_unpin() 281 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in __qxl_bo_unpin()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 79 * amdgpu_evict_flags - Compute placement flags 82 * @placement: Possible destination(s) for evicted BO 84 * Fill in placement data when ttm_bo_evict() is called 87 struct ttm_placement *placement) in amdgpu_evict_flags() 100 placement->num_placement = 0; in amdgpu_evict_flags() 101 placement->num_busy_placement = 0; in amdgpu_evict_flags() 107 placement->placement = &placements; in amdgpu_evict_flags() 108 placement->busy_placement = &placements; in amdgpu_evict_flags() 109 placement in amdgpu_evict_flags() 86 amdgpu_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) amdgpu_evict_flags() argument 528 struct ttm_placement placement; amdgpu_move_vram_ram() local 588 struct ttm_placement placement; amdgpu_move_ram_vram() local 1176 struct ttm_placement placement; amdgpu_ttm_alloc_gart() local [all...] |
H A D | amdgpu_object.c | 119 * amdgpu_bo_placement_from_domain - set buffer's placement 120 * @abo: &amdgpu_bo buffer object whose placement is to be set 123 * Sets buffer's placement according to requested domain and the buffer's 129 struct ttm_placement *placement = &abo->placement; in amdgpu_bo_placement_from_domain() local 212 placement->num_placement = c; in amdgpu_bo_placement_from_domain() 213 placement->placement = places; in amdgpu_bo_placement_from_domain() 215 placement->num_busy_placement = c; in amdgpu_bo_placement_from_domain() 216 placement in amdgpu_bo_placement_from_domain() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_gem_vram_helper.c | 145 gbo->placement.placement = gbo->placements; in drm_gem_vram_placement() 146 gbo->placement.busy_placement = gbo->placements; in drm_gem_vram_placement() 161 gbo->placement.num_placement = c; in drm_gem_vram_placement() 162 gbo->placement.num_busy_placement = c; in drm_gem_vram_placement() 204 &gbo->placement, pg_align, false, acc_size, in drm_gem_vram_init() 322 for (i = 0; i < gbo->placement.num_placement; ++i) in drm_gem_vram_pin_locked() 325 ret = ttm_bo_validate(&gbo->bo, &gbo->placement, &ctx); in drm_gem_vram_pin_locked() 384 for (i = 0; i < gbo->placement.num_placement ; ++i) in drm_gem_vram_unpin_locked() 387 ret = ttm_bo_validate(&gbo->bo, &gbo->placement, in drm_gem_vram_unpin_locked() 955 bo_driver_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) bo_driver_evict_flags() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 315 &nvbo->placement, align >> PAGE_SHIFT, false, in nouveau_bo_init() 404 for (i = 0; i < nvbo->placement.num_placement; ++i) { in set_placement_range() 408 for (i = 0; i < nvbo->placement.num_busy_placement; ++i) { in set_placement_range() 420 struct ttm_placement *pl = &nvbo->placement; in nouveau_bo_placement_set() 425 pl->placement = nvbo->placements; in nouveau_bo_placement_set() 654 ret = ttm_bo_validate(&nvbo->bo, &nvbo->placement, &ctx); in nouveau_bo_validate() 764 *pl = nvbo->placement; in nouveau_bo_evict_flags() 926 struct ttm_placement placement; in nouveau_bo_move_flipd() local 930 placement.num_placement = placement in nouveau_bo_move_flipd() 968 struct ttm_placement placement; nouveau_bo_move_flips() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 118 * amdgpu_bo_placement_from_domain - set buffer's placement 119 * @abo: &amdgpu_bo buffer object whose placement is to be set 122 * Sets buffer's placement according to requested domain and the buffer's 128 struct ttm_placement *placement = &abo->placement; in amdgpu_bo_placement_from_domain() local 221 placement->num_placement = c; in amdgpu_bo_placement_from_domain() 222 placement->placement = places; in amdgpu_bo_placement_from_domain() 224 placement->num_busy_placement = c; in amdgpu_bo_placement_from_domain() 225 placement in amdgpu_bo_placement_from_domain() 1576 const char *placement; amdgpu_bo_print_info() local [all...] |
H A D | amdgpu_ttm.c | 83 * amdgpu_evict_flags - Compute placement flags 86 * @placement: Possible destination(s) for evicted BO 88 * Fill in placement data when ttm_bo_evict() is called 91 struct ttm_placement *placement) in amdgpu_evict_flags() 104 placement->num_placement = 0; in amdgpu_evict_flags() 105 placement->num_busy_placement = 0; in amdgpu_evict_flags() 111 placement->placement = &placements; in amdgpu_evict_flags() 112 placement->busy_placement = &placements; in amdgpu_evict_flags() 113 placement in amdgpu_evict_flags() 90 amdgpu_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) amdgpu_evict_flags() argument 953 struct ttm_placement placement; amdgpu_ttm_alloc_gart() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/ |
H A D | ecc.c | 155 /* Define default OOB placement schemes for large and small page devices */ 362 enum nand_ecc_placement placement; in of_get_nand_ecc_placement() local 366 err = of_property_read_string(np, "nand-ecc-placement", &pm); in of_get_nand_ecc_placement() 368 for (placement = NAND_ECC_PLACEMENT_OOB; in of_get_nand_ecc_placement() 369 placement < ARRAY_SIZE(nand_ecc_placement); placement++) { in of_get_nand_ecc_placement() 370 if (!strcasecmp(pm, nand_ecc_placement[placement])) in of_get_nand_ecc_placement() 371 return placement; in of_get_nand_ecc_placement() 428 nand->ecc.user_conf.placement = of_get_nand_ecc_placement(dn); in of_get_nand_ecc_user_config()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_object.c | 80 rbo->placement.placement = rbo->placements; in radeon_ttm_placement_from_domain() 81 rbo->placement.busy_placement = rbo->placements; in radeon_ttm_placement_from_domain() 116 rbo->placement.num_placement = c; in radeon_ttm_placement_from_domain() 117 rbo->placement.num_busy_placement = c; in radeon_ttm_placement_from_domain() 206 &bo->placement, page_align, !kernel, sg, resv, in radeon_bo_create() 309 for (i = 0; i < bo->placement.num_placement; i++) { in radeon_bo_pin_restricted() 320 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_pin_restricted() 516 r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); in radeon_bo_list_validate() 752 for (i = 0; i < rbo->placement in radeon_bo_fault_reserve_notify() [all...] |
H A D | radeon_ttm.c | 82 struct ttm_placement *placement) in radeon_evict_flags() 94 placement->placement = &placements; in radeon_evict_flags() 95 placement->busy_placement = &placements; in radeon_evict_flags() 96 placement->num_placement = 1; in radeon_evict_flags() 97 placement->num_busy_placement = 1; in radeon_evict_flags() 111 * first, but only set GTT as busy placement, so this in radeon_evict_flags() 117 rbo->placement.num_busy_placement = 0; in radeon_evict_flags() 118 for (i = 0; i < rbo->placement.num_placement; i++) { in radeon_evict_flags() 123 rbo->placement in radeon_evict_flags() 81 radeon_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) radeon_evict_flags() argument [all...] |
/kernel/linux/linux-5.10/include/drm/ttm/ |
H A D | ttm_bo_api.h | 92 * @mem: structure describing current placement. 105 * @cur_placement: Hint of current placement. 107 * Base class for TTM buffer object, that deals with data placement and CPU 109 * the driver can usually use the placement offset @offset directly as the 113 * placement and caching for these GPU maps. This makes it possible to use 205 * Context for TTM operations like changing buffer placement or general memory 266 * ttm_bo_mem_compat - Check if proposed placement is compatible with a bo 268 * @placement: Return immediately if buffer is busy. 270 * @new_flags: Describes compatible placement found 272 * Returns true if the placement i [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_gem_vram_helper.c | 149 gbo->placement.placement = gbo->placements; in drm_gem_vram_placement() 150 gbo->placement.busy_placement = gbo->placements; in drm_gem_vram_placement() 162 gbo->placement.num_placement = c; in drm_gem_vram_placement() 163 gbo->placement.num_busy_placement = c; in drm_gem_vram_placement() 231 &gbo->placement, pg_align, false, NULL, NULL, in drm_gem_vram_create() 294 ret = ttm_bo_validate(&gbo->bo, &gbo->placement, &ctx); in drm_gem_vram_pin_locked() 549 *pl = gbo->placement; in drm_gem_vram_bo_driver_evict_flags() 885 struct ttm_placement *placement) in bo_driver_evict_flags() 895 drm_gem_vram_bo_driver_evict_flags(gbo, placement); in bo_driver_evict_flags() 884 bo_driver_evict_flags(struct ttm_buffer_object *bo, struct ttm_placement *placement) bo_driver_evict_flags() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 56 lbo->placement.placement = lbo->placements; in lsdc_bo_set_placement() 57 lbo->placement.busy_placement = lbo->placements; in lsdc_bo_set_placement() 79 lbo->placement.num_placement = c; in lsdc_bo_set_placement() 80 lbo->placement.num_busy_placement = c; in lsdc_bo_set_placement() 157 *tplacement = lbo->placement; in lsdc_bo_evict_flags() 304 ret = ttm_bo_validate(tbo, &lbo->placement, &ctx); in lsdc_bo_pin() 481 ret = ttm_bo_init_validate(bdev, tbo, bo_type, &lbo->placement, 0, in lsdc_bo_create()
|