xe_migrate_job_unlock(9)
π xe_migrate_job_unlock β Kernel API Manual β¨
okay so bestie, welcome to the xe_migrate_job_unlock(9) page, like the actual kernel API manual energy, and honestly? it's a whole vibe. buckle up π
β¨ NAME β¨
xe_migrate_job_unlock β Unlock migrate job lock ππ
πΈ SYNOPSIS πΈ
void xe_migrate_job_unlock (struct xe_migrate *m , struct xe_exec_queue *q );
like, that's the whole signature, no cap. two args, void return, slay. β¨
π¦ ARGUMENTS π¦
mβ The migration context. that's your main character struct fr fr π«qβ Queue associated with the operation which requires a lock. it's giving "this queue needs the lock too bestie" π
π DESCRIPTION π
okay so here's the tea β β this function unlocks the migrate job lock if the queue is a migration queue. that's the whole first branch, iconic.
but if it's not a migration queue? then it asserts that the VM's dma-resv is held. why? because user queues have their own locking, iykyk π β so no migrate-job-lock-unlocking happens there, and the assert is just the vibe check confirming the dma-resv is held.
bestie please note: that assert is not decorative. if the VM's dma-resv isn't held on the non-migration-queue path, that's a problem. the manpage says "assert," and we do not argue with asserts. π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_migrate.c struct xe_migrate(9), plus the whole friend group π«Ά:
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_to_vram(9)xe_migrate_from_vram(9)xe_migrate_access_memory(9)xe_migrate_job_lock(9)xe_migrate_job_lock_assert(9)
and yes, xe_migrate_job_lock(9) is literally the sibling of this one β the lock/unlock duo ate and left no crumbs πβ¨
π cute lil sign-off: this page lives at source/version./drivers/gpu/drm/xeand it's dated October 2026, and the whole thing is filed underxe_migrate_job_unlock(9)β periodt. go unlock that lock bestie, you got this ππΈπ§
π¦ 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