Home
last modified time | relevance | path

Searched refs:bo_flags (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c187 u32 bo_flags, u32 *c) in try_add_system()
189 if (bo_flags & XE_BO_FLAG_SYSTEM) { in try_add_system()
194 .flags = (bo_flags & XE_BO_FLAG_VRAM_MASK) ? in force_contiguous()
201 static bool force_contiguous(u32 bo_flags) in force_contiguous()
203 if (bo_flags & XE_BO_FLAG_STOLEN) in force_contiguous()
205 else if (bo_flags & XE_BO_FLAG_PINNED && in force_contiguous()
206 !(bo_flags & XE_BO_FLAG_PINNED_LATE_RESTORE)) in force_contiguous()
208 else if (bo_flags & XE_BO_FLAG_CPU_ADDR_MIRROR)
215 return bo_flags & XE_BO_FLAG_NEEDS_CPU_ACCESS && in vram_bo_flag_to_tile_id()
216 bo_flags in vram_bo_flag_to_tile_id()
177 try_add_system(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_system() argument
191 force_contiguous(u32 bo_flags) force_contiguous() argument
217 bo_vram_flags_to_vram_placement(struct xe_device * xe,u32 bo_flags,u32 vram_flag,enum ttm_bo_type type) bo_vram_flags_to_vram_placement() argument
231 add_vram(struct xe_device * xe,struct xe_bo * bo,struct ttm_place * places,u32 bo_flags,u32 mem_type,u32 * c) add_vram() argument
262 try_add_vram(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type,u32 * c) try_add_vram() argument
274 try_add_stolen(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_stolen() argument
289 __xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type) __xe_bo_placement_for_flags() argument
309 xe_bo_placement_for_flags(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,enum ttm_bo_type type) xe_bo_placement_for_flags() argument
2813 xe_bo_apply_debug_page_size_policy(struct xe_device * xe,u32 * bo_flags,size_t * size) xe_bo_apply_debug_page_size_policy() argument
2884 xe_bo_apply_debug_page_size_policy(struct xe_device * xe,u32 * bo_flags,size_t * size) xe_bo_apply_debug_page_size_policy() argument
3612 unsigned int bo_flags; xe_gem_create_ioctl() local
[all...]
H A Dxe_bo.h154 u32 bo_flags, enum ttm_bo_type type);
H A Dxe_lrc.c1694 u32 bo_flags; in xe_lrc_init()
1713 bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile) | XE_BO_FLAG_GGTT |
1717 bo_flags |= XE_BO_FLAG_PINNED_LATE_RESTORE | XE_BO_FLAG_FORCE_USER_VRAM;
1721 bo_flags, false);
1653 u32 bo_flags; xe_lrc_init() local
H A Dxe_pt.c111 u32 bo_flags; in xe_pt_create()
124 bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile) | in xe_pt_create()
128 bo_flags |= XE_BO_FLAG_PINNED_LATE_RESTORE | XE_BO_FLAG_FORCE_USER_VRAM; in xe_pt_create()
135 bo_flags, exec); in xe_pt_create()
109 u32 bo_flags; xe_pt_create() local
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_migrate.c641 unsigned int bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile); in validate_ccs_test_run_tile() local
674 bo_flags | XE_BO_FLAG_NEEDS_CPU_ACCESS | in validate_ccs_test_run_tile()
699 bo_flags | XE_BO_FLAG_NEEDS_CPU_ACCESS | in validate_ccs_test_run_tile()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.c593 bool amdgpu_bo_support_uswc(u64 bo_flags) in amdgpu_bo_support_uswc()
612 if (bo_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC) in amdgpu_bo_support_uswc()
585 amdgpu_bo_support_uswc(u64 bo_flags) amdgpu_bo_support_uswc() argument
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c1278 * @bo_flags: Combination of drm_panthor_bo_flags flags.
1290 size_t size, u32 bo_flags, u32 vm_map_flags, in panthor_kernel_bo_create()
1308 bo = panthor_gem_create(&ptdev->base, size, bo_flags, vm, debug_flags); in panthor_kernel_bo_create()
1287 panthor_kernel_bo_create(struct panthor_device * ptdev,struct panthor_vm * vm,size_t size,u32 bo_flags,u32 vm_map_flags,u64 gpu_va,const char * name) panthor_kernel_bo_create() argument