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.c190 u32 bo_flags, u32 *c) in try_add_system() argument
192 if (bo_flags & XE_BO_FLAG_SYSTEM) { in try_add_system()
197 .flags = (bo_flags & XE_BO_FLAG_VRAM_MASK) ? in try_add_system()
204 static bool force_contiguous(u32 bo_flags) in force_contiguous() argument
206 if (bo_flags & XE_BO_FLAG_STOLEN) in force_contiguous()
208 else if (bo_flags & XE_BO_FLAG_PINNED && in force_contiguous()
209 !(bo_flags & XE_BO_FLAG_PINNED_LATE_RESTORE)) in force_contiguous()
211 else if (bo_flags & XE_BO_FLAG_CPU_ADDR_MIRROR) in force_contiguous()
218 return bo_flags & XE_BO_FLAG_NEEDS_CPU_ACCESS && in force_contiguous()
219 bo_flags & XE_BO_FLAG_PINNED; in force_contiguous()
[all …]
H A Dxe_lrc.c1446 u32 bo_flags; in xe_lrc_init() local
1465 bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile) | XE_BO_FLAG_GGTT | in xe_lrc_init()
1469 bo_flags |= XE_BO_FLAG_PINNED_LATE_RESTORE | XE_BO_FLAG_FORCE_USER_VRAM; in xe_lrc_init()
1474 bo_flags, false); in xe_lrc_init()
H A Dxe_pt.c108 u32 bo_flags; in xe_pt_create() local
121 bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile) | in xe_pt_create()
125 bo_flags |= XE_BO_FLAG_PINNED_LATE_RESTORE | XE_BO_FLAG_FORCE_USER_VRAM; in xe_pt_create()
132 bo_flags, exec); in xe_pt_create()
/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.c174 size_t size, u32 bo_flags, u32 vm_map_flags, in panthor_kernel_bo_create() argument
198 bo->flags = bo_flags; in panthor_kernel_bo_create()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c558 uint64_t bo_flags) in amdgpu_display_supported_domains() argument
571 if ((bo_flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC) && in amdgpu_display_supported_domains()
572 amdgpu_bo_support_uswc(bo_flags) && in amdgpu_display_supported_domains()