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.c177 u32 bo_flags, u32 *c) in res_to_mem_region()
179 if (bo_flags & XE_BO_FLAG_SYSTEM) { in res_to_mem_region()
184 .flags = (bo_flags & XE_BO_FLAG_VRAM_MASK) ? in res_to_mem_region()
191 static bool force_contiguous(u32 bo_flags) in try_add_system()
193 if (bo_flags & XE_BO_FLAG_STOLEN) in try_add_system()
195 else if (bo_flags & XE_BO_FLAG_PINNED && in try_add_system()
196 !(bo_flags & XE_BO_FLAG_PINNED_LATE_RESTORE)) in try_add_system()
198 else if (bo_flags & XE_BO_FLAG_CPU_ADDR_MIRROR) in try_add_system()
205 return bo_flags & XE_BO_FLAG_NEEDS_CPU_ACCESS && in force_contiguous()
206 bo_flags in force_contiguous()
190 try_add_system(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_system() argument
204 force_contiguous(u32 bo_flags) force_contiguous() argument
230 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
244 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
275 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
287 try_add_stolen(struct xe_device * xe,struct xe_bo * bo,u32 bo_flags,u32 * c) try_add_stolen() argument
302 __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
322 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
3338 unsigned int bo_flags; xe_gem_create_ioctl() local
[all...]
H A Dxe_lrc.c1641 u32 bo_flags; in xe_lrc_init()
1660 bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile) | XE_BO_FLAG_GGTT | in xe_lrc_init()
1664 bo_flags |= XE_BO_FLAG_PINNED_LATE_RESTORE | XE_BO_FLAG_FORCE_USER_VRAM; in xe_lrc_init()
1668 bo_flags, false); in xe_lrc_init()
1612 u32 bo_flags; xe_lrc_init() local
H A Dxe_bo.h150 u32 bo_flags, enum ttm_bo_type type);
H A Dxe_pt.c109 u32 bo_flags; in xe_pt_create()
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()
108 u32 bo_flags; xe_pt_create() local
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_bo.c135 unsigned int bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile); in ccs_test_run_tile() local
144 bo_flags, exec); in ccs_test_run_tile()
210 unsigned int bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile); in evict_test_run_tile() local
223 bo_flags, exec); in evict_test_run_tile()
232 bo_flags, NULL); in evict_test_run_tile()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c1271 * @bo_flags: Combination of drm_panthor_bo_flags flags.
1283 size_t size, u32 bo_flags, u32 vm_map_flags,
1301 bo = panthor_gem_create(&ptdev->base, size, bo_flags, vm, debug_flags);
174 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
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.h355 bool amdgpu_bo_support_uswc(u64 bo_flags);