Home
last modified time | relevance | path

Searched refs:cpu_caching (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c488 switch (bo->cpu_caching) { in xe_ttm_tt_create()
497 WARN_ON((bo->flags & XE_BO_FLAG_USER) && !bo->cpu_caching); in xe_ttm_tt_create()
503 if ((!bo->cpu_caching && bo->flags & XE_BO_FLAG_FORCE_WC) || in xe_ttm_tt_create()
511 * which cpu_caching is never initialized. in xe_ttm_tt_create()
513 xe_assert(xe, bo->cpu_caching == 0); in xe_ttm_tt_create()
2283 * @cpu_caching: The cpu caching used for system memory backing store.
2296 u16 cpu_caching, enum ttm_bo_type type,
2354 bo->cpu_caching = cpu_caching; in xe_bo_init_locked()
2477 u16 cpu_caching, enu in __xe_bo_fixed_placement()
2303 xe_bo_init_locked(struct xe_device * xe,struct xe_bo * bo,struct xe_tile * tile,struct dma_resv * resv,struct ttm_lru_bulk_move * bulk,size_t size,u16 cpu_caching,enum ttm_bo_type type,u32 flags,struct drm_exec * exec) xe_bo_init_locked() argument
2484 __xe_bo_create_locked(struct xe_device * xe,struct xe_tile * tile,struct xe_vm * vm,size_t size,u64 start,u64 end,u16 cpu_caching,enum ttm_bo_type type,u32 flags,u64 alignment,struct drm_exec * exec) __xe_bo_create_locked() argument
2589 xe_bo_create_novm(struct xe_device * xe,struct xe_tile * tile,size_t size,u16 cpu_caching,enum ttm_bo_type type,u32 flags,u64 alignment,bool intr) xe_bo_create_novm() argument
2630 xe_bo_create_user(struct xe_device * xe,struct xe_vm * vm,size_t size,u16 cpu_caching,u32 flags,struct drm_exec * exec) xe_bo_create_user() argument
[all...]
H A Dxe_bo_types.h95 * @cpu_caching: CPU caching mode. Currently only used for userspace
99 u16 cpu_caching; member
H A Dxe_bo.h120 u16 cpu_caching, enum ttm_bo_type type,
127 u16 cpu_caching, u32 flags, struct drm_exec *exec);
H A Dxe_vm_madvise.c507 if (XE_IOCTL_DBG(xe, bo->cpu_caching == DRM_XE_GEM_CPU_CACHING_WB)) in check_pat_args_are_sane()
510 if (XE_IOCTL_DBG(xe, !bo->cpu_caching)) in check_pat_args_are_sane()
H A Dxe_vm.c3817 if (bo->cpu_caching) { in xe_vm_bind_ioctl_validate_bo()
3819 bo->cpu_caching == DRM_XE_GEM_CPU_CACHING_WB)) { in xe_vm_bind_ioctl_validate_bo()
4445 int cpu_caching;
4497 snap->snap[i].cpu_caching = bo->cpu_caching; in xe_vm_snapshot_capture()
4599 drm_printf(p, "[%llx].properties: %s|%s|mem_region=0x%lx|pat_index=%d|cpu_caching=%d\n", in xe_vm_snapshot_print()
4610 snap->snap[i].cpu_caching); in xe_vm_snapshot_print()
4446 int cpu_caching; global() member