xe_migrate_to_vram(9)
π xe_migrate_to_vram(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for xe_migrate_to_vram, and the vibe is literally Migrate to VRAM πΈβ¨
π NAME π
xe_migrate_to_vram β Migrate to VRAM π
π¦ SYNOPSIS π¦
struct dma_fence * xe_migrate_to_vram (struct xe_migrate *m , unsigned
long npages , struct drm_pagemap_addr *src_addr , u64 dst_addr , struct
dma_fence *deps );
π ARGUMENTS π
mβ the migration context, like the main-character setup for this migration πnpagesβ number of pages to migrate, fr fr π’src_addrβ array of DMA information (source of migrate) π₯dst_addrβ device physical address of VRAM (destination of migrate) π€depsβstruct dma_fencerepresenting the dependencies that need to be signaled before migration π«Ά
π DESCRIPTION π
It copies from an array dma addresses to a VRAM device physical address. that's the whole move, bestie π
π₯ RETURN π₯
Returns a dma fence for migrate to signal completion on success, and ERR_PTR on failure. slay when it works, ERR_PTR when it doesn't π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_migrate.c, plus the whole friend group:
struct xe_migrate(9)xe_migrate_alloc(9)xe_migrate_init(9)xe_migrate_copy(9)xe_migrate_resolve(9)xe_migrate_lrc(9)xe_migrate_ccs_rw_copy(9)xe_migrate_ccs_rw_copy_clear(9)xe_migrate_exec_queue(9)xe_migrate_vram_copy_chunk(9)xe_migrate_clear(9)xe_migrate_update_pgtables(9)xe_migrate_wait(9)xe_migrate_from_vram(9)xe_migrate_access_memory(9)xe_migrate_job_lock(9)xe_migrate_job_unlock(9)xe_migrate_job_lock_assert(9)
made with π from ./drivers/gpu/drm/xe, dated October 2026 β catch u in the Kernel API Manual, bestie! π
π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms