Home
last modified time | relevance | path

Searched refs:devmem_allocation (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/gpu/drm/
H A Ddrm_gpusvm.c330 zdd->devmem_allocation = NULL; in drm_gpusvm_zdd_alloc()
1788 zdd->devmem_allocation = devmem_allocation; /* Owns ref */ in drm_gpusvm_migrate_to_devmem()
1957 mmput_async(devmem_allocation->mm); in drm_gpusvm_evict_to_ram()
2062 ops = zdd->devmem_allocation->ops; in __drm_gpusvm_migrate_to_ram()
2063 dev = zdd->devmem_allocation->dev; in __drm_gpusvm_migrate_to_ram()
2185 zdd->devmem_allocation->size); in drm_gpusvm_migrate_to_ram()
2268 devmem_allocation->dev = dev; in drm_gpusvm_devmem_init()
2269 devmem_allocation->mm = mm; in drm_gpusvm_devmem_init()
2270 devmem_allocation->ops = ops; in drm_gpusvm_devmem_init()
2271 devmem_allocation->dpagemap = dpagemap; in drm_gpusvm_devmem_init()
[all …]
/linux-6.15/include/drm/
H A Ddrm_gpusvm.h39 void (*devmem_release)(struct drm_gpusvm_devmem *devmem_allocation);
51 int (*populate_devmem_pfn)(struct drm_gpusvm_devmem *devmem_allocation,
361 struct drm_gpusvm_devmem *devmem_allocation,
364 int drm_gpusvm_evict_to_ram(struct drm_gpusvm_devmem *devmem_allocation);
378 void drm_gpusvm_devmem_init(struct drm_gpusvm_devmem *devmem_allocation,
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_svm.c537 static struct xe_bo *to_xe_bo(struct drm_gpusvm_devmem *devmem_allocation) in to_xe_bo() argument
539 return container_of(devmem_allocation, struct xe_bo, devmem_allocation); in to_xe_bo()
542 static void xe_svm_devmem_release(struct drm_gpusvm_devmem *devmem_allocation) in xe_svm_devmem_release() argument
544 struct xe_bo *bo = to_xe_bo(devmem_allocation); in xe_svm_devmem_release()
559 static int xe_svm_populate_devmem_pfn(struct drm_gpusvm_devmem *devmem_allocation, in xe_svm_populate_devmem_pfn() argument
562 struct xe_bo *bo = to_xe_bo(devmem_allocation); in xe_svm_populate_devmem_pfn()
705 drm_gpusvm_devmem_init(&bo->devmem_allocation, in xe_svm_alloc_vram()
717 &bo->devmem_allocation, ctx); in xe_svm_alloc_vram()
719 xe_svm_devmem_release(&bo->devmem_allocation); in xe_svm_alloc_vram()
929 return drm_gpusvm_evict_to_ram(&bo->devmem_allocation); in xe_svm_bo_evict()
H A Dxe_bo_types.h85 struct drm_gpusvm_devmem devmem_allocation; member