Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c177 u32 bo_flags, u32 *c) in try_add_system() argument
179 if (bo_flags & XE_BO_FLAG_SYSTEM) { in try_add_system()
184 .flags = (bo_flags & XE_BO_FLAG_VRAM_MASK) ? in try_add_system()
191 static bool force_contiguous(u32 bo_flags) in force_contiguous() argument
193 if (bo_flags & XE_BO_FLAG_STOLEN) in force_contiguous()
195 else if (bo_flags & XE_BO_FLAG_PINNED && in force_contiguous()
196 !(bo_flags & XE_BO_FLAG_PINNED_LATE_RESTORE)) in force_contiguous()
198 else if (bo_flags & XE_BO_FLAG_CPU_ADDR_MIRROR) in force_contiguous()
205 return bo_flags & XE_BO_FLAG_NEEDS_CPU_ACCESS && in force_contiguous()
206 bo_flags in force_contiguous()
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
2718 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
2789 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
3532 unsigned int bo_flags; xe_gem_create_ioctl() local
[all...]
H A Dxe_bo.h155 u32 bo_flags, enum ttm_bo_type type);
H A Dxe_pt.c109 u32 bo_flags; in xe_pt_create() local
122 bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile) | in xe_pt_create()
126 bo_flags |= XE_BO_FLAG_PINNED_LATE_RESTORE | XE_BO_FLAG_FORCE_USER_VRAM; in xe_pt_create()
133 bo_flags, exec); in xe_pt_create()
/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.c585 bool amdgpu_bo_support_uswc(u64 bo_flags) in amdgpu_bo_support_uswc() argument
604 if (bo_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC) in amdgpu_bo_support_uswc()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c1287 size_t size, u32 bo_flags, u32 vm_map_flags, in panthor_kernel_bo_create() argument
1305 bo = panthor_gem_create(&ptdev->base, size, bo_flags, vm, debug_flags); in panthor_kernel_bo_create()